-
Notifications
You must be signed in to change notification settings - Fork 361
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
HelpWanted: handling clock skew for nbf, exp and iat #48
Comments
Unfortunately, not (yet). I was planning on re-designing the validation functions in a future release, similar to what was proposed by the original author in the original (non-finished) v4 branch. I created an issue to track this here: #16. I did not have enough dedicated time to do so. I would propose closing this issue as a duplicate, feel free to add any additional comments to #16 |
What you can though in the mean time, you can override the Line 13 in 4bbdd8a
|
Thanks for the inputs. I would give this a try. |
Closed as duplicate of #16 |
I have a k8s application where issuer pod creates JWT token and the client pod parses it for validity. In some situations, the time on the worker nodes are skewed by few seconds (~20sec). So if the issuer pod and the client pod runs on separate worker nodes, the validity of the JWT token fails (ValidationErrorIssuedAt).
Is there a override option to handle clock skew? The RFC specifies that the JWT implementation may handle clock skew for a few minutes https://datatracker.ietf.org/doc/html/rfc7519#page-10
The text was updated successfully, but these errors were encountered: