Public and confidential clients
02An app’s ability to keep credentials confidential determines its client type.
A distributed app does not become confidential merely because it contains a string called a secret.
Key idea: A client ID is not a secret.
Rules & examples
A client ID is not a secret.
- 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
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.
Native-app guidance explicitly rejects treating a shared embedded secret as proof of the app’s identity.
Read the updated RFC section ↗