-
Notifications
You must be signed in to change notification settings - Fork 273
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
Disable JWT Lifetime Check #879
Comments
@jpspringall Thanks for the suggestion. I do think this would be a good option, to skip the time-based check (which as you point out can be easily gamed) but continue with the signature check which is much harder to fake. I have created a new id for tracking/prioritizing this work: OKTA-415796 The relevant code seems to be here on the issue, so there is no need to open a PR yourself unless you'd like to add tests/documentation as well :) |
More than happy to do the work as means it might into a release sooner :-) Cheers J |
Hi @aarongranick-okta, I do have a question: I did a search for 'ignoreSignature', and got results in the following files: lib\options.ts: but maxClockSkew is only found in the following files: From a brief look, it looks like ignoreSignature is also used in the new idx functionality, redirections and the transaction manager, so may not be applicable to maxClockSkew, just confirming that something hasn't been missed? As the foot print of maxClockSkew is far smaller, to avoid extra work I'm introducing the new option wherever maxClockSkew is used. On a completely different note, what formatting tool do you use? Cheers J |
Released in v5.5.0. |
Hi,
We are facing an issue where some our users have the local times set massively wrong (Some are years out)
This means that they face a JWT lifetime validity error.
We could use a massive clock skew,
but as the JWT lifetime validation doesn't really add anything from a security perspective,
as you can get round it by changing the local time,
I wondered what the appetite was introducing an option to disable it,
similiar to the ignoreSignature option.
So in file:
lib/oidc/util/validateClaims.ts
Happy to do the work, but wanted to make sure it would be accepted first :-)
Cheers
James
The text was updated successfully, but these errors were encountered: