Accounting for clock skew for nbf claim when issueing JWT tokens #189
Unanswered
rasander
asked this question in
IdentityServer
Replies: 1 comment
-
Unfortunately, there are no settings available to change the nbf/iat claims for generated tokens. You could work around this problem by implementing a custom token creation service by overriding the To do this, you'd only need to override the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
I'm facing issues because there is a small system time difference in our identityserver application and some of our partner APIs.
The partners JWT validation does not handle clock skew. And in this case they sometimes fails the validation because their system time is lower than nbf (or iat) claims.
Is there a way to centrally compensate for this when issueing access_tokens? Eg always setting nbf/iat claims to 5 sec less than current system time.
Beta Was this translation helpful? Give feedback.
All reactions