-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: simplify token reuse algorithm (#1072)
## What kind of change does this PR introduce? * We decided that the check for whether a revoked refresh token is the parent of the most recently issued valid refresh token only improves the reuse detection marginally at the expense of leading to more random logout issues when an old refresh token is accidentally used twice. * Also, logging the revoked refresh token's ID so that it's easier to track if the client is sending very stale tokens --------- Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
- Loading branch information
1 parent
969691f
commit 9ee3ab6
Showing
2 changed files
with
28 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters