Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when get refresh token .(when token is expired) #36

Open
stereo720712 opened this issue Jun 20, 2018 · 1 comment
Open

Error when get refresh token .(when token is expired) #36

stereo720712 opened this issue Jun 20, 2018 · 1 comment

Comments

@stereo720712
Copy link

Dear Sir:
I am trying to practice spring cloud and oauth2 by your code.
And I found a problem :
When token is expired and go to refresh token, it failed.
After trace code, i found the final http request is still htttp://service-name:port?parameter.
So it's get faild at :
OAuth2TokenRelayFilter.getAccessToken().
Can you help me to find the reason why the service name not change to real http address to
execute
Very thank you and appreciate.

@stereo720712
Copy link
Author

i found the problem is because the LoadBalancerInterceptor not work when a refresh token request invoke, interceptor become null, why ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant