uaa-behind-zuul-sample icon indicating copy to clipboard operation
uaa-behind-zuul-sample copied to clipboard

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

Open stereo720712 opened this issue 6 years ago • 1 comments

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 avatar Jun 20 '18 08:06 stereo720712

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

stereo720712 avatar Jun 21 '18 09:06 stereo720712