Client credentials and extension grants
07A client can obtain access on its own behalf, without an interactive resource-owner redirect.
The API distinguishes the application principal from a user principal.
Key idea: Machine authority is different from user delegation.
Rules & examples
Machine authority is different from user delegation.
- The client credentials grant MUST be used only by confidential clients.
- The client authenticates at the token endpoint; a refresh token SHOULD NOT be included in this response.
- § 4.5 defines an extension point for additional authorization grants.
A token representing an application should not accidentally be treated as a human user’s authority.
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 addresses subject confusion: client-only and user-involved tokens must not become indistinguishable through colliding identifiers.
Read the updated RFC section ↗