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

Leave login to the browser

01

The app delegates authentication to a separate browser security context.

RFC 8252 · § 4EXAMPLE
3 / 3
03
Return the grant to the native app.

The app receives delegated authority rather than the password.

Leave login to the browserThe app delegates authentication to a separate browser security context. Current state: Return the grant to the native app..Leave login to the browserAppprocess boundarybrowser-owned viewLogin · cookies · passwordopencode onlypassword remains in browser

Key idea: An external user-agent keeps credentials outside the app.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Native apps MUST NOT use embedded user-agents for authorization (§ 8.12).
  • An external user-agent prevents the app from reading page contents and browser cookies.
  • Browser-owned in-app tabs retain browser isolation; they are different from app-controlled webviews.

The visual placement of a browser tab inside an app does not determine the security boundary. Ownership and isolation do.

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 6749 § 9RFC 8252 §§ 4, 8.12

The base framework described embedded and external options. This BCP requires the external user-agent pattern.

Read the updated RFC section ↗

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 ↗