logto-io / js

🤓 Logto JS SDKs.
https://docs.logto.io/quick-starts/
MIT License
61 stars 40 forks source link

refactor(js): increase ID token issued-at-time tolerance (iat) to 5 mins #583

Closed charIeszhao closed 10 months ago

charIeszhao commented 10 months ago

Summary

Increase ID token issued-at-time tolerance (iat claim) to 5 minutes. This change helps mitigate the potential "Invalid issued at time in the ID token" failure when the client system time is not synced with the world time.

Testing

N/A

Checklist