Tokens are signed with a key that nobody rotates.
Keys that rotate on their own.
Auth signs tokens with RS256 or ES256 keys and publishes the public half in a JWKS. A new key is published a day before it starts signing, so an application that caches the key set has time to fetch it.
- A new key published 24 hours before it signs
- A retired key stays published until its tokens expire
- Your API checks signature, issuer and audience without calling Auth