Hey guys, I am getting the error: `jwt issued in f...
# support-questions
r
Hey guys, I am getting the error:
jwt issued in future
. Now I have recently moved to another timezone, so that might be it. It only happens locally on my Hasura instance. Hence, I wondered, is there some kind of
allowed_skew
property that Supertokens has? Thanks!
r
Hey! There isn’t such a property. But maybe check the system time and if there is any clock drift that’s happened
r
Thanks for the reply. For future reference, adding
allowed_skew
to the JWT issuer fixes it. such as this in my
docker-compose.yml
for Hasura:
Copy code
HASURA_GRAPHQL_JWT_SECRET: '{"jwk_url":"JWT_ISSUER_URL/api/auth/jwt/jwks.json", "allowed_skew": 86400}'
r
Oh right! Thanks.
Do you mind opening an issue about this on our GitHub and closing it with the solution? That way it’s more easily searchable by others
r
Haha sure. Isn't it possible to create some bot that automatically does this? It'll save you guys hours in the future
r
We already have -> community.supertokens.com
But the SEO for that is probably waaaay lesser than GitHub issue
And this problem has come up before as well for some other people
r
true
I think it could get quite messy for you guys if we open up an issue for all. Or will you close it right away?
r
Close it when there is a solution. In this case, you already have the solution, so closing it
18 Views