spring-cloud-gateway
spring-cloud-gateway copied to clipboard
Refresh Token with Spring Cloud Gateway
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