Is there a way to set the time zone for the hasura server? #7579
-
Hasura is running on a server where the time zone is in UTC. The JWT server is generating JWT tokens using the local time zone as issued at and expires at. As a result when an attempt is made the error "Could not verify JWT: JWTIssuedAtFuture" gets generated. Is there a way to tell Hasura to set it's internal clock to a particular time zone regardless of the server time? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
If your jwt is standard compliant, it will be using a numeric value for the iat (issued at) claim. |
Beta Was this translation helpful? Give feedback.
If your jwt is standard compliant, it will be using a numeric value for the iat (issued at) claim.
This numeric value should be a unix epoch and thus not affected by timezones. Check if your JWT issuing server's internal time is correct.