Skip to content
IAM Insights

Briefing · Article · source · published · Boston Identity

RFC 7591 asks OAuth servers to accept clients with no token, and calls their signed statements self-asserted

RFC 7591, published in July 2015 by Justin Richer, Michael B. Jones, John Bradley, Maciej Machulak and Phil Hunt, defines how an OAuth client registers at run time: it posts its metadata and the server answers with a client_id. The registration endpoint should accept requests that carry no initial access token. The RFC leaves out of scope how a client gets such a token and whose signed software statements to trust.

RFC Editor · Justin Richer, Michael B. Jones, John Bradley, Maciej Machulak, Phil Hunt · July 9, 2015 · read

share
11,851 words. With Justin Richer, author; Michael B. Jones, author, Microsoft; John Bradley, author, Ping Identity; Maciej Machulak, author, Newcastle University; Phil Hunt, author, Oracle.
01

What's happening

Finding4
BI-FIND-2015-0001Lead finding

RFC 7591 says a registration endpoint SHOULD accept registrations that carry no initial access token, which it calls open registration.

RFC 7591 says a registration endpoint SHOULD accept registrations that carry no initial access token, which it calls open registration and justifies by wider interoperability. Those requests MAY be rate-limited to fend off denial-of-service attacks. A server that wants to limit who registers MAY require an initial access token, an OAuth access token presented at the endpoint, and the RFC says one is required when a server does limit registration. How that token is obtained and how the endpoint validates it are both out of scope; the use-case appendix names a manual preregistration portal that issues the token to developers as a common approach.

high confidencebest source: independent researchobserved Jul 2015 – Sep 2025EvidenceSection 3Section 1Appendix A use cases
flag a problem with BI-FIND-2015-0001
Figure steps
  1. Before any request, the client needs the endpoint's URL and, if the server limits who registers, an initial access token. The RFC leaves how both are obtained, and which statement issuers count, out of scope.
  2. The client or its developer posts JSON metadata, optionally with the token and a signed software statement. With no token this is open registration, which the endpoint SHOULD allow.
  3. The server weighs the whole request. Plain metadata is self-asserted and so is a signed statement, though a trusted statement's values take precedence. Fields the server does not understand are ignored, and it may replace any value.
  4. It answers 201 Created with a client_id it issued, a secret if any and every value it registered, or 400 with an error code.
Fig. 1

Registration itself is one POST and one answer. How the client finds the endpoint, how it gets an initial access token and which statement issuers to trust all sit outside the RFC.

Flow as RFC 7591 describes it in Figure 1 and Sections 3 and 5Source dated July 9, 2015Passage: Section 1

Swipe for the full figure →

BI-FIND-2015-0002

The server MUST treat all client metadata as self-asserted unless it comes as a claim in a software statement, Section 5 says.

Section 5 says the server MUST treat all client metadata as self-asserted unless it comes as a claim in a software statement, a JWT signed or MACed by the issuer named in its iss claim, whose values MUST take precedence when the server trusts it. The threat it names is a rogue client using a legitimate client's name and logo, or its software identifier or version. The server MUST look at the whole request, statement, initial access token and metadata together, but the RFC offers only examples of what it could do, such as warning when the logo's site differs from the redirect URIs'. It adds that the statement is itself self-asserted by the client, though signed, and that showing one is "not sufficient in most cases to fully identify a piece of client software". Two checks carry a SHOULD: treating as suspect, and rejecting, a registration the server can infer duplicates a single-instance client, for example by software_id and software_version, and checking that logo_uri, tos_uri, client_uri and policy_uri share the redirect URIs' host and scheme.

high confidencebest source: independent researchobserved Jul 2015EvidenceSecurity and privacy considerationsClient metadata and the software statement
flag a problem with BI-FIND-2015-0002
BI-FIND-2015-0003

In RFC 7591 the authorization server issues the client_id, because an identifier the client created could let colluding servers track one instance.

In RFC 7591 the authorization server names the client. The metadata a client sends has no client_id field; client_id is REQUIRED in the server's response, and Section 6 gives a privacy reason: if a client could create its own identifier, one instance could be tracked across colluding authorization servers. Whether each installed copy gets its own client_id or all copies share one is a deployment choice the appendix describes. Per-instance registration lets each native client hold its own secret, and the server SHOULD NOT give one client secret to several instances even when they share an identifier. Section 2.3 also lets a server accept a software statement directly as the client identifier in an authorization request, with no registration first, in circumstances the RFC leaves out of scope.

high confidencebest source: independent researchobserved Jul 2015EvidenceSection 3Security and privacy considerationsAppendix A use cases+1
flag a problem with BI-FIND-2015-0003
BI-FIND-2015-0004

A client gets what the server decides to register: the server MAY replace or reject any requested value and MUST return every value it registered.

A client gets what the server decides to register, which may not be what it asked for. The server MUST ignore metadata it does not understand, MAY reject any requested value by replacing it with a suitable default or by returning an error, and MUST return every value it registered, including fields it set itself. The RFC leaves the client or developer to check that response, for example that the registered token_endpoint_auth_method is one the client supports. New metadata names enter through the OAuth Dynamic Client Registration Metadata registry the RFC creates, and new token endpoint authentication methods through a second registry; both take entries under Specification Required after a two-week review on the oauth-ext-review list, on the advice of Designated Experts. Our briefing on the OAuth SPIFFE client authentication draft found it requesting two new fields in the metadata registry.

high confidencebest source: independent researchobserved Jul 2015 – Jun 2026EvidenceSection 3Client metadata and the software statementSection 4
Also reported in +1 briefing
flag a problem with BI-FIND-2015-0004
02

Section by section

6

showing 6 of 6

[1]

Introduction, roles and the abstract registration flow

Justin Richer · Michael B. Jones, Microsoft · John Bradley, Ping Identity · Maciej Machulak, Newcastle University · Phil Hunt, Oracle

Standards

RFC 7591 lets an OAuth client, or its developer, register with an authorization server by sending metadata and getting a client identifier back, as an alternative to manual registration. It generalizes OpenID Connect Dynamic Client Registration and UMA. Figure 1 shows the flow: an optional initial access token and an optional software statement go in, and a client information response or an error comes back. How the endpoint URL, the token and the statement are obtained is out of scope.

technical artifactfrom published text

[2]

Client metadata and the software statement

Justin Richer · Michael B. Jones, Microsoft · John Bradley, Ping Identity · Maciej Machulak, Newcastle University · Phil Hunt, Oracle

Standards

Section 2 defines the registrable client metadata: redirect_uris, token_endpoint_auth_method, grant_types, response_types, display and policy URLs, contacts, jwks or jwks_uri, software_id and software_version. Use of all fields is OPTIONAL unless stated; unknown metadata MUST be ignored. A software statement is a signed or MACed JWT that MUST carry an iss claim; if the server trusts it, its claims MUST take precedence over the same names in the plain JSON.

technical artifactfrom published text

[3]

Registration endpoint, request, response and errors

Justin Richer · Michael B. Jones, Microsoft · John Bradley, Ping Identity · Maciej Machulak, Newcastle University · Phil Hunt, Oracle

Standards

The endpoint MUST accept HTTP POST with a JSON body and MUST be protected by transport-layer security. It MAY accept an initial access token to limit who registers, but SHOULD allow requests with no authorization (open registration), which MAY be rate-limited. The server answers 201 Created with a client_id (REQUIRED) and a client_secret if issued, and MAY reject or replace requested metadata. Errors use HTTP 400 with four defined codes.

technical artifactfrom published text

[4]

IANA registries for client metadata and token endpoint auth methods

Justin Richer · Michael B. Jones, Microsoft · John Bradley, Ping Identity · Maciej Machulak, Newcastle University · Phil Hunt, Oracle

Standards

The RFC creates two IANA registries: OAuth Dynamic Client Registration Metadata and OAuth Token Endpoint Authentication Methods. Both use Specification Required after a two-week review on the oauth-ext-review list, on the advice of Designated Experts. The metadata registry is seeded with the Section 2 fields plus the response fields; the auth-method registry with none, client_secret_post and client_secret_basic. Extensions add fields through this route.

technical artifactfrom published text

[5]

Security and privacy considerations

Justin Richer · Michael B. Jones, Microsoft · John Bradley, Ping Identity · Maciej Machulak, Newcastle University · Phil Hunt, Oracle

Standards

The server MUST support TLS 1.2 and MUST require redirect-based clients to register redirect URIs. Metadata is self-asserted unless it comes from a software statement, and the statement is itself self-asserted by the client and in most cases not enough to identify software. The server MUST weigh the whole request and SHOULD treat an inferred duplicate of a single-instance client, for example one with the same software_id and software_version, as suspect. Its privacy section warns that contacts and client IDs can identify people.

technical artifactfrom published text

[6]

Appendix A use cases: open or protected, per-instance or shared client IDs

Justin Richer · Michael B. Jones, Microsoft · John Bradley, Ping Identity · Maciej Machulak, Newcastle University · Phil Hunt, Oracle

Standards

The non-normative appendix lists five deployment choices: open or protected registration (with an initial access token), with or without a software statement, registration by the client itself or by its developer, one client ID per instance or one shared across instances, and stateful or stateless servers. Per-instance IDs let native clients hold per-instance secrets; a stateless server can encode the registration state in the client_id.

technical artifactfrom published text

Terms used

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.
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.
Access token
An OAuth 2.0 credential, usually an opaque string, representing a specific scope and lifetime of access that the resource server enforces when a client presents it.
RFC
Request for Comments: the numbered document series in which the Internet Engineering Task Force publishes internet specifications, from standards such as RFC 8693 to informational notes. A draft is not an RFC.
Software statement
A signed JSON Web Token in which a client developer or a third party vouches for facts about a piece of client software, such as its name and ID, which the client shows an authorization server when it registers.
JWT
A compact, signed token that carries claims (who, for what, until when) between systems. It is the usual shape of an OAuth access token.
MACed
Protected with a message authentication code (such as HMAC) instead of a digital signature: a shared secret key lets the receiver check that the data is unchanged and came from someone holding that key.
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.

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