You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I produce the token as you did, but just print the output so i can take then token and put it inside the injector.
When I inject the token to the validator, i always get TokenExpiredError: jwt expired even though the token is freshly created.
@ruralcoder I hit the same issue. It seems the (embedded) documentation wrongly states that the expiration value is second-based. It's actually in milliseconds.
I took your example and changed it a tiny bit.
I produce the token as you did, but just print the output so i can take then token and put it inside the injector.
When I inject the token to the validator, i always get
TokenExpiredError: jwt expired
even though the token is freshly created.The text was updated successfully, but these errors were encountered: