Glossary auth/

What is OAuth 2.1?

OAuth 2.1 is an IETF Internet-Draft that consolidates the OAuth 2.0 framework, bearer token usage and later security guidance into one authorization specification, and it is the base of MCP's authorization flow.

Published
Read
1 min
Source
Markdown

Also called: draft-ietf-oauth-v2-1, OAuth 2.1 draft

GET /authorize?response_type=code
  &client_id=https://app.example.com/oauth/client-metadata.json
  &redirect_uri=http://127.0.0.1:3000/callback
  &code_challenge=<BASE64URL(SHA256(code_verifier))>
  &code_challenge_method=S256
  &resource=https%3A%2F%2Fmcp.example.com
  &scope=files:read
  &state=<random>

That authorization request shows what OAuth 2.1 and MCP layer onto a classic OAuth 2.0 code flow: a PKCE challenge using S256, and a resource parameter (RFC 8707) that binds the token to one MCP server. The client_id is a Client ID Metadata Document URL, MCP’s preferred way for a client to identify itself.

The draft says it “replaces and obsoletes” RFC 6749 and RFC 6750. Its list of differences from OAuth 2.0 builds PKCE into the authorization code grant, removes the PKCE plain method, requires exact string matching for redirect URIs, omits the implicit and password grants, drops bearer tokens in query strings, and requires refresh tokens for public clients to be sender-constrained or one-time-use.

As of December 6, 2026, OAuth 2.1 has not been published as an RFC; the most recent draft, -17, is dated October 31, 2026. MCP’s authorization spec (version 2026-07-28) cites draft -13 and requires MCP authorization servers to implement OAuth 2.1.

See also: Dynamic client registration · Per-user OAuth · Token passthrough · MCP authorization step by step

Dynamic client registration, Least privilege for agents, Per-user OAuth, Token passthrough

Guides that cover OAuth 2.1

Sources

  1. draft-ietf-oauth-v2-1 (datatracker)IETF datatracker.ietf.org
  2. The OAuth 2.1 Authorization Framework, draft-ietf-oauth-v2-1-17IETF, 2026-10-31 ietf.org
  3. Authorization (MCP specification version 2026-07-28)Model Context Protocol modelcontextprotocol.io

Changelog

  • First published.

Cite this page

Agents for Devs. "What is OAuth 2.1?." Published Dec 6, 2026. https://agentsfordevs.com/glossary/oauth-2-1
Cite one section