Visual RFC.
ALL RFCs / RFC 6749
Read the RFC ↗
RFC 6749 / THE FRAMEWORK

Public and confidential clients

02

An app’s ability to keep credentials confidential determines its client type.

RFC 6749 · § 2.1EXAMPLE
3 / 3
03
Treat installed apps according to their actual capabilities.

A distributed app does not become confidential merely because it contains a string called a secret.

Public and confidential clientsAn app’s ability to keep credentials confidential determines its client type. Current state: Treat installed apps according to their actual capabilities..Public and confidential clientsCapability comparisonServer-side clientAppprotected credentialshared secret extractableconfidential if protectedpublic clientAn embedded shared secret is not proof of app identity.

Key idea: A client ID is not a secret.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Register the client before starting the flow, subject to the deployment’s registration model.
  • Confidential clients can protect credentials; public clients cannot. A client may have distributed components with different security contexts.
  • Client identifiers identify registrations and MUST NOT be used alone as authentication.

A secret copied into every installed app cannot establish the identity of an individual installation.

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 § 2.1RFC 8252 § 8.5

Native-app guidance explicitly rejects treating a shared embedded secret as proof of the app’s identity.

Read the updated RFC section ↗

All chapters in RFC 6749

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 ↗