Visual RFC.
ALL RFCs / RFC 8252
Read the RFC ↗
RFC 8252 / NATIVE-APP AUTHORIZATION

Register the full callback

06

Record a native app’s client type and exact redirect URI, including its path.

RFC 8252 · § 8.4EXAMPLE
3 / 3
03
Reject an unregistered callback.

Alternative request: /cb/extra differs from registered /cb. The server rejects it without issuing a code or redirecting to that URI. Only the port may vary for loopback redirects.

Register the full callbackRecord a native app’s client type and exact redirect URI, including its path. Current state: Reject an unregistered callback..Register the full callbackAppAuthorization serverauthorization requestServer compares the requested URI with its recordRegistered: https://app.example/cbRequested: https://app.example/cb/extraDifferent path → rejectNo code issued; no redirect to the supplied URILoopback only: port may vary; the path must still match.

Key idea: Register the complete callback, then compare the requested URI.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Except for mechanisms provisioning per-instance secrets, native apps MUST be registered as public clients.
  • Servers MUST exactly match the registered redirect, except for the loopback port.
  • A secret embedded in all app copies MUST NOT be accepted as proof of client identity (§ 8.5).

A client_id identifies a registration. It is not a secret or an assurance that this app installation is authentic.

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.

All chapters in RFC 8252

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 ↗