Leakage at resource servers
17A counterfeit endpoint or compromised resource server can collect access tokens and attempt to use them elsewhere.
The honest API validates its audience and, when used, the sender proof.
Key idea: Protect tokens at rest and limit their replay.
Rules & examples
Protect tokens at rest and limit their replay.
- Resource servers MUST treat tokens as sensitive secrets and MUST NOT store or transfer them in plaintext.
- Sender-constrained tokens and audience restrictions SHOULD limit reuse at other servers.
- Secure resource configuration matters; a fully compromised server can still access its own resources.
The RFC distinguishes token phishing from server compromise. Standard system hardening is outside this document; the focus here is limiting OAuth token fallout.
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.