# Authsdkerror the jwt token issued in the future

**URL:** <https://community.auth0.com/t/authsdkerror-the-jwt-token-issued-in-the-future/70388>\
**Category:** Get Help\
**Created:** [September 28, 2021, 10:01am UTC](https://community.auth0.com/t/authsdkerror-the-jwt-token-issued-in-the-future/70388 "2021-09-28T10:01:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![chethanssec](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/chethanssec/32/31993_2.png) [@chethanssec](https://community.auth0.com/u/chethanssec)\
**Post date:** [September 28, 2021, 10:01am UTC](https://community.auth0.com/t/authsdkerror-the-jwt-token-issued-in-the-future/70388/1 "2021-09-28T10:01:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 29, 2021, 10:27pm UTC](https://community.auth0.com/t/authsdkerror-the-jwt-token-issued-in-the-future/70388/3 "2021-09-29T22:27:23Z")

</div>

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](https://community.auth0.com/t/id-token-was-issued-in-the-future-invalid-iat/61240/2)

---

<div class="post-metadata">

**Author:** ![chethanssec](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/chethanssec/32/31993_2.png) [@chethanssec](https://community.auth0.com/u/chethanssec)\
**Post date:** [September 30, 2021, 4:55am UTC](https://community.auth0.com/t/authsdkerror-the-jwt-token-issued-in-the-future/70388/4 "2021-09-30T04:55:54Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 30, 2021, 4:59pm UTC](https://community.auth0.com/t/authsdkerror-the-jwt-token-issued-in-the-future/70388/5 "2021-09-30T16:59:55Z")

</div>

Is it just a few users?

---

<div class="post-metadata">

**Author:** ![chethanssec](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/chethanssec/32/31993_2.png) [@chethanssec](https://community.auth0.com/u/chethanssec)\
**Post date:** [September 30, 2021, 5:00pm UTC](https://community.auth0.com/t/authsdkerror-the-jwt-token-issued-in-the-future/70388/6 "2021-09-30T17:00:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 30, 2021, 5:09pm UTC](https://community.auth0.com/t/authsdkerror-the-jwt-token-issued-in-the-future/70388/7 "2021-09-30T17:09:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![chethanssec](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/chethanssec/32/31993_2.png) [@chethanssec](https://community.auth0.com/u/chethanssec)\
**Post date:** [September 30, 2021, 5:10pm UTC](https://community.auth0.com/t/authsdkerror-the-jwt-token-issued-in-the-future/70388/8 "2021-09-30T17:10:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 30, 2021, 5:16pm UTC](https://community.auth0.com/t/authsdkerror-the-jwt-token-issued-in-the-future/70388/9 "2021-09-30T17:16:05Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 23, 2021, 4:59pm UTC](https://community.auth0.com/t/authsdkerror-the-jwt-token-issued-in-the-future/70388/10 "2021-12-23T16:59:05Z")

</div>

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