The OAuth 2.1 Authorization Framework
draft-ietf-oauth-v2-1
By Boston Identity · Explained · 6 min read
The short answer
OAuth 2.1 is an IETF draft that folds OAuth 2.0 and its later security fixes into one document. It makes the code-exchange proof called PKCE required, drops the implicit and password grants, and demands exact redirect matching.
- What it is
- A protocol
- Defined by
- IETF OAuth WG draft (-17)
- Who it's for
- Teams running or buying OAuth servers and apps
- In our briefings
- 100by month, last 12
Where it stands
WG adopted since Jul 30, 2020.
Checked Nov 29, 2026.
What is The OAuth 2.1 Authorization Framework?
OAuth 2.1 is a draft from the Internet Engineering Task Force (IETF) that would replace the OAuth 2.0 framework in RFC 6749 and its bearer-token rules in RFC 6750.S1 OAuth, the open standard for delegated access, lets an application get limited access to an API on a user's behalf, or on its own behalf.S1 The application never holds the user's password. It gets an access token instead: a credential with a set scope and lifetime, issued by an authorization server with the user's approval.§1
The draft consolidates the documents that updated OAuth 2.0 after 2012, among them the native-app guide and the OAuth Security Best Current Practice (RFC 9700), and it removes the features RFC 9700 found insecure.§1 Proof Key for Code Exchange (PKCE), an add-on in OAuth 2.0, becomes required. The implicit and password grants are gone, and redirect addresses must match exactly.§1.8 Revision -17 was published on 31 October 2026; it is a draft, not yet a standard.S1 An authorization server can serve OAuth 2.0 and 2.1 clients side by side, with each client's rules set in its configuration, so clients can move one at a time.§1.8
Not a sign-in protocol. OAuth 2.1 grants access but does not define how to authenticate a user; OpenID Connect builds that on top of it.§1
How does The OAuth 2.1 Authorization Framework work?
Four roles take part: the resource owner (usually the user), the client (the application), the authorization server that issues tokens, and the resource server that hosts the API.§1.1 The walk-through follows the authorization code grant, where the user approves access, and then the refresh token grant.§4.1, §4.3
Figure steps
- The client sends the user to the authorization server
- The authorization server checks the request and asks the user
- The authorization server sends back a short-lived code
- The client trades the code for tokens
- The client calls the API with the access token
- The client refreshes the access token
The client sends the user's browser to the authorization server, trades the code it gets back for tokens, calls the API with the access token, and later swaps a refresh token for a new one.
Drawn from the OAuth 2.1 draft, Figures 2 and 3
Swipe for the full figure →
The client sends the user to the authorization server
The client first makes a random secret for this one request, the code verifier, and derives a code challenge from it with SHA-256, the S256 method.§4.1.1 It then sends the user's browser to the authorization endpoint with its client identifier, the code challenge, optionally a scope and a state value, and a redirect URI, the address to come back to.§4.1 The redirect URI may be left out when the client has registered only one.§4.1.1
The authorization server checks the request and asks the user
The authorization server must compare the redirect URI with the registered ones character by character, with no normalization; only loopback addresses used by native apps may vary the port.§4.1.1 It must reject a request from a public client that carries no code challenge.§4.1.2.1 If the request is valid, it authenticates the user and gets a decision, by asking the user or by other means.§4.1.1
The authorization server sends back a short-lived code
If the user approves, the authorization server redirects the browser to the client with an authorization code, the client's state value if it sent one, and the server's issuer identifier, iss.§4.1.2 The code must expire shortly after it is issued, and the draft recommends 10 minutes at most.§4.1.2 The code is bound to the client identifier, the code challenge and the redirect URI.§4.1.2
The client trades the code for tokens
The client sends the code and the original code verifier to the token endpoint, and authenticates itself if it can.§4.1 The authorization server computes the challenge from the verifier and compares it with the one it stored.§4.1.3 If all checks pass, it returns an access token and, optionally, a refresh token.§4.1 It must return an access token only once for a given code.§4.1.3
The client calls the API with the access token
The client should send the token in the Authorization header with the Bearer scheme, and it must never put the token in a URI query parameter.§5.1 The resource server must check that the token has not expired, is authorized for the requested resource and carries the right scope.§5.2 The draft leaves the validation method open; token introspection and signed JSON Web Tokens are its examples.§5
The client refreshes the access token
When the access token has expired, the client sends its refresh token to the authorization server and gets a new access token; refresh tokens never go to the resource server.§1.3.2 Public clients hold no credentials, so for them the authorization server must detect a replayed refresh token. It either binds the token cryptographically to the client or rotates it on every refresh.S1
Why does The OAuth 2.1 Authorization Framework matter now?
The Model Context Protocol (MCP) built its June 2025 authorization rules on OAuth 2.1. Authorization is optional in MCP, and HTTP transports should follow these rules while local STDIO ones should not.1 Where the rules apply, an MCP server is an OAuth 2.1 resource server, and an MCP client is an OAuth 2.1 client acting for a resource owner.1 MCP implementations must follow OAuth 2.1's security considerations, and the MCP page spells out PKCE for every client, exact redirect-URI matching and refresh-token rotation for public clients.2 Short-lived access tokens are only a SHOULD there, and its standards list still labels OAuth 2.1 an IETF draft, at revision -13.2 We read this as a draft already doing a standard's work: teams that add authorization to an MCP server over HTTP take on its rules before the IETF has finished them.
Two of the draft's authors, Parecki of Okta and Hardt of Hellō, describe its limits.S1 In May 2023 Parecki called OAuth 2.1 an unfinished consolidation of OAuth 2.0 best practice, with deprecated features removed and no new behavior.3 He said an implementation would not need updating only if it already followed that guidance.3 Hardt says OAuth 2.1 adds no new features and does not make proof of possession a required piece.4 He traces a wider problem to OAuth being a framework rather than a protocol, with no conformance on what a client must do to work with a given server.4
Where does it fit?
| Compared with | How The OAuth 2.1 Authorization Framework differs |
|---|---|
| OAuth 2.0 for Native Apps (RFC 8252) | RFC 8252, OAuth 2.0 for Native Apps, is one of the documents that updated OAuth 2.0, and OAuth 2.1 consolidates it.§1 The 2.1 text keeps one native-app exception: loopback redirect URIs may vary the port.§4.1.1 |
| RFC 6750 (OAuth 2.0 Bearer Token Usage) | RFC 6750 defines how OAuth 2.0 bearer tokens travel in HTTP requests. OAuth 2.1 would obsolete it and carry those rules itself, including a ban on sending a token in a URI query parameter.§5.1 |
What goes wrong?
- A bearer token works for whoever holds it, with no proof of a cryptographic key.§1.4.2 The draft says servers should sender-constrain tokens with Demonstrating Proof of Possession (DPoP) or mutual TLS (Transport Layer Security), but it does not require it.§1.4.3
- An access token does not prove who the user is. Some apps look up a user identifier with the token and treat that as a login; the draft says this practice is not part of the OAuth standard or its security considerations.§1
- A client that talks to two or more authorization servers must prevent mix-up attacks. It must process a redirect response only from the issuer it sent the request to.§2.3.4
- Refresh token rotation has a failure mode. If a refresh response is lost to a network error, the client is left with an invalidated token and must start a new authorization flow.§4.3.3
- Much is left undefined, including client registration and endpoint discovery.§1.7 The draft also defines no way for a client or server to signal whether it implements 2.0 or 2.1.§1.8
What should a security leader ask?
- 01
Which of our applications still use the implicit or password grants that OAuth 2.1 drops?
- 02
Do our authorization servers reject every redirect URI that is not an exact string match for a registered one?
- 03
Which of our APIs accept plain bearer tokens without DPoP or mutual TLS, and what could someone do with a leaked one?
- 04
Does any application treat an OAuth access token as proof of who the user is, instead of using OpenID Connect?
- 05
For public clients, do our authorization servers rotate or sender-constrain refresh tokens?
Sources
- S1
The OAuth 2.1 Authorization Framework (draft-ietf-oauth-v2-1-17)IETF OAuth Working Group · Internet-Draft, revision -17, 31 October 2026; intended Standards Track
›Evidence: 4 claims from 3 briefings
- 1BI-FIND-2025-0562 · MCP's June 2025 authorization spec: a server accepts only tokens issued for it and passes none upstreamThe revision maps MCP onto plain OAuth roles. The MCP server is an OAuth 2.1 resource server, the MCP client an OAuth 2.1 client acting "on behalf of a resource owner", and the authorization server's workings are "beyond the scope of this specification". Discovery is mandatory: a server MUST publish Protected Resource Metadata (RFC 9728) naming at least one authorization server and MUST use the WWW-Authenticate header to point to it when it returns 401; the authorization server MUST publish RFC 8414 metadata; and where several are listed, the client chooses. All of it applies only when authorization is used, which is OPTIONAL: HTTP transports SHOULD conform, and STDIO implementations SHOULD NOT and take credentials from the environment instead. The page never uses the word delegation, and where it says "agent" it means the user's browser.
- 2BI-FIND-2025-0564 · MCP's June 2025 authorization spec: a server accepts only tokens issued for it and passes none upstreamThe page's security section is built on OAuth 2.1, which its standards list labels an IETF draft (draft-ietf-oauth-v2-1-13). Implementations MUST follow OAuth 2.1's Section 7 security considerations, and the page spells out several of its controls: PKCE for every MCP client, exact redirect-URI matching at the authorization server, HTTPS for authorization server endpoints, redirect URIs on localhost or HTTPS, and refresh-token rotation for public clients. Short-lived access tokens are only a SHOULD.
- 3BI-FIND-2024-0068 · In May 2023, Parecki described OAuth 2.1 as consolidation and DPoP as token protectionIn May 2023, Parecki described OAuth 2.1 as an unfinished consolidation of existing OAuth 2.0 best practices, with deprecated features removed and no new behavior. His claim that an implementation would not need updating was conditional: it already had to follow that guidance. He also said many extensions were intentionally optional for particular problems, so a general support claim did not establish support for every extension. He hoped the eventual OAuth 2.1 baseline would make vendor claims clearer.
- 4BI-FIND-2026-1523 · AAuth carries the signals an agent's approval needs, Hardt says; the brain that decides does not exist yetHardt, who says he is working on OAuth 2.1, says it adds no new features and does not make proof of possession a required piece either. On the web, he says, TLS lets a client know which server it reached, but "the server has no idea who's calling it". He traces the wider problem to OAuth being "a framework as opposed to a protocol", with no conformance on what a client must do to work with a given server. In AAuth every HTTP call is signed, so the server knows the caller, and he says the same signing could give webhooks a standard alternative to the shared secrets they rely on today.
Cited in 10 briefings
Every briefing that discusses this term, newest first.
- An admin can connect an MCP server once so staff see no consent prompt, a maintainer says
Video · · Agentic AI Foundation · Nov 16, 2026
- Unanchored agent delegation records become deniable once timestamps can be forged
Draft · · IETF Datatracker · V.K. Uppalapati · Sep 29, 2026
- Keycloak and SPIRE ran MCP's OAuth flow end to end, but only inside one cluster
Video · · CNCF [Cloud Native Computing Foundation] · Nov 24, 2025
- MCP's November 2025 security guide makes proxy servers ask consent for each client before forwarding a login
Article · · Model Context Protocol · Model Context Protocol project · Nov 25, 2025
- MCP's client credentials extension puts the secret in the form body, while its server rule names HTTP Basic
Article · · Model Context Protocol project · Oct 23, 2026
- MCP's November 2025 authorization spec puts metadata documents ahead of dynamic client registration
Article · · Model Context Protocol · Nov 25, 2025
- AAuth carries the signals an agent's approval needs, Hardt says; the brain that decides does not exist yet
Podcast · · Collateral Dialogue · Self-Driving Software: What OAuth Can’t Do for AI Agents | Dick Hardt, Hello · Sep 2, 2026
- MCP's June 2025 authorization spec: a server accepts only tokens issued for it and passes none upstream
Article · · Model Context Protocol project · Jun 18, 2025
- RFC 9700 bans OAuth's password grant and loose redirect matching; binding access tokens stays a SHOULD
Article · · IETF (RFC Editor) · Torsten Lodderstedt et al. · Jan 2025
- In May 2023, Parecki described OAuth 2.1 as consolidation and DPoP as token protection
Video · · Identiverse - A CRA Resource · Jun 17, 2024
Related terms
What appears alongside The OAuth 2.1 Authorization Framework in the same briefings.
OAuth 2.0 for Native Apps (RFC 8252)RFC 6750 (OAuth 2.0 Bearer Token Usage)
Was this explainer useful?
Share this explainer
Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.
Working on an identity problem that involves The OAuth 2.1 Authorization Framework? Talk to Boston Identity