Skip to content

Is there a way to invalidate session cookie, when refresh token expires #8

Answered by RolandGuijt
skatanski asked this question in BFF

You must be logged in to vote

It looks I might have misunderstood earlier:

If you enable CoordinateClientLifetimesWithUserSession it's the lifetime of the session that is leading. When the session ends, the refresh token will expire. And whenever the refresh token is used it will slide the session and extend the lifetime of the session by default.
The feature isn't designed to be used the other way around. Ending the session when the refresh token expires would mean that users are logged out of the SSO session having consequences for all active client sessions.

Replies: 11 comments

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies
Answer selected by maartenba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
BFF
Labels
None yet
3 participants