spring-cloud-gateway icon indicating copy to clipboard operation
spring-cloud-gateway copied to clipboard

Refresh Token with Spring Cloud Gateway

Open johnm96 opened this issue 3 years ago • 0 comments

Hi, I'm working on a project in which I have a gateway which connects to keycloak in order to authenticate requests. Everything works as expected but each time access token expires, it doesn't get renewed automatically. I have checked keycloak properties and there are no problem with it. It returns a refresh token as well. I've read that this kind of fix is closed (https://github.com/spring-attic/spring-cloud-security/issues/175) but I still can't make it work. I've declared a bean of type DefaultReactiveOAuth2AuthorizedClientManager but nothing changed. Version of spring cloud used 2021.0.3

johnm96 avatar Aug 25 '22 12:08 johnm96