Visual RFC.
ALL RFCs / RFC 9700
Read the RFC ↗
RFC 9700 / ATTACKS & DEFENSES

Refresh token protection

22

Refresh tokens can mint future access. Rotation makes reuse visible; sender constraints make possession alone insufficient.

RFC 9700 · § 4.14DEFENSE
4 / 4
04
Revoke the active refresh token.

Stop further refreshes and require a new authorization grant.

Refresh token protectionRefresh tokens can mint future access. Rotation makes reuse visible; sender constraints make possession alone insufficient. Current state: Revoke the active refresh token..Refresh token protectionCallerAuthorization serverrefresh token R2Further refresh refused · obtain a fresh grantR1invalidatedR2revokedfamilyExisting access-token lifetime is a separate policy.

Key idea: Bind or rotate. Detect and stop reuse.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Servers MUST risk-assess refresh-token issuance and bind issued tokens to consented scopes and resource servers.
  • For public clients, servers MUST use sender-constrained refresh tokens or rotation to detect replay.
  • With rotation, invalidate the previous token and retain the relationship. Reuse triggers revocation of the active refresh token. Tokens SHOULD expire after inactivity.

Rotation does not identify the thief: either the client or attacker can present the old token first. Detection revokes the active refresh token and requires a fresh grant. Security events such as logout or password changes MAY also trigger revocation.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A key is different from permission.

An app, a person, and a server have different roles. Follow who asks, who grants permission, and who checks the credential. A key in the drawing is an analogy, not a literal protocol field.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

What changed
RFC 6749 § 6RFC 9700 § 4.14

Public-client refresh tokens need replay protection. Rotation invalidates the previous token, retains its relationship, and revokes the active refresh token when reuse is detected.

Read the updated RFC section ↗

All chapters in RFC 9700

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗