Authsdkerror the jwt token issued in the future

How to resolve JWT token issued n the future even though users are in wrong time ?

Hi @chethanssec,

Welcome to the Auth0 Community!

You can add some leeway to the token. Check out this topic:

https://community.auth0.com/t/id-token-was-issued-in-the-future-invalid-iat/61240/2

Hi @dan.woda , It says leeway value no more than a minute or two at maximum as per the document. Our users time is deviated by 5 to 10 minutes. What can we do for that ?

Is it just a few users?

@dan.woda Yes. It’s just few users

They will need to sync the clock on their machines. There is not much we can do outside of using leeway in the tokens.

@dan.woda I need to cross verify it again. How many minutes leeway supports ?

I don’t know the maximum, but I wouldn’t recommend setting more than a minute or two. This is a client issue and should be resolved on the client.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.