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

JWT Constraints checking time should have some customizable "wiggle room" #15

Open
Jonas-Sander opened this issue Nov 4, 2020 · 0 comments

Comments

@Jonas-Sander
Copy link
Collaborator

Because the server creating the JWT token and the server validating the JWT could have some slightly inaccurate clocks there should be some customizable "wiggle room" for all checks that have time in them.

Constrains that need some "wiggle room":

  • Expiration time "exp" must be in the future. The time is measured in seconds since the UNIX epoch.
  • Issued-at time "iat" must be in the past. The time is measured in seconds since the UNIX epoch.
  • Authentication time "auth_time" must be in the past.
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

No branches or pull requests

1 participant