URLs leave extra copies
03A query-parameter token can persist in logs and other URL-handling systems.
Clients MUST NOT use this URI-query method. Authorization: Bearer is the preferred alternative.
Key idea: Historically, RFC 6750 § 2.3 says URI-query transmission SHOULD NOT be used unless the token cannot be sent in the Authorization header or request body.
Rules & examples
Historically, RFC 6750 § 2.3 says URI-query transmission SHOULD NOT be used unless the token cannot be sent in the Authorization header or request body.
- Historically, RFC 6750 § 2.3 says URI-query transmission SHOULD NOT be used unless the token cannot be sent in the Authorization header or request body.
- RFC 9700 § 4.3.2 updates this: clients MUST NOT pass access tokens using the URI-query parameter method described by RFC 6750 § 2.3.
- TLS does not erase copies stored at endpoints or in logs.
The illustration is schematic. Example values are illustrative; profiles and later security guidance can add requirements.
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.
The OAuth security BCP prohibits clients from using RFC 6750’s URI-query token method; the historical header/body impossibility exception is not a current client exception.
Read the updated RFC section ↗