01
RFC 9700, security best practice for OAuth 2.0
Best current practice since January 2025: PKCE required for public clients and recommended for confidential ones, stop using the implicit grant, never use the password grant, match redirect URIs exactly, sender-constrain refresh tokens of public clients or rotate them on every use.
IETF, RFC 9700, read 25 Oct 2026
02
OAuth 2.1 and OpenID Connect
OAuth 2.1 consolidates this practice but is still a draft, most recently version 16 of 3 Sep 2026. OpenID Connect Core 1.0 with errata set 2 defines how to validate the ID token. RFC 9207 adds the iss parameter so that a client does not confuse authorization servers.
IETF, draft-ietf-oauth-v2-1, read 25 Oct 2026 · OpenID Foundation, OpenID Connect Core 1.0, read 25 Oct 2026 · IETF, RFC 9207, read 25 Oct 2026
03
MCP specification 2026-07-28
Authorization is optional; HTTP implementations should follow it. Then: servers publish their metadata under RFC 9728, clients send resource under RFC 8707, servers check the audience and never pass a token on. PKCE is required, with S256 where technically possible; if an authorization server lists no PKCE methods in its metadata, clients stop.
MCP, Authorization, read 25 Oct 2026 · MCP, Security Best Practices, read 25 Oct 2026 · IETF, RFC 9728, read 25 Oct 2026
04
Keycloak 26.8
Standard token exchange under RFC 8693 has been supported since version 26.2. Delegation with the act claim is a preview in 26.8. As an authorization server for MCP, revision 2025-03-26 is supported; later revisions and resource indicators are experimental.
Keycloak, Token exchange, read 25 Oct 2026 · Keycloak, MCP authorization server, read 25 Oct 2026 · Keycloak, 26.8.1 released, read 25 Oct 2026
05
Microsoft Entra ID
On-behalf-of exchanges a user token through the JWT bearer grant, not under RFC 8693. Entra Agent ID has been generally available since April 2026, and the security features for agents require Microsoft Agent 365. A blueprint holds the credentials, and a sponsor is required. When an agent acts for a user, the token names the user as subject and the agent in azp; there is no act claim. Entra ID lists no PKCE methods in its OpenID metadata, so MCP clients following revision 2026-07-28 must stop.
Microsoft, On-behalf-of flow, read 25 Oct 2026 · Microsoft, What’s new in Microsoft Entra, read 26 Oct 2026 · Microsoft, What is Microsoft Entra Agent ID?, read 26 Oct 2026 · Microsoft, Token claims for agents, read 26 Oct 2026 · Microsoft Entra, OpenID metadata (measured), read 26 Oct 2026 · MCP, Security considerations, read 26 Oct 2026
As of 26 Oct 2026. Preview and experimental features may change before the stable release.