Briefing · Draft · source · published · Boston Identity
An OAuth client that never registers: the July 2025 draft makes its URL the identity and leaves most server checks as SHOULDs
Revision -03 of Aaron Parecki and Emelia Smith's individual IETF draft lets an OAuth client name itself with an https URL that serves its metadata, so an authorization server can accept a client it has never registered. The revision bans every shared-secret method. Most of the server's defences against a hostile URL are SHOULDs, including skipping private and loopback addresses and showing the hostname at consent.
IETF Datatracker · Aaron Parecki, Emelia Smith · July 23, 2025 · read
What's happening
Finding2Parecki and Smith's -03 draft lets an OAuth client skip registration with servers it has no relationship with by making its client_id an https URL.
Revision -03 of Parecki and Smith's individual draft lets an OAuth client skip registration with authorization servers it has no relationship with, where, the authors say, dynamic client registration "is not always practical". The client_id is an https URL, and the JSON document served there carries the client's metadata, with its own client_id that must match the URL. Because no secret can be agreed in advance, -03 bars every method built on a shared secret, where earlier revisions named only the client secret. A client that wants credentials may publish a public key and authenticate with private_key_jwt. We read the trust model as control of a web address: what the server learns about a client is whatever the owner of that URL publishes.
flag a problem with BI-FIND-2025-0392
In -03, the protections against a hostile client URL sit with the authorization server, and most of them are SHOULD or MAY.
The protections against a hostile client URL sit with the authorization server, and in -03 most of them are SHOULD or MAY. The server should fetch the document and should abort the request if the fetch fails; should avoid private and loopback addresses; should limit the response size, with 5 kilobytes recommended; should show the client_id hostname on the consent screen; and may set its own domain-trust rules, for example extra warnings for newly registered domains. Tying redirect URIs to the document's origin is also a MAY. Without such limits, the draft warns, a client could try to impersonate a better-known one, yet it keeps unrestricted redirect URIs possible for backwards compatibility with Solid-OIDC. The firm rules include exact redirect-URI matching, taken from RFC 9700; never caching error responses or malformed documents; and, once a client publishes a key, client authentication of that type on every exchange with the server. Even the discovery flag is unsettled: servers that publish RFC 8414 metadata "MUST include" client_id_metadata_document_supported, which its own entry labels "OPTIONAL".
flag a problem with BI-FIND-2025-0393
Figure steps
- The client starts an ordinary authorization request, with an https URL as its client_id.
- The authorization server should fetch the document at that URL, and should avoid private and loopback addresses when it does.
- The document's own client_id must match the URL, and it lists the client's redirect URIs. It cannot carry a client secret.
- The consent screen should show the client_id hostname. If the fetch fails, that URL is all the user has to go on.
- The server redirects only to a redirect URI that exactly matches one the client registered through its document.
The client never registers: the authorization server fetches the client's identity from the URL it was handed, and the hostname is what the consent screen should show the user.
Sequence as revision -03 of the draft describes itSource dated July 23, 2025Passage: Section 2
Swipe for the full figure →
Section by section
4showing 4 of 4
[1]
The client_id is an https URL that MUST have a path and MUST NOT carry a fragment, a username or password, or dot segments. It SHOULD NOT carry a query string, and a short, stable URL is RECOMMENDED. The URL serves a JSON metadata document whose client_id MUST match it. Since no shared secret can be set up, the client_secret methods and every other symmetric method are barred. A TBD floats a client_id_expires_at property for short-lived clients.
technical artifactfrom published text
[2]Development use, errors, caching, redirect URIs, AS metadata
Aaron Parecki, Okta · Emelia Smith
Standards
Development use, errors, caching, redirect URIs, AS metadata
Aaron Parecki, Okta · Emelia Smith
The authorization server SHOULD fetch the document and SHOULD abort the request if the fetch fails. It MAY cache the metadata and SHOULD respect HTTP cache headers, but MUST NOT cache error responses or malformed documents. Redirect URIs are matched exactly, as RFC 9700 requires. A server that restricts redirect_uris SHOULD offer at least one Client ID Metadata Document Service for developers on localhost. Servers advertise support with client_id_metadata_document_supported.
technical artifactfrom published text
[3]Security considerations: client keys, phishing, SSRF, logos, domain trust
Aaron Parecki, Okta · Emelia Smith
Standards
Security considerations: client keys, phishing, SSRF, logos, domain trust
Aaron Parecki, Okta · Emelia Smith
Letting a client assert its own identity brings risks, and the draft answers most of them with SHOULD or MAY. Servers MAY restrict redirect_uris to the client_id's origin, clients MAY publish a jwks_uri for private_key_jwt, and a key change MAY trigger token or consent revocation. Servers SHOULD show the client_id hostname, avoid private and loopback fetches, cap responses (5 KB recommended) and prefetch logos. They MAY apply domain-reputation heuristics.
technical artifactfrom published text
[4]
The authors credit IndieAuth, Solid-OIDC and OpenID Federation as earlier designs that used a URL as the client_id, and say the draft is largely inspired by Solid-OIDC. Revision -03 prohibits all symmetric client authentication, adds development advice for clients not on the web, cites RFC 9111 for caching, and adds security text on domain trust and key changes. The history lists changes and says nothing about adoption.
technical artifactfrom published text