Skip to content

store rotated refresh token#109

Open
folke-nordunet wants to merge 1 commit into
SUNET:mainfrom
folke-nordunet:fix_rotating_refresh_token
Open

store rotated refresh token#109
folke-nordunet wants to merge 1 commit into
SUNET:mainfrom
folke-nordunet:fix_rotating_refresh_token

Conversation

@folke-nordunet

Copy link
Copy Markdown
Contributor

Support refresh token rotation during OIDC token refresh

Return refresh_token from the refresh endpoint when supplied by the OIDC
provider, and update the stored user refresh token on the client side.
This keeps the app compatible with providers that rotate refresh tokens
and invalidate the previous token after use.

This resolves an issue where users were getting logged out because they would use an old refresh token.

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

Successfully merging this pull request may close these issues.

1 participant