Metadata, TLS & CORS
07Discover the right endpoints, protect the channel, and distinguish browser redirects from cross-origin API calls.
Use authenticated, encrypted communication to the resource server.
Key idea: Configure securely. Transport securely.
Rules & examples
Configure securely. Transport securely.
- Publishing and using authorization-server metadata is RECOMMENDED, including support detection for PKCE.
- Authorization responses MUST NOT use unencrypted connections; native loopback redirects are the HTTP exception. End-to-end TLS is RECOMMENDED.
- CORS MAY support browser-accessed token, metadata, JWKS, and registration endpoints. It MUST NOT be enabled at the authorization endpoint.
Metadata helps avoid endpoint mistakes and supports key rotation and cryptographic agility. It is not a replacement for validating issuer and destination. Proxy and postMessage boundaries get their own chapters.
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.
RFC 8996 replaces older TLS minimums with TLS 1.2 and prohibits old-version fallback. RFC 9700 also recommends metadata use and end-to-end TLS under BCP 195.
Read the updated RFC section ↗