OAuth 2.0
An authorization protocol formally standardized by the IETF in 2012 via RFC 6749. Its core design principle separates authorization from authentication, splitting the token system into short-lived access tokens and long-lived refresh tokens. It is the prevailing standard for modern web identity authentication.
Core Facts
OAuth 2.0 is defined by the IETF in RFC 6749.
OAuth 2.0 only addresses authorization, while OIDC adds a standardized identity authentication layer on top of it, introducing an ID Token—typically in JWT format—to carry user identity information.
MCP's permission model draws on the OAuth 2.0 authorization code flow, requiring explicit user authorization for tool invocation.
Timeline (last 90 days)
Many internal tools use Gmail as an SMTP relay via Google account "app-specific passwords" or OAuth 2.0 authentication.
An app-specific password is a static credential that bypasses two-step verification and suits legacy systems that do not support OAuth; OAuth 2.0 is more secure but requires periodic token refresh.
In OAuth 2.0's delegated authorization model, a token both identifies the authorization scope and implicitly encodes the delegation relationship.
In Agent scenarios, the OAuth client usually refers to a statically registered application, whereas an Agent may dynamically generate and combine tool calls, making its behavioral boundaries difficult to fully express with static scopes.
Even if short-lived tokens (such as OAuth 2.0 access tokens and AWS STS temporary credentials) are stolen, the time window in which they can be exploited is very limited.
A safer credential management practice is to let applications not hold backend keys directly, but instead access resources through a platform proxy using short-lived tokens (such as OAuth 2.0 access tokens or short-lived credentials based on service identity).
Platforms such as Google already support the OAuth 2.0 incremental authorization extension, which requires the authorization server to re-obtain user consent each time a new scope is requested, and allows the response to return all currently granted scopes.
Key points for implementing incremental authorization include: the client needs to record the scopes already granted to avoid duplicate requests; the authorization server needs to support the include_granted_scopes parameter to merge old and new authorizations; and when a user refuses a newly added scope, the app should degrade gracefully rather than crash outright.
Traditional OAuth flows usually request all required scopes at once during initial authorization, whereas incremental authorization allows an app, after initial authorization, to request additional scopes when the user triggers a specific feature.
OAuth 2.0's Incremental Authorization is the corresponding practice of the "request on demand" pattern at the technical standard level.
40 more timeline events
All Facts (20)
OAuth 2.0 is defined by the IETF in RFC 6749.
90%VerifiedOAuth 2.0 only addresses authorization, while OIDC adds a standardized identity authentication layer on top of it, introducing an ID Token—typically in JWT format—to carry user identity information.
85%VerifiedMCP's permission model draws on the OAuth 2.0 authorization code flow, requiring explicit user authorization for tool invocation.
80%VerifiedIdentity provider (IdP) registration is usually based on the OAuth 2.0 or OpenID Connect protocol, with AWS as the service provider trusting these identity sources.
75%VerifiedOpenID Connect is an identity layer built on top of OAuth 2.0 that introduces an ID Token, typically in JWT format, for proving user identity to the client.
75%VerifiedOAuth 2.0 Token Exchange (RFC 8693) defines a token exchange mechanism that allows a service to exchange a token it already holds for a new token applicable to downstream services.
75%VerifiedOAuth Token Exchange is defined in RFC 8693 and is being explored by the industry to address the Agent delegation chain problem.
75%VerifiedOAuth is one of the most common authentication mechanisms in the MCP ecosystem; after a user completes identity verification on the authorization server, they receive a time-limited access token and a refreshable refresh token.
70%VerifiedThe OAuth 2.0 protocol is the most widely known implementation of scoped access, with authorization pages explicitly listing the permission scopes requested by an application.
70%VerifiedCommon SSO implementation protocols include SAML 2.0, OAuth 2.0, and OpenID Connect (OIDC).
70%VerifiedThe core roles of OAuth 2.0 include the resource owner (user), the client, the authorization server, and the resource server.
65%VerifiedConnecting n8n to Gmail typically relies on Google's OAuth 2.0 authorization mechanism, which allows third-party applications to access Google account resources in a restricted manner after user authorization without obtaining the account password.
65%VerifiedThe OAuth protocol was originally designed to solve the problem of third-party applications accessing resources on behalf of users, with the core mechanism being users authorizing an authorization server in exchange for an access token.
65%VerifiedThe Token Exchange specification in the OAuth 2.0 framework (RFC 8693) allows an authenticated principal to delegate a portion of its permissions to another entity while retaining authorization chain provenance information.
65%VerifiedThe OAuth pattern authenticates users by introducing an identity provider, and after the tool authenticates, it issues an access token for the agent to use.
65%VerifiedOAuth 2.0 is an authorization framework that implements identity authentication in conjunction with the OIDC extension.
65%VerifiedOIDC uses JSON-formatted ID Tokens (JWT) to convey identity information, which are smaller in size and faster to parse.
65%VerifiedMicrosoft Graph API is Microsoft's unified RESTful API interface, covering the full suite of Microsoft 365 services including mail, calendar, and files.
65%VerifiedOAuth 2.0 is currently the most commonly used authorization protocol among SaaS services, enabling third-party applications to obtain access to restricted resources without exposing user passwords through multiple modes such as the authorization code flow and client credentials flow.
65%VerifiedOAuth 2.0专门处理授权委托,OpenID Connect在OAuth 2.0之上叠加身份验证层,SAML多用于企业联邦身份场景
65%