Register the full callback
06Record a native app’s client type and exact redirect URI, including its path.
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.
Key idea: Register the complete callback, then compare the requested URI.
Rules & examples
Register the complete callback, then compare the requested URI.
- 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
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.