Visual RFC.
ALL RFCs / RFC 7636
Read the RFC ↗
RFC 7636 / MECHANISMS

Do not downgrade the method

05

An S256 error is not permission to retry with plain or omit PKCE.

RFC 7636 · § 7.2EXAMPLE
3 / 3
03
Stop downgrade

Fail safely rather than retrying with a weaker method.

Do not downgrade the methodAn S256 error is not permission to retry with plain or omit PKCE. Current state: Stop downgrade.Do not downgrade the methodS256 requesterror / interferenceretry with plain?do not downgradeAn error is not permission to weaken the proof.

Key idea: Clients must not downgrade to plain after trying S256.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Clients must not downgrade to plain after trying S256.
  • An observer of a plain challenge also learns the verifier value.
  • Use modern server-side downgrade protections from the OAuth security BCP.

The illustration is schematic. Example values are illustrative; profiles and later security guidance can add requirements.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A key is different from permission.

An app, a person, and a server have different roles. Follow who asks, who grants permission, and who checks the credential. A key in the drawing is an analogy, not a literal protocol field.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

What changed
RFC 7636 § 7.2RFC 9700 § 4.8

Later OAuth guidance explicitly addresses PKCE downgrade attacks and requires servers to enforce the request’s proof-key binding.

Read the updated RFC section ↗

All chapters in RFC 7636

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗