Four roles, one delegation
01An app receives limited authority instead of the resource owner’s password.
The resource server enforces the token’s authorization.
Key idea: Separate the client from the resource owner.
Rules & examples
Separate the client from the resource owner.
- The owner controls resources; the client requests access; the authorization server issues tokens; the resource server checks them.
- The resource provider may operate the authorization server itself or use a trusted third-party provider. These are distinct roles, even when one company runs both.
- OAuth 2.0 is an authorization framework. Login identity assertions are a separate layer.
The original abstract flow separates requesting permission, obtaining a credential, and using it. The client is the application requesting access; it can run in a browser, on a phone, or on a backend.
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.