Skip to content
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

Add refresh token automatic reuse detection #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Vasyl-Kl
Copy link

@Vasyl-Kl Vasyl-Kl commented Nov 11, 2022

t's critical for the most recently-issued refresh token to get immediately invalidated when a previously-used refresh token is sent to the authorization server. This prevents any refresh tokens in the same token family from being used to get new access tokens.

Since the authorization server has no way of knowing if the legitimate user is holding the most current refresh token, it invalidates the whole token family just to be safe.

@Vasyl-Kl Vasyl-Kl marked this pull request as draft November 11, 2022 14:16
@Vasyl-Kl Vasyl-Kl marked this pull request as ready for review November 18, 2022 11:11
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.

None yet

2 participants