Skip to content

Conversation

@rmartinc
Copy link
Contributor

Closes #43505

The PR just adds the clockSkew for the time stored in the single-use cache. If not, the token can be re-used, because its lifespan with the clockSkew can be longer than the time stored in the single-use cache. Test added.

Copy link
Contributor

@graziang graziang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rmartinc thanks!

@mposolda mposolda self-assigned this Oct 22, 2025
Copy link
Contributor

@mposolda mposolda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rmartinc @graziang Thanks for the PR and review! I hope to merge once tests are successful (Will re-run failing tests as the test failures probably not related to this PR).

@mposolda mposolda merged commit 62f68b2 into keycloak:main Oct 22, 2025
86 of 88 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DPoP proof replay check doesn't consider clock skew

3 participants