Relative Content

Tag Archive for angularspring-cloud-gatewayspring-authorization-serveroauth2client

Error with id_token_hint with Client-Initiated Logout in my oauth2 Client after I refresh my access_token

Let me explain my use case.
I have a problem with my BFF(Backend for Frontend) implementation which is mainly in the logout, as my 10 minutes duration access_token is refreshed before it expires by a call I make from angular. I have an api called /authenticate that makes a call to the authorization-server and this makes the token refresh but I have the problem that after doing this and I want to logout I get an error that the id_token_hint is wrong, this is solved if I go back in the page to return to the client because it makes a reload and redo the authorization flow and just in this case the logout works but not when I do the refresh with this: