Skip to content
IAM Insights

Explainers · Glossary

S256

PKCE S256

The PKCE method in which an OAuth client sends a SHA-256 hash of a secret it keeps, so an intercepted authorization code cannot be redeemed by anyone else.

reference →

In our briefings

What our briefings say about S256 itself, with the most direct claims first.

  1. Servers must implement S256, which sends BASE64URL(SHA256(code_verifier)) as the challenge, and a client able to use it MUST. Plain stays in the RFC for compatibility with existing deployments and for constrained environments that cannot use S256. Under plain the challenge is the verifier itself, so it stops only an attacker who sees the authorization responses; one who can also read the requests, for example through HTTP logs the operating system leaks, learns the verifier. Plain SHOULD NOT be used in new implementations unless S256 is technically impossible, and a client MUST NOT fall back to plain after S256 fails, since that can only mean a faulty server or a downgrade attack. Even so, code_challenge_method is OPTIONAL, and a request that omits it is treated as plain. The verifier SHOULD carry at least 256 bits of entropy, which 32 random octets supply.

    PKCE's 2015 standard let servers accept clients that skip it and treated an omitted method as the weaker plainBI-FIND-2015-0010

›Cited in 11 briefings

Every briefing that discusses this term, newest first.

  1. An OAuth draft lets the API, not the agent, describe the approval, and now name the key the token is bound to

    Draft · · IETF Datatracker · Yaroslav Rosomakho et al. · Jun 25, 2026

  2. MCP's November 2025 authorization spec puts metadata documents ahead of dynamic client registration

    Article · · Model Context Protocol · Nov 25, 2025

  3. An OAuth agent profile has the token server block any widening of scope, and leaves revoking the chain optional

    Draft · · IETF Datatracker · Sanjeev Kumar, Orchestrum Technologies LLP · Aug 30, 2026

  4. TPX replaces an app's embedded AI provider key with a capped, metered grant the user approves at their provider

    Article · · tokenpony.dev · Alex Polvi · Jul 20, 2026

  5. 114 of 119 MCP servers that let outsiders register an OAuth client let them choose where sign-in codes are sent

    Paper · · arXiv · Huijun Zhou et al. · May 21, 2026

  6. OAuth 2.1's October draft bans plain PKCE and adds browser-app rules; 2.1-only clients can fail on older servers

    Draft · · IETF Datatracker · Dick Hardt et al. · Mar 2, 2026

  7. FAPI 2.0 issues only sender-constrained access tokens and leaves public clients out

    Article · · OpenID Foundation · Daniel Fett et al. · Feb 22, 2025

  8. RFC 8705 lets OAuth bind tokens to a client certificate, and leaves the proxy in front of the API to the deployer

    Article · · RFC Editor · Brian Campbell et al. · Feb 28, 2020

  9. PKCE's 2015 standard let servers accept clients that skip it and treated an omitted method as the weaker plain

    Article · · RFC Editor · Nat Sakimura et al. · Sep 2015

  10. RFC 7517 makes a JWK agree with its certificate and leaves trusting the certificate to the application

    Article · · RFC Editor · Michael B. Jones, Microsoft · May 1, 2015

  11. RFC 7515 lets a signed JSON object name or carry its own key, and leaves trusting that key to the application

    Article · · RFC Editor · Michael B. Jones et al. · May 1, 2015