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

feat: allow to configure JWT leeway in open_id_connect and increase default to 1 second #1031

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jirutka
Copy link

@jirutka jirutka commented Mar 5, 2025

Proposed changes

The default value defined in the jwt module is 0 seconds, so when the time is off just by a few milliseconds, the token validation fails with error "The token is not yet valid (iat)".

Checklist

Sorry, something went wrong.

jirutka added 2 commits March 5, 2025 15:41
The default value defined in the jwt module is 0.
The default value defined in the jwt module is 0 seconds, so when the
time is off just by a few milliseconds, the token validation fails with
error "The token is not yet valid (iat)".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant