Prevent token replay
04A copied credential should not automatically grant a second caller the same access.
The thief does not have the key needed to demonstrate the required proof.
Key idea: Make stolen tokens harder to reuse.
Rules & examples
Make stolen tokens harder to reuse.
- Authorization and resource servers SHOULD sender-constrain access tokens, using mechanisms such as mTLS or DPoP.
- Refresh tokens for public clients MUST be sender-constrained or rotated.
- Confidential-client refresh tokens remain bound to the client they were issued to.
Sender constraints reduce replay; they cannot save a client whose token and proof key are both compromised. DPoP and mTLS use different proof mechanisms.
Sources
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.
The BCP recommends sender-constraining access tokens. Public-client refresh tokens must be sender-constrained or rotated to detect replay.
Read the updated RFC section ↗