Skip to content

Refresh Token with Spring Cloud Gateway #2714

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

Closed
johnm96 opened this issue Aug 25, 2022 · 6 comments
Closed

Refresh Token with Spring Cloud Gateway #2714

johnm96 opened this issue Aug 25, 2022 · 6 comments

Comments

@johnm96
Copy link

johnm96 commented Aug 25, 2022

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 (spring-attic/spring-cloud-security#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

@mikhail-putilov
Copy link

Hey, did you find an issue?

if you enable debug: true in application.yml and run it once again, what output does it say about related beans?

@maradanasai
Copy link

Any progress on this?

@johnm96
Copy link
Author

johnm96 commented Jan 6, 2023

I will check it in this week end. I was busy these days

@spencergibb
Copy link
Member

If you can replicate with Spring Boot 3.2 and Spring Cloud 2023 let me know. Sorry for the late reply.

@spring-cloud-issues
Copy link

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

@spring-cloud-issues
Copy link

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

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

5 participants