uaa-behind-zuul-sample
uaa-behind-zuul-sample copied to clipboard
Error when get refresh token .(when token is expired)
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.
i found the problem is because the LoadBalancerInterceptor not work when a refresh token request invoke, interceptor become null, why ?