Pcornel
Identity · Single Sign-On & Federation

Refresh Token

Cheat sheet · https://pcornel.dk/topic.php?topic=4502

Back to the Topic

Answer

A refresh token lets a client get new access tokens without the user logging in again. It is long-lived and powerful, so store it securely and use rotation and revocation.

Remember

  • Refresh tokens are long-lived and powerful.
  • Use rotation and revocation.
  • Store securely.

First checks

  • Refresh token rotation setting — enabled
  • Revocation endpoint — working
  • Storage of refresh tokens — protected

Verify in this order

refresh token → token endpoint → new tokens (rotated)

Where it usually breaks

First mismatch in identity lifecycle → authenticator/credential → IdP/federation/session → authorization policy → target resource → audit trail; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4502

Confirmation

Confirm action

Continue?