spring-security icon indicating copy to clipboard operation
spring-security copied to clipboard

redirectUrl dont work

Open bentenzheng opened this issue 8 years ago • 1 comments

authorizedGrantTypes use authorization_code pattern,and save session in redis, when user login success,redirectUrl dont work. (redirectUrl get from user) Can you help me with my doubts? http://localhost:8080/oauth/authorize? the paramters: client_id=apaas&response_type=code&redirect_uri=http://139.199.65.149:8081/

bentenzheng avatar Oct 25 '18 11:10 bentenzheng

@bentenzheng Have you looked at these samples:

My guess is that you haven't setup the correct redirect_uri with either the client at the Provider or the ClientRegistration.

The instructions in both of those samples guide you through setting up the client and redirect_uri.

I'm going to close this issue but we can re-open if you're still having issues after going over those samples and replicating the configuration in your app.

For future reference, a minimal sample that re-produces the issues would be very helpful in troubleshooting. Otherwise, it's pretty difficult with minimal details provided.

jgrandja avatar Oct 25 '18 12:10 jgrandja