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

fix(jans-auth-server): fix race condition during refresh token removal #9074

Closed
yuriyz opened this issue Jul 31, 2024 · 0 comments · Fixed by #9139
Closed

fix(jans-auth-server): fix race condition during refresh token removal #9074

yuriyz opened this issue Jul 31, 2024 · 0 comments · Fixed by #9139
Assignees
Labels
comp-jans-auth-server Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality

Comments

@yuriyz
Copy link
Contributor

yuriyz commented Jul 31, 2024

Describe the bug
From oxauth GluuFederation/oxAuth#1909

refresh_token can be used only one time. However if send concurrent calls AS allows re-using it multiple times.

Expected Behaviour: The refresh token cannot be reused

Actual behavior: During the concurrent call we have observed that we are able to reuse the same refresh token multiple times.

Refresh token should only be used once.

Support: 11874

@yuriyz yuriyz self-assigned this Jul 31, 2024
@mo-auto mo-auto added comp-jans-auth-server Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality labels Jul 31, 2024
yuriyz added a commit that referenced this issue Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-jans-auth-server Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants