Skip to content
IAM Insights

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

share
3,488 words. With Aaron Parecki, author, Okta; Emelia Smith, author.
01

What's happening

Finding2
BI-FIND-2025-0392Lead finding

Parecki 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.

high confidencebest source: vendor, technicalobserved Jul 2025EvidenceSection 1Security considerationsLineage and revision history (-00 to -03)
flag a problem with BI-FIND-2025-0392
BI-FIND-2025-0393

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".

high confidencebest source: vendor, technicalobserved Jul 2025EvidenceSection 2Security considerations
flag a problem with BI-FIND-2025-0393
Figure steps
  1. The client starts an ordinary authorization request, with an https URL as its client_id.
  2. The authorization server should fetch the document at that URL, and should avoid private and loopback addresses when it does.
  3. The document's own client_id must match the URL, and it lists the client's redirect URIs. It cannot carry a client secret.
  4. The consent screen should show the client_id hostname. If the fetch fails, that URL is all the user has to go on.
  5. The server redirects only to a redirect URI that exactly matches one the client registered through its document.
Fig. 1

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 →

02

Section by section

4

showing 4 of 4

[1]

Client identifier as a URL, and the metadata document

Aaron Parecki, Okta · Emelia Smith

Standards

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

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

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]

Lineage and revision history (-00 to -03)

Aaron Parecki, Okta · Emelia Smith

Standards

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

Terms used

IETF
The body that writes the internet's protocol standards, including OAuth, JWT, and the workload-identity work known as WIMSE.
OAuth
The web's standard framework for delegated authorization — letting one application act at another on a user's (or machine's) behalf without sharing passwords.
Dynamic Client Registration
An OAuth mechanism (RFC 7591) letting a client register itself with an authorization server at runtime and receive a client ID, instead of being provisioned by hand.
JavaScript Object Notation (JSON)
The standardized JSON data-interchange syntax, defined in RFC 8259.
Private Key JWT client authentication
A client authentication method where the client proves who it is by signing a short-lived JWT with its private key instead of sending a shared secret. RFC 9700 recommends asymmetric methods like this one or mutual TLS.
URI
Uniform Resource Identifier, the general form of a web address. Identity specs use URIs to name things unambiguously: an issuer, an audience, a resource, or a workload's identity in SPIFFE.
OpenID Connect
OpenID Connect — an identity layer on top of OAuth 2.0 that lets an app verify who the user is through an identity provider; the protocol behind most “Sign in with…” buttons.
OAuth 2.0 Security Best Current Practice
RFC 9700 (January 2025), the IETF's consolidated security guidance for OAuth 2.0: exact-match redirect URIs, no implicit grant, and sender-constrained or short-lived tokens. It is a best current practice, so deployers are expected to follow it.

Read next

Was this briefing useful?

Share this briefing

Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.

Follow us on LinkedInRSS feed

Working on an identity problem this research touches? Talk to Boston Identity