I have a react app that is using the auth0 spa for user login.
Some of my users are receiving an error that prevents them from logging in.
Uncaught (in promise) Error: Issued At (iat) claim error in the ID token; current time is before issued at time
The time difference is about 5 seconds.
I believe the users are on a network that is using a proxy server, which might be causing the time difference.
Does the validation happen on the local machine? If so, there might be a time difference from the proxy server and the client machine.
Is there a way to allow some ‘room’ between the times to allow for this error? For example: a 10 second allowance between the times?
edit: I can see there is a leeway option to allow for slight time differences but the error message I have doesn’t match with the error messages I have found in auth0-spa-js.