OAuth 2.0
Abbreviation: OAuth
Pronunciation: OH-auth two point OH
Also known as: OAuth 2, OAuth Authorization Framework, OAuth
Definition
OAuth 2.0 is an authorization framework that lets a client obtain limited access to an HTTP service without receiving the resource owner’s password. OAuth 2.0 delegates authorization; it is not by itself an identity protocol, although OpenID Connect can add authentication on top of it.
Overview
Meaning and scope
OAuth 2.0 is an authorization framework that lets a client obtain limited access to an HTTP service without receiving the resource owner’s password. OAuth 2.0 delegates authorization; it is not by itself an identity protocol, although OpenID Connect can add authentication on top of it.
Mechanism and operation
The OAuth 2.0 recovery process should restore access without bypassing the original identity and authorization controls. A production implementation should select a suitable grant, use exact redirect URI matching, protect tokens, apply PKCE where applicable, validate issuer and audience, and follow the current OAuth security best practices. Evidence for OAuth 2.0 should record the credential or certificate identifier and decision result without retaining the secret itself. Useful measures include authorization success rate, token error rate, rejected redirect attempts, scope usage, token lifetime, refresh failures, and suspicious replay indicators. Monitoring for OAuth 2.0 should track failed use, unusual scope or audience, expiry, rotation status, and attempts involving revoked credentials.
Practical payment example
A business application asks for limited account-data access through an authorization flow; the client uses a registered redirect and protected tokens instead of receiving the user’s password.
Operational checks
The OAuth 2.0 boundary should identify the principal, credential or key, permitted audience, scope, lifetime, and revocation path. For OAuth 2.0, secrets and tokens should remain outside browser bundles, URLs, ordinary logs, and unprotected configuration. Changes to OAuth 2.0 should preserve overlap or recovery where required while preventing old credentials from remaining active indefinitely.
Distinctions and limits
Key risks include token theft, redirect manipulation, authorization-code interception, insecure client authentication, excessive scopes, replay, and confusion between clients or authorization servers.
Related reading
Related definitions: Authorization Endpoint, Client ID.
Example
A business application asks for limited account-data access through an authorization flow; the client uses a registered redirect and protected tokens instead of receiving the user’s password.
Comparison
OAuth 2.0 delegates authorization; it is not by itself an identity protocol, although OpenID Connect can add authentication on top of it. Key risks include token theft, redirect manipulation, authorization-code interception, insecure client authentication, excessive scopes, replay, and confusion between clients or authorization servers.
Key Takeaway
Select a suitable grant, use exact redirect URI matching, protect tokens, apply PKCE where applicable, validate issuer and audience, and follow the current OAuth security best practices.
Sources
- The OAuth 2.0 Authorization Framework — IETF (2026-08-03)
- Best Current Practice for OAuth 2.0 Security — IETF (2026-08-03)
- The OAuth 2.0 Authorization Framework: Bearer Token Usage — IETF (2026-08-03)