Internet-Draft oauth-cimd-sw-stmt October 2026
McGuinness Expires 27 April 2027 [Page]
Workgroup:
Web Authorization Protocol
Internet-Draft:
draft-mcguinness-oauth-cimd-sw-stmt-latest
Published:
Intended Status:
Standards Track
Expires:
Author:
K. McGuinness
Independent

CIMD Software Statement

Abstract

A Client ID Metadata Document carries a client's own claims, which can change at any time. This specification defines a software statement in which a trusted party records its review of the exact bytes of such a document, and how an authorization server enforces that review when it admits the client at request time, without a registration. The client presents the statement in a token or pushed authorization request, or publishes it where the reviewed document points. Possession of the statement alone does not complete a grant: the presenter is also bound to the reviewed document. Because the document remains the metadata, one review is portable across the authorization servers that trust its issuer. A companion specification covers RFC 7591 registration.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 27 April 2027.

▲

Table of Contents

1. Introduction

A Client ID Metadata Document [CIMD] identifies a client by a URL and supplies its metadata from a document the client controls; that metadata is the client's own claim and can change at any time. An organization that reviews client software, such as a publisher program, an enterprise security function, or an ecosystem operator, has no interoperable way to record its review of a particular version of the document, or to have an authorization server it has never dealt with enforce that review.

This specification profiles the software statement (Section 2.3 of [RFC7591]) for that purpose. A statement names the client by its document URL and binds the review to the document's exact octets by a digest (Section 3.1). A statement carried inside the document, as Section 4.3 of [CIMD] permits, could not do this (Section 3).

An authorization server that trusts the statement's issuer admits the client at request time on the reviewed document, and no other, without creating a registration (Section 5). The document remains the metadata and the statement records the decision, so one review is portable across every authorization server in the statement's audience, each of which keeps its own issuer trust, grant policy, and token lifetime.

A statement vouches for metadata, not for its presenter. Possession of a statement alone admits nothing: the presenter proves a key the reviewed document carries or, for software distributed to end users, receives the authorization code at a redirection URI the document lists and no other application on the device can claim (Section 5.4).

This specification defines the statement, its validation, issuer trust (Section 4), and runtime admission (Section 5). It does not define how a client obtains a statement. [REGISTRATION] defines consumption of the same statement in an [RFC7591] registration request; it builds on this specification, which does not depend on it. Section 7 relates this specification to other work.

1.1. Protocol Overview

The following non-normative sequence summarizes runtime admission:

  1. Using its Client ID Metadata Document URL as client_id, the client presents its statement in a token request or, for a redirect flow, a pushed authorization request, or publishes it at the software_statements_uri its document names (Section 5.1, Section 5.2).

  2. The authorization server validates the statement (Section 3), resolves the reviewed document (Section 5.5), and verifies the sender constraint against it (Section 5.4).

  3. The request proceeds under that document's metadata, and no persistent registration is created.

  4. The state on which the rest of the grant depends persists as an establishment (Section 5.6).

2. Conventions and Definitions

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

This specification uses terminology from [RFC6749] (OAuth), [RFC7591] (client metadata and software statements), and [CIMD] (Client ID Metadata Documents).

This specification defines the following terms.

Issuer:

The authorization server that signs a software statement.

Trusting Authorization Server:

An authorization server that consumes a software statement, at runtime under this specification or at registration under [REGISTRATION].

Runtime Presentation:

The consumption of a validated software statement presented in a token request or pushed authorization request, or pulled from where the client's document points (Section 5.2), without creating a client registration.

Establishment:

The durable state a successful runtime presentation creates for the grant it opens, enumerated in Section 5.6.

Proven Key:

The key for which the presenter demonstrates possession during runtime presentation (Section 5.4).

Effective Expiry:

The earlier of a statement's exp and its iat plus the maximum statement lifetime the trusting authorization server honors for its issuer (Section 4). A statement is expired once its effective expiry has passed.

Refusal Record:

State an authorization server holds when it has learned that a statement ceased to be acceptable before its expiry, whether from a withdrawal mechanism it uses for the issuer (Section 3.3) or from its own operator. Wherever this specification requires a statement to be current, a statement matching a refusal record is not current.

3. The Software Statement

The software statement is a compact JWT [RFC7519] protected by JWS [RFC7515]. Although [RFC7591] permits a MAC, a statement issued under this specification MUST use an asymmetric digital signature, and the none algorithm and symmetric algorithms MUST NOT be used. Issuers and trusting authorization servers follow [RFC8725]. An issuer advertises its signing algorithms in software_statement_signing_alg_values_supported (Section 10).

The JOSE header MUST include the kid header parameter, identifying the signing key in the issuer's statement key set (Section 10), and the typ header parameter with the value software-statement+jwt (Section 3.11 of [RFC8725]), which is the media type of Section 14.2 without its application/ prefix. Extensions can add claims; an incompatible revision would use a new typ value.

A statement asserts that its issuer evaluated the Client ID Metadata Document whose content the digest identifies, and vouches for that document to any party that accepts the issuer. The JWT payload contains the following claims.

iss:

REQUIRED. The issuer's issuer identifier, as defined by [RFC8414].

sub:

REQUIRED. The exact client identifier URL of the Client ID Metadata Document the issuer reviewed, not a client_id assigned through [RFC7591] registration.

aud:

OPTIONAL. One or more authorization server issuer identifiers ([RFC8414]) restricting which authorization servers may accept the statement. Where the claim is absent, any authorization server that trusts the issuer for the subject may accept it (Section 4), and any holder of a copy can use it wherever statement_uses permits registration, which requires no key. An issuer SHOULD therefore name an audience, and omit it only where it accepts that any server trusting it may register the software on the strength of a copy ([REGISTRATION]).

aud_tenant:

OPTIONAL. A tenant identifier at a trusting authorization server, as [IDJAG] defines the claim, naming the tenant in which the statement's decision applies. A statement whose decision is confined to one tenant MUST carry it, with an aud naming exactly one authorization server, since a tenant identifier is meaningful only at one.

A statement whose review applies wherever its aud reaches, such as a marketplace listing, carries no aud_tenant. Its absence does not mean that the statement applies in every tenant: an issuer also omits it where the authorization server has one tenant or where the issuer does not know the identifier.

statement_uses:

OPTIONAL. A JSON array identifying the permitted uses of the statement: registration ([REGISTRATION]) and presentation (Section 5). If the claim is absent, only presentation is permitted, so an issuer that intends a statement for registration includes registration. A delivery renewing a registration ([REGISTRATION]) is a use at registration; a refresh replacement (Section 5.6.1) and a pulled statement (Section 5.2) are presentation.

iat:

REQUIRED. A NumericDate value, which MUST be an integer, giving the time the statement was issued. An issuer MUST NOT issue two statements for a given iss and sub with the same iat, and MUST ensure the value increases strictly across its signing nodes, since trusting authorization servers order replacements by it (Section 5.6.1, Section 6).

exp:

REQUIRED. A NumericDate value giving the expiration time.

jti:

REQUIRED. A unique identifier for the statement within the issuer's namespace.

cimd_digest:

REQUIRED. The metadata digest (Section 3.1) of the Client ID Metadata Document the issuer evaluated, binding the statement to that document's exact content.

status:

OPTIONAL. The status claim as [STATUSLIST] defines it, by which a statement locates itself in a Status List Token. Only a withdrawal mechanism that uses the claim processes it; this specification does not (Section 3.3).

A statement issued under this specification MUST NOT contain client metadata claims: the reviewed metadata is the document the digest names. Vouching for particular members without binding the whole document is an extension (Section 11).

[CIMD] permits a Client ID Metadata Document to carry a software_statement member. A trusting authorization server MUST NOT consume a statement of this profile from that member, and MUST NOT treat that member as satisfying any requirement of this specification. A statement cannot describe the document that carries it, since its digest would have to cover its own bytes; one found there names an earlier version. Statements of other kinds in the member are outside this specification.

3.1. Metadata Digest

The metadata digest is the unpadded base64url-encoded SHA-256 hash [RFC6234] of the retrieved representation body after removal of content coding. The body is not transcoded, normalized, or re-serialized; any byte order mark or trailing newline is included.

Retrieval for digest purposes follows [CIMD] and MUST NOT use content negotiation: the retrieving party sends Accept: application/json and no other variant selection. An issuer computes the digest over the document it evaluated, and a trusting authorization server over the document it obtains (Section 5.5); equal digests show the two are the same octets, so any condition that makes retrieval depend on who is asking defeats the comparison.

A trusting authorization server MUST treat a response exceeding its configured size bound (Section 8.7 of [CIMD]) as a retrieval failure rather than digesting what it read. For a runtime presentation, retrying cannot succeed, so the request is rejected with invalid_client rather than temporarily_unavailable (Section 8), except on refresh-token use, where Section 5.6.1 takes precedence. [REGISTRATION] defines the rejection at a registration endpoint.

A server MUST NOT compare a digest against any representation other than one it retrieved itself or stored under this section, since a shared cache may hold a variant selected for another request. A 304 Not Modified response shows that stored octets, and their digest, are still current only where it carries a strong entity tag that matches the one stored with them under strong comparison (Section 8.8.3.2 of [RFC9110]); otherwise the server retrieves the body again.

3.2. Validating a Statement

Before accepting a statement, a trusting authorization server MUST:

  • verify that the typ JOSE header parameter carries the value software-statement+jwt;

  • verify the signature under a key trusted for the exact iss value, obtained as Section 4 requires;

  • verify that every required claim of Section 3 is present and of the correct type, rejecting a statement that omits one;

  • validate iat and exp, rejecting an expired statement and one whose iat is unreasonably far in the future according to the server's clock-skew policy;

  • where the statement carries aud, verify that a value in it exactly matches one of the server's audience identifiers that its trust configuration permits the statement's issuer to name (Section 4);

  • where the statement carries aud_tenant, verify that aud carries exactly one value and that aud_tenant identifies the tenant this request belongs to, resolved before the statement is evaluated, by the server's own means or from a signed assertion it has validated, and never from a value the client chooses;

  • where the server requires a tenant-scoped decision for the request, reject a statement that carries no aud_tenant;

  • verify that statement_uses names the use being made of the statement, treating a member it does not recognize as naming no use it serves, or, where the claim is absent, that the use is presentation;

  • verify that sub is a client identifier URL conforming to [CIMD], and that it falls within the identifier scope for which this server accepts the issuer (Section 4);

  • reject a statement carrying any claim registered in the IANA "OAuth Dynamic Client Registration Metadata" registry, which Section 3 forbids, and ignore any other claim it does not recognize; and

  • apply the JWT validation guidance in [RFC8725].

A trusting authorization server that hosts more than one tenant MUST evaluate every tenant-specific check, such as aud_tenant and a required issuer (Section 4), against the tenant that scopes what it issues on the statement, never selected by a value the client chooses.

A trusting authorization server MUST reject a statement for which it holds a refusal record (Section 3.3). Outside registration, the rejection is statement_required (Section 8), because re-presenting the same statement cannot succeed while the refusal stands.

A trusting authorization server resolving the reviewed document MUST reject a document containing duplicate object member names, since parsers interpret them differently despite an identical digest.

[REGISTRATION] defines rejections at a registration endpoint; rejections elsewhere use Section 8.

3.3. Withdrawal

An issuer can end a decision before the statement's exp by withdrawing it. Some status mechanisms call this revocation. This specification uses a distinct term because OAuth revocation ([RFC7009]) ends tokens, while a withdrawal revokes no issued token: a server holding a refusal record refuses new admissions and refresh under the statement (Section 5.6.1, Section 12.6).

How a trusting authorization server learns of a withdrawal is a withdrawal mechanism. This specification requires no withdrawal mechanism and defines none; Token Status List [STATUSLIST] is one, and extensions define how a mechanism applies to these statements (Section 11).

A refusal derived from a withdrawal mechanism lasts until a later authoritative result from that mechanism supersedes it, or until an expiry the mechanism itself defines for the withdrawal, and a server MUST NOT retain such a refusal once it is superseded or expired in that way. A failure to consult the mechanism, or cached evidence that has lapsed, neither supersedes nor expires a refusal. A refusal its operator entered persists on the operator's own terms.

A withdrawal constrains and never relaxes. A statement for which no withdrawal mechanism reports a withdrawal, or for which the server cannot consult the mechanism it uses, is bounded by its effective expiry as it would be otherwise, and a server MUST NOT treat any withdrawal mechanism as grounds to accept a statement past its effective expiry.

What a server does when it cannot consult a mechanism it relies on is local policy. Refusing makes issuer availability a precondition for every request the statement governs; proceeding leaves a withdrawn statement acceptable for the rest of its lifetime.

An issuer that uses a withdrawal mechanism and issues a replacement narrower than the statement it replaces SHOULD withdraw the earlier statement. A replacement is narrower when it:

  • is over a document that no longer carries a key, redirection URI, or scope the earlier document carried;

  • has a narrower aud, aud_tenant, or statement_uses; or

  • has a shorter remaining lifetime.

What was removed may be why the replacement was issued; a trusting authorization server that has not yet seen the replacement, or at which it does not validate, would otherwise accept the earlier statement until it expires.

Withdrawal does not replace lifetime. A trusting authorization server is not obliged to use any withdrawal mechanism, so an issuer chooses exp assuming none does.

4. Issuer Trust Establishment

A trusting authorization server accepts statements only from configured issuers. Trust is established out of band, for example through a marketplace publisher program or shared enterprise operation; this specification defines no in-band issuer discovery or trust decision.

For each trusted issuer, a trusting authorization server records at least:

These inputs, not the signature alone, define acceptance. A trusting authorization server MUST derive trust from this local configuration and MUST NOT derive it from an iss, jku, x5u, or other key-location value carried in a presented statement.

Trust configuration SHOULD constrain each issuer to the client identifier namespaces it is expected to attest, for example URLs under the domains of the software publishers it serves; Section 3.2 rejects a statement outside that scope. Without such a scope, a compromised or over-broad issuer can mint acceptable statements about any client software.

Where a trusting authorization server configures an issuer whose decisions are confined to one of its tenants, as a customer's own issuer is, it SHOULD record with that configuration the client identifier namespaces for which the issuer's decision is required in that tenant.

A server that records such a requirement MUST NOT admit software in a covered namespace in that tenant without a current statement from the required issuer, whatever its policy for clients it has not reviewed. Without this rule, withholding the statement would restore access the customer withdrew. The requirement is configured rather than inferred from the statements the server sees, so a holder cannot evade a customer's withdrawal by presenting or publishing only a broader statement, such as a marketplace listing.

A required issuer configured for software whose documents are presented review-only (Section 5.4.1) excludes that software from the tenant, since no statement admits it there.

4.1. Multi-Tenant Issuers

Where the tenants of a reviewer serving several customers are independently trusted reviewing authorities, the reviewer MUST issue under a distinct iss for each, so that each tenant's decisions, keys, and watermark (Section 6) stay separate. Statements from several authorities under one iss would be indistinguishable by iss and sub, and one customer's renewal would supersede another's review. A statement carries no claim naming the issuer's tenant.

5. Runtime Presentation

A client presents its statement in a request (Section 5.1) or publishes it where its document points (Section 5.2).

5.1. Presentation Request

A client presents a software statement by including the following parameter in a token request or a pushed authorization request:

software_statement:

REQUIRED for presentation. The software statement (Section 3). It is consumed as a runtime presentation, a refresh replacement (Section 5.6.1), or, where [REGISTRATION] is implemented, a revalidation delivery under that specification; a request carrying the parameter in any other role is rejected with invalid_request.

The request's client_id is the client's Client ID Metadata Document URL. It MUST exactly equal the statement's sub; the authorization server MUST reject a presentation where they differ, with invalid_client. The effective client_id is the statement's sub, and the authorization server assigns none.

The request carries the proof that Section 5.4 requires. A successful presentation establishes the client for the request and for the grant state derived from it (Section 5.6).

At the token endpoint, a runtime presentation is valid on a request using:

  • the client_credentials grant;

  • the JWT and SAML 2.0 assertion grants (Section 2.1 of [RFC7523] and Section 2.1 of [RFC7522]); or

  • another grant whose specification provides for runtime presentation under this specification.

Authorization-code redemption and refresh-token use continue an existing grant (Section 5.6, Section 5.6.1). A request that asks an authorization server to issue a software statement, rather than to consume one, MUST NOT carry the software_statement parameter.

An authorization server that does not implement this specification ignores the parameter (Sections 3.1 and 3.2 of [RFC6749]), so a client can present wherever its statement's audience allows; one that requires a statement says so with statement_required (Section 8).

5.1.1. Authorization Endpoint

Presentation in an authorization request MUST use a pushed authorization request [RFC9126]; a pulled statement, which never travels in a request, needs no pushed authorization request (Section 5.2). The pushed authorization request endpoint processes the statement and its proof as Section 5.3 describes. The subsequent authorization request MUST use a client_id exactly equal to the establishment's sub and MUST NOT include the software_statement parameter. A statement therefore never appears in a front-channel URL.

5.2. Pulled Statements

A client can publish its statements rather than present them. Its Client ID Metadata Document then carries the following client metadata member:

software_statements_uri:

OPTIONAL. URL, in a Client ID Metadata Document, at which the client publishes software statements about itself. The member has no meaning in a registration request. The URL MUST use the https scheme. A request to it returns a JSON object whose software_statements member is an array of statements (Section 3), each a string in JWS compact serialization. The metadata digest covers this member (Section 3.1), so changing where statements are found changes the document every statement names.

An authorization server that supports pulled statements MAY retrieve this URL when it resolves the document of a client that presented no statement. In retrieving it, the server:

  • sends a GET request with Accept: application/json, does not automatically follow redirects, and accepts only a 200 response with a JSON media type;

  • applies the protections [CIMD] sets for URLs a document contains and the bounds of Section 12.5;

  • bounds the response size and the number of statements it examines separately from the document's, since several issuers' statements outgrow a document-sized bound and a host can pad the array;

  • discards statements from issuers it has not configured before verifying any signature; and

  • caches a successful response no longer than it caches the document, and does not cache a failure, as [CIMD] requires of the document.

The authorization server MAY revalidate a cached response from that URL with a conditional request, as it may the document (Section 3.1). Both the document and this URL are retrieved before any statement exists to validate, so the ordering of Section 5.3 applies from the first statement verified onward.

The server considers only statements that:

  • have a sub equal to the document's client identifier;

  • validate under Section 3.2;

  • permit presentation (Section 3); and

  • have a cimd_digest equal to the digest of the document it resolved.

It ignores the rest, since anyone able to publish at the URL can place anything there.

Where its trust configuration requires an issuer for this client (Section 4), the server applies only that issuer's statement, and where none remains, the client is not reviewed. Otherwise, where more than one statement remains, the server keeps only the latest iat from each issuer and applies any one of those, subject to the watermark of Section 6. A pulled statement the server does not apply does not advance the watermark.

Having selected a statement, the server continues from step 4 of Section 5.3, with the pulled statement in place of a presented one and the document already resolved; the selection above satisfies the client_id rule of step 2.

The presenter of a pulled statement is bound as for a presented statement (Section 5.4), at the point the request allows:

  • at the token endpoint, the request's client authentication or DPoP proof binds it, as for a presentation there;

  • at the authorization endpoint, binding completes at code redemption, before any token is issued:

    • a confidential client authenticates there with a key carried by the octets the server digested, not one that only a later retrieval of the document carries, and that key becomes the establishment's proven key; and

    • a public client's authorization request that binds a key through dpop_jkt is subject to Section 5.4.1, including PKCE, and redemption proves the bound key;

  • a public client opening a new grant at the token endpoint, or sending an authorization request that binds no key, has nothing to bind, so a statement pulled for it is review-only (Section 5.4.1), as is one pulled for a document whose redirection URIs that section does not accept; and

  • code redemption and refresh continue an establishment and keep the binding it already has (Section 5.6, Section 5.6.1).

Where retrieval does not complete or no statement remains, the server applies its policy for Client ID Metadata Document clients it has not reviewed, subject to any required issuer (Section 4). Where that policy requires reviewed software, it rejects the request with temporarily_unavailable if retrieval did not complete and with statement_required if no statement remains. A retrieval failure is never a withdrawal.

Where Section 5.6.1 needs a replacement for an establishment created from a pulled statement, the server pulls again and applies the newest statement with the recorded statement's iss and sub as the replacement under that section. Where the newest is the recorded statement itself, nothing is replaced, and currency rests on that statement as Section 5.6.1 describes. If the re-pull does not complete or yields no replacement, the refresh fails as Section 5.6.1 provides; a reviewed grant never continues under the policy for clients the server has not reviewed.

An authorization server advertises support through software_statement_pull_supported (Section 10).

5.3. Presentation Processing

On receiving a presentation, the authorization server proceeds as follows, rejecting as Section 8 defines at the first failure:

  1. Validate the statement (Section 3.2), completing every check that does not require a client-controlled network retrieval before performing any such retrieval.

  2. Verify the statement requirements of Section 3, the iat floor of Section 6, and the client_id rule of Section 5.1.

  3. Resolve the reviewed document (Section 5.5), which is the first step requiring a client-controlled retrieval.

  4. Verify the sender constraint against that document (Section 5.4), then evaluate the request against its metadata (Section 5.5).

  5. On success, create the establishment (Section 5.6).

5.4. Sender Constraint

A runtime presentation MUST be sender-constrained by a key the statement attests or, under Section 5.4.1, by the key the presenter binds there. The presenter proves possession of that key through the applicable client authentication method or a DPoP proof [RFC9449]; where a request carries both, the key its client authentication proves is the proven key. The proof MUST be bound to the current request and validated with the replay protections of that mechanism.

Except as Section 5.4.1 provides, the proven key MUST appear in the jwks or at the jwks_uri of the reviewed document (Section 5.5). Where the reviewed document specifies a client authentication method, the presenter MUST use it. The authorization server MUST reject a presentation without such a proof, or whose proven key the reviewed document does not carry.

A reviewed document that omits token_endpoint_auth_method declares neither a client authentication method nor a public client, since the [RFC7591] default is a shared-secret method that [CIMD] forbids; the authorization server MUST reject a presentation under it, and treats a statement pulled for it as review-only (Section 5.4.1).

A document carrying a redirection URI another application could claim is presented review-only whatever its authentication method (Section 5.4.1), and the requirements above do not apply to that presentation, since it admits nothing. Two rejections still apply to such a document: a presentation under a document that omits token_endpoint_auth_method, as above, and a presentation at the token endpoint from a client whose reviewed document carries no key material (Section 5.4.1).

A statement whose reviewed document carries no key material can be consumed at registration where its statement_uses claim permits and the document declares a client authentication method other than none ([REGISTRATION]). Where the document declares token_endpoint_auth_method of none, such a statement is consumed instead at the pushed authorization request endpoint, or pulled at the authorization endpoint, under Section 5.4.1. Endorsement of a key the reviewed document does not carry, such as by a client attester, is left to extensions (Section 11).

A key at the document's jwks_uri is retrieved at presentation time; if retrieval fails, the key is unverified and the presentation is rejected with temporarily_unavailable. A server MAY reuse a recently retrieved key set within ordinary HTTP caching bounds, subject to a maximum reuse period of its own choosing; it MUST NOT let the client's cache directives alone determine how long a removed key continues to verify (Section 12.5).

5.4.1. Public Clients

Software distributed to end users cannot hold a key its reviewed document carries, since a key in a distributed binary is in every copy and identifies the software, not the installation. Such a document declares token_endpoint_auth_method of none and carries no key material.

A presentation at the pushed authorization request endpoint, or a pulled statement at the authorization endpoint (Section 5.2), is bound instead by its reviewed redirection URIs where the client's reviewed document declares token_endpoint_auth_method of none and none of its redirection URIs is one another application could claim (see below). For such a presentation, the authorization server:

  • MUST require PKCE [RFC7636] with the S256 method;

  • MUST require the presenter to bind a key it holds, through the dpop_jkt parameter or, at the pushed authorization request endpoint, a DPoP proof (Section 10.1 of [RFC9449]), and records that key as the proven key of the establishment (Section 5.6); and

  • MUST NOT require that key to appear in the reviewed document.

The reviewed document, not the proven key, admits the statement here: an authorization code opened by such a presentation is delivered only to a redirection URI the issuer reviewed, so a holder of a copied statement cannot receive the code (Section 12.3). The proven key identifies the installation the grant belongs to; code redemption and refresh demonstrate possession of that same key (Section 5.6, Section 5.6.1).

A presentation is review-only where the reviewed document carries any redirection URI that another application on the same device could claim: a non-https URI, such as a private-use scheme or an http loopback redirection URI (Sections 7.1 and 7.3 of [RFC8252]), or an https URI whose host is a loopback address or localhost. Desktop software commonly redirects this way. One such URI makes the whole document review-only, whatever authentication method it declares. The application that claims such a URI receives the code, so neither the reviewed redirection URIs nor a key shipped in every copy of the software can bind the presenter.

A review-only presentation creates no establishment, admits nothing, and does not advance the watermark of Section 6, since it changes nothing for the software's other instances. The authorization server proceeds as it would for the same Client ID Metadata Document client presenting no statement.

The statement of a review-only presentation MUST NOT satisfy a policy requiring reviewed software, and the authorization server SHOULD NOT present that review to the user as an assurance about the presenter. Where the server's policy requires reviewed software, it rejects a review-only client with unauthorized_client, since no statement can make such a client reviewed.

For a review-only presentation, the authorization server MAY record the statement's issuer for audit and inventory, and MAY refuse the request where it holds a refusal record for the statement, since a withdrawal constrains and never relaxes (Section 3.3), subject to the bounds of Section 12.5.

A presentation at the token endpoint under Section 5.1 opens no redirect and has nothing to bind it, so an authorization server MUST reject one from a client whose reviewed document carries no key material, with invalid_client. A statement pulled for such a client at the token endpoint is instead review-only (Section 5.2).

5.5. Reviewed Metadata

Having validated the statement, and before verifying the proof (Section 5.3), the authorization server MUST obtain the Client ID Metadata Document at the statement's sub, only by retrieval or from octets it has already digested for that identifier, and compare its digest with cimd_digest. Where octets it already holds do not match, it retrieves the document once more before treating the mismatch as a change, since a statement over an updated document would otherwise fail at a server still holding older bytes.

Octets the authorization server already holds serve for that comparison only within a maximum reuse period of its own choosing, as a key set does (Section 5.4); it MUST NOT let the client's cache directives alone determine how long held octets continue to match a statement, since a key the document carries inline would otherwise continue to verify after the publisher removes it.

A match means the served document is the reviewed one, and its members are the client's metadata for the request. A mismatch means the document changed after review, and the authorization server MUST NOT treat the changed document as reviewed. It rejects the presentation with invalid_client or, by local policy, proceeds without the statement. If it proceeds, it applies its policy for Client ID Metadata Document clients it has not reviewed to the current document and creates no establishment for the statement.

At registration, a mismatch is fatal ([REGISTRATION]). Either way, the remedy is a statement over the current document. Because an issuer reviews the document it retrieves, a changed document is always served before a statement over it exists, and the statement's lifetime bounds how stale an unobserved review can become.

The request is evaluated against that metadata as against any client's registered metadata ([RFC6749], [CIMD]): any requested grant type, response type, or scope MUST fall within it. A document that omits scope sets no ceiling on scope beyond the server's own policy.

A request refused because the bound on establishments of Section 6 is reached is rejected with invalid_client; its statement and proof are sound, so the authorization server SHOULD say so in error_description, and the client can retry once earlier establishments are released.

5.6. Grant Lifecycle

A successful presentation creates an establishment, the state a server persists for the grant, comprising:

  • the validated sub;

  • the statement identity, its iss, jti, iat, and effective expiry, and any claim by which a withdrawal mechanism locates it, such as status;

  • the authorization server's own tenant the grant was opened for, where it hosts more than one;

  • the reviewed metadata and the digest it matched (Section 5.5);

  • the issuer trust decision; and

  • the sender-constraint mechanism and proven key.

An authorization server MAY reuse an establishment across presentations that resolve to the same sub, statement, and proven key, rather than creating one per request; the bounds of Section 6 count distinct establishments, not presentations.

The establishment persists while the grant depends on it. The authorization server MUST bind the resulting request_uri, authorization code, refresh token, and other grant continuation state to the establishment, as applicable, and MAY discard it once no such state references it.

A token request that redeems an authorization code opened by a presentation:

  • MUST have a client_id exactly equal to the establishment's sub, even where the client authenticates;

  • MUST demonstrate possession of the same proven key under the same sender-constraint mechanism; and

  • MUST NOT carry the software_statement parameter.

A redemption carrying a statement is rejected with invalid_request; a wrong client identifier or failed key binding is rejected with invalid_grant. This prohibition covers redemption of a code bound to an establishment; a registered client redeeming its own code may deliver a replacement statement under [REGISTRATION], which is a delivery, not a presentation.

Expiry after presentation does not by itself invalidate an establishment already bound; the authorization server controls continued use as Section 5.6.1 defines.

5.6.1. Refresh

On refresh-token use, the authorization server MUST verify possession of the establishment's proven key under the same sender-constraint mechanism. Except for an establishment created under Section 5.4.1, it MUST also verify that the document currently served at the establishment's sub still carries that key, in its jwks or at its jwks_uri, within the reuse bounds of Section 5.4, and rejects the refresh with invalid_grant where it does not or where that document exceeds the size bound of Section 3.1, so that a key the publisher removes stops continuing grants as well as opening them.

On refresh-token use, the authorization server MAY, by local policy, additionally require a current unexpired statement, and SHOULD require one once the establishment's recorded statement has expired (Section 12.6). The recorded statement satisfies that requirement while it is unexpired and no refusal record covers it, even after a later statement has raised the iat floor of Section 6; a replacement is needed only once the recorded statement expires or a refusal record covers it.

Where the authorization server holds a refusal record for the establishment's recorded statement, it MUST reject a refresh without a presented or pulled replacement satisfying this section, whatever its policy on currency otherwise: a withdrawal ends grant continuation at once rather than waiting on local policy. A server that uses a withdrawal mechanism for the recorded statement's issuer SHOULD consult it for that statement at each refresh, so that a withdrawal reaches open grants and not only new ones.

When a replacement is needed, the client presents it in the software_statement parameter of the refresh request, or, for an establishment created from a pulled statement, the server pulls one (Section 5.2). A statement with the recorded statement's iss and jti is not a replacement: if the client offers it again, the server rechecks it as the recorded statement, under the first two paragraphs of this section. The replacement:

  • MUST validate under Section 3.2, including its audience where it carries one;

  • MUST have the recorded statement's iss and sub;

  • MUST have an iat later than the recorded statement's iat;

  • MUST name, by its cimd_digest, the document currently served at its sub, which the server confirms by retrieval or by revalidating octets it holds; and

  • MUST authorize the establishment's proven key (Section 5.4) or, for an establishment created under Section 5.4.1, name a document that still satisfies that section.

The refreshed access MUST fall within the metadata of the document the replacement names.

On success, the establishment's statement identity, iat, effective expiry, reviewed metadata, and trust decision are replaced in a single atomic update, and concurrent replacements resolve to the most recently issued statement. A refresh that fails these requirements, or omits a replacement that is needed, is rejected with statement_required, or with temporarily_unavailable where a retrieval needed to check the replacement did not complete for a reason other than the size bound of Section 3.1, and leaves the establishment unchanged.

Refresh never rotates the establishment's key; a client that needs a new key performs a new presentation.

6. Repeated Consumption of One Statement

A statement attests client software, identified by sub, not its runtime instances, and this specification defines no instance identifier. One unexpired statement is therefore consumable more than once: at each trusting authorization server in its audience and, where the server registers clients ([REGISTRATION]) and its policy permits, in more than one registration at that server.

At a multi-tenant authorization server, the watermark and bounds below are kept per tenant, so that an issuer's statements for different tenants do not supersede one another (Section 12.4).

A trusting authorization server MUST retain, per iss and sub, the iat of the most recent statement it has accepted. It MUST reject a statement whose iat is earlier than the retained iat, whether it arrives as a replacement, a new registration, or a new presentation. Because this floor spans every registration and establishment, a client holding a superseded, broader statement cannot defer a narrowing by opening a fresh registration or establishment with it. The server retains the watermark at least as long as the maximum statement lifetime it honors for that issuer.

For the same reason, the first presentation of a replacement that establishes the client retires its predecessor for new admissions by every instance of the software at that server, so instances need the current statement from a source they share, such as an endpoint the publisher operates, rather than a copy fixed when each was built or installed. Grants the predecessor already opened continue under Section 5.6.1.

A trusting authorization server SHOULD bound the number of establishments, and any registrations ([REGISTRATION]), derived from one issuer's statements about one piece of software, identified by iss and sub. An establishment counts toward a bound from the time an access token is first issued from it (in a redirect flow, once its authorization code is redeemed) until the server discards it (Section 5.6), and the server checks the bound before issuing that first token. A registration counts from the time an access token is first issued under it until the server deletes the registration, since any holder of a copy of a statement permitting registration can create one.

State created by a pushed authorization request does not count toward a bound, even where its code was issued but never redeemed, since anyone holding a copy of a public client's statement can create such state and approve it with their own account. A bound is counted across replacements; one keyed on jti would reset at every renewal.

For software admitted under Section 5.4.1, whose every installation opens its own establishment, the server SHOULD also bound establishments per resource owner, so that one user cannot exhaust a bound the software's other users share.

Software whose instances hold their own keys can neither prove nor register those keys (Section 5.4, [REGISTRATION]) and depends on the endorsement extension of Section 11.

7. Relationship to Other Work

This section is non-normative.

7.1. Client Attestation

A software statement and a client attestation [ABCA] are both signed third-party assertions, but they attest different things. A statement attests client software and the metadata a reviewer evaluated; it is signed by a review authority scoped to a set of client identifiers and accepted at every authorization server that trusts that authority. A client attestation attests a running instance and the key it holds, and is presented with a proof bound to the request.

A statement says what was reviewed and an attestation says what is running; neither grants access or substitutes for the other, which is why runtime presentation always requires a sender constraint (Section 5.4). Binding a presenter attestation defined elsewhere is an extension (Section 11).

7.2. Identity Assertions

A statement records that a named party reviewed software, not that a particular customer currently permits that software to act in its tenant. A tenant-scoped decision (aud_tenant) constrains where a review applies but authorizes no particular user or transaction. Where a customer's identity provider mediates a grant, as with a cross-domain identity assertion [IDJAG], it already answers the customer's question per grant by issuing assertions only for clients the customer permits. A statement serves where the reviewer is not in the request path, for example:

  • a publisher program vouching to servers it will never see;

  • a provider admitting software it has never registered; or

  • a customer wanting a portable record of what its review covered.

7.3. OpenID Federation

A trust mark [OPENID-FED] is also a signed third-party assertion about an entity, but it is resolved through a federation that supplies key discovery, policy, and delegation, and in which both parties enroll. A statement needs no federation: a trusting authorization server configures its issuer directly (Section 4), and the statement binds the exact octets of the client's own document rather than metadata the federation resolves.

8. Error Responses

A rejection uses the error response and HTTP status codes specified for the endpoint where it occurs:

At the token and pushed authorization request endpoints, an authorization server SHOULD respond to a request it rejects with temporarily_unavailable with HTTP status code 503, so that a client can distinguish a retrieval worth retrying from a condition that needs a new statement. [REGISTRATION] defines rejections at a registration endpoint and how registration validity is reported.

8.1. Requiring a Current Statement

This specification defines the following error code:

statement_required:

A current software statement is required and none was supplied, or the one supplied is expired, refused by a refusal record (Section 3.3), or superseded under the iat floor of Section 6; or a statement offered as a replacement (Section 5.6.1, [REGISTRATION]) does not satisfy the requirements for one. Re-presenting the same statement cannot succeed; the client recovers by obtaining a statement issued more recently.

Wherever this specification requires a current statement on a refresh-token request, statement_required replaces invalid_grant, so that a client does not read the rejection as an invalid refresh token ([RFC9700]).

8.2. Presentation

An authorization server rejecting a presentation at the token or pushed authorization request endpoint for a reason this specification defines uses the following error codes:

invalid_client:

The statement or the client cannot be established, where:

  • the statement is malformed, or fails signature or claim validation (Section 3.2) for a reason other than expiry;

  • the statement is valid but not acceptable here: its issuer is not configured, its aud excludes this server, its sub is outside the issuer's scope, its aud_tenant is not this request's tenant or is absent where required, or its statement_uses excludes this use;

  • the request's client_id differs from the statement's sub (Section 5.1);

  • the reviewed document contains duplicate member names (Section 3.2) or exceeds the server's size bound (Section 3.1);

  • the document's digest does not match cimd_digest and the server does not proceed without the statement (Section 5.5);

  • the request fails the sender constraint, including a presentation under a document that omits token_endpoint_auth_method and one at the token endpoint under a document with no key material (Section 5.4, Section 5.4.1); or

  • the bound on establishments of Section 6 is reached (Section 5.5).

statement_required:

The statement is expired, refused by a refusal record, or superseded, or a required statement is absent, including one from an issuer required for the tenant (Section 4).

unauthorized_client:

The request exceeds the reviewed document's grant types or response types (Section 5.5), the document carries metadata this server's policy refuses, or the client is review-only and this server requires reviewed software (Section 5.4.1).

invalid_scope:

The request exceeds the reviewed document's scope (Section 5.5), or the document carries a scope this server's policy refuses.

temporarily_unavailable:

A retrieval the presentation needs did not complete, for a reason other than the document size bound (Section 3.1).

invalid_request:

The request carries software_statement in a role Section 5.1 does not permit.

A request rejected for another reason, such as an assertion grant whose assertion is invalid (Section 3.1 of [RFC7523]), uses the error code its grant or endpoint assigns.

8.3. Code Redemption and Refresh

A token request that redeems an authorization code opened by a presentation is rejected with invalid_request where it carries software_statement, with invalid_grant where its client identifier or key binding fails (Section 5.6), and with invalid_client where the bound on establishments of Section 6 is reached (Section 5.5).

An authorization server rejecting a refresh-token request under an establishment for a reason this specification defines uses the following error codes:

statement_required:

A current statement or a replacement is needed (Section 5.6.1) and none is supplied or pulled, or the one supplied or pulled fails Section 5.6.1: it is malformed, invalid, not acceptable here, expired, refused, or superseded, or it names a document whose digest does not match, that contains duplicate member names, that exceeds the size bound, or that no longer satisfies Section 5.4.1.

invalid_grant:

The request does not prove the establishment's proven key, or the document currently served at the establishment's sub no longer carries that key or exceeds the document size bound (Section 5.6.1).

temporarily_unavailable:

A retrieval needed to check the replacement or the proven key did not complete, for a reason other than the document size bound (Section 3.1).

unauthorized_client or invalid_scope:

The refreshed access would exceed the reviewed document's metadata or this server's policy, as for a presentation.

invalid_request:

The request carries software_statement in a role Section 5.1 does not permit.

None of these rejections indicates refresh-token replay ([RFC9700]), and neither does a rejection reporting registration validity ([REGISTRATION]). A refresh-token request rejected for another reason, such as an expired or revoked refresh token, uses the error codes of Section 5.2 of [RFC6749], and this specification does not change how an authorization server detects refresh-token replay.

8.4. Authorization Endpoint

A statement is never presented at the authorization endpoint (Section 5.1.1), though one may be pulled there (Section 5.2). There, a review-only client is rejected with unauthorized_client, and a client whose pulled statements could not be retrieved is rejected with temporarily_unavailable, in each case where reviewed software is required (Section 5.4.1, Section 5.2).

Apart from those two cases, at the authorization endpoint, where this server requires a statement for a client it has not admitted on one, the authorization server MUST return statement_required in the authorization error response (Section 4.1.2.1 of [RFC6749]). The code tells the client to obtain a statement and return through the pushed authorization request endpoint; without the code, a client cannot tell a missing review from a policy it will never satisfy.

The authorization server redirects with the error only after resolving the client's Client ID Metadata Document and validating the request's redirect_uri against it. Where it cannot resolve the document, and so cannot validate the redirection URI, the authorization server MUST NOT redirect and reports the error to the resource owner instead.

8.5. Proof Mechanism Errors

Where the proof mechanism defines an error of its own for a proof it does not accept, such as invalid_dpop_proof for a DPoP proof that fails the checks of Section 4.3 of [RFC9449] or use_dpop_nonce for a nonce challenge (Section 8 of [RFC9449]), the request is rejected with that error in place of the code this specification assigns to a failed sender constraint.

A proof that its mechanism accepts but that proves a key other than the one this specification requires, such as a key the reviewed document does not carry or one other than the establishment's proven key, is not an invalid proof: it fails the sender constraint, and is rejected with the code this specification assigns to that failure.

8.6. Error Descriptions

These codes do not tell a client whether to seek a corrected statement or a different issuer. The authorization server MAY return non-sensitive diagnostics in error_description to a client it has authenticated, but MUST NOT reveal details of its issuer trust configuration (Section 4), such as the client identifier namespaces an issuer may attest, to an unauthenticated requester.

Where a statement is refused by a refusal record rather than merely expired, and the client is authenticated, the authorization server SHOULD indicate that a statement issued more recently is required, since re-presenting the same statement can never succeed.

9. Examples

Both examples are non-normative.

9.1. Presenting at the Token Endpoint

The following example shows a client presenting an already-issued statement at the token endpoint of a server holding no record for it. The reviewed document, which the statement's digest covers, names a jwks_uri, the private_key_jwt authentication method, and the client_credentials grant type, so the client authenticates with a key that document carries. The client_id is the Client ID Metadata Document URL named by the statement's sub (line breaks are for display purposes only).

POST /token HTTP/1.1
Host: as.example
Content-Type: application/x-www-form-urlencoded

grant_type=client_credentials
&scope=tools.read
&client_id=https%3A%2F%2Fclient.example%2Fapp
&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3A
client-assertion-type%3Ajwt-bearer
&client_assertion=eyJhbGciOiJFUzI1NiIsImtpZCI6IjIwMjYtMDgifQ...
&software_statement=eyJ0eXAiOiJzb2Z0d2FyZS1zdGF0ZW1l...

The authorization server validates the statement, retrieves the document its digest names, verifies the client assertion against a key from that document's jwks_uri, and checks that the requested scope falls within the document's scope. It keeps no registration; the effective client_id is the statement's sub.

9.2. Publishing a Statement for Servers to Pull

The following example shows a Client ID Metadata Document naming where its statements are published:

{
  "client_id": "https://client.example/app",
  "redirect_uris": ["https://client.example/cb"],
  "token_endpoint_auth_method": "private_key_jwt",
  "jwks_uri": "https://client.example/jwks.json",
  "software_statements_uri":
    "https://client.example/statements.json"
}

A request to that URL returns the statements, here one:

{
  "software_statements": [
    "eyJ0eXAiOiJzb2Z0d2FyZS1zdGF0ZW1lbnQrand0Iiwi..."
  ]
}

An authorization server receiving an ordinary authorization request with this client_id resolves the document, retrieves the statements, and keeps the one from a trusted issuer whose cimd_digest matches the document it retrieved. It completes the binding when the client authenticates with private_key_jwt at code redemption (Section 5.2).

10. Authorization Server Metadata

This specification defines the following authorization server metadata [RFC8414] values:

software_statement_jwks_uri:

REQUIRED for an authorization server that issues software statements. URL of a JWK Set containing only the keys with which it signs software statements. The URL MUST use the https scheme, and a trusting authorization server MUST validate the server's certificate when retrieving it, since a substituted key set would let a network attacker sign statements.

The keys in this set MUST NOT appear in the JWK Set at the server's jwks_uri, and the server MUST NOT sign anything other than software statements with them, so that a key that signs another artifact, such as a Status List Token, cannot verify a statement (Section 12.2).

software_statement_signing_alg_values_supported:

REQUIRED for an authorization server that issues software statements. A JSON array containing the asymmetric JWS alg values that the authorization server can use to sign software statements. The array MUST NOT contain none or a symmetric algorithm. An authorization server that only accepts software statements does not publish it.

software_statement_pull_supported:

OPTIONAL. Boolean value indicating whether the authorization server retrieves statements from a client's software_statements_uri when admitting a client that presented none (Section 5.2). If omitted, the default value is false. It tells a client whether it also needs to present.

11. Extension Points

The following extensions are left to separate specifications:

12. Security Considerations

12.1. Statement Theft and Replay

A copied statement admits nothing without the sender constraint (Section 5.4). Admitting only keys the reviewed document carries also prevents downgrade; an extension admitting endorsed keys (Section 11) has to address downgrade on its own terms.

Attesting a jwks_uri attests the location, not its contents: a compromised key host can add keys that satisfy the proof without a digest change. Where that matters, an issuer attests jwks inline and accepts that rotation changes the digest. A server reusing a cached key set (Section 5.4) also accepts that a just-removed key can briefly continue to verify.

12.2. Servers That Do Not Implement This Specification

A statement carries no client metadata, so an [RFC7591] server that verified one without implementing this specification would take every metadata value from the registration request. That server would attach the issuer's approval to an attacker's redirection URIs and keys, the substitution [REGISTRATION] exists to prevent. Keeping statement signing keys at software_statement_jwks_uri and out of jwks_uri (Section 10) prevents this. A server that discovers an issuer's keys through [RFC8414] finds none that verify a statement, and a server configured with the statement key set has been configured for this specification.

12.3. Copied Statements and Public Clients

A party holding a copied statement for a public client can open a pushed authorization request in the reviewed software's name but cannot receive the authorization code (Section 5.4.1). The residual exposure is a consent prompt carrying the reviewed software's name and branding, raised by a party that cannot receive what the user approves. Rate limits (Section 12.5) and the issuer's choice of audience and lifetime bound it. An endorsement extension (Section 11) would strengthen the binding by giving the instance a key a third party vouches for.

12.4. Tenant Confusion at a Multi-Tenant Consumer

Section 3.2 requires a multi-tenant trusting authorization server to decide against the tenant that scopes what it issues, selected by no value the client chooses; a tenant named in a signed assertion the server has validated, such as an identity assertion authorization grant [IDJAG], is the server's own resolution. A server that derives the tenant one way to check a decision and another way to scope a token lets a client reach one tenant's resources on another tenant's decision. The aud_tenant claim makes that failure detectable: a statement naming a tenant cannot be used in another.

Tenant resolution remains the server's responsibility. This specification defines no tenant parameter, and a Client ID Metadata Document URL is the same client_id in every tenant, so neither a client nor an issuer can verify that a server honored this rule.

The aud_tenant claim confines a decision to a tenant at the trusting authorization server; it does not identify which of the client's own customers is asking. Software that acts for many customers under one client identifier and key presents the same statement and key for each. A statement naming a tenant therefore admits the software there on behalf of every customer it serves, and any of them can direct it at another's tenant. A statement attests software and cannot prevent this; a deployment that needs a customer-to-tenant binding records it at the trusting authorization server.

12.5. External Retrieval and Resource Exhaustion

Runtime presentation can cause the authorization server to retrieve the Client ID Metadata Document, a jwks_uri it names, or the statements its software_statements_uri names. Every such retrieval inherits the server-side request forgery protections of [CIMD]. A trusted signature does not make a URL safe: the authorization server MUST apply its URL, redirect, address-range, transport, and content-type policy independently to every referenced location.

Presentation reaches these retrievals before any client is registered or any user has interacted, so an unauthenticated requester holding one acceptable statement can cause this work. An authorization server SHOULD therefore bound it:

  • rate-limit presentations per statement identity, per subject, and per source, and pulls (Section 5.2) per client identifier and per source, before spending retrieval or storage on a new presentation;

  • refuse a new presentation, before spending retrieval or storage on it, once the bound of Section 6 for its iss and sub is reached;

  • bound JWT size and parsing work, concurrent retrievals, response size, and response time; and

  • cache successful retrieval results within the document's caching directives, and back off after a failure rather than cache it, since [CIMD] forbids caching error responses.

A retrieval failure leaves the relevant metadata or proof unverified, so the authorization server MUST reject the request and MUST NOT fall back to a weaker proof. A failed pull of statements for a request that opens a new grant is the exception: it leaves the client unreviewed, as Section 5.2 describes. A failed pull of a replacement that a refresh requires is not an exception: the refresh fails (Section 5.6.1).

12.6. Statement Lifetime

Expiry and withdrawal (Section 3.3) govern new admissions; neither revokes an issued access token. A grant opened by a statement lasts for the life of its refresh tokens, whatever the statement's lifetime, unless the server requires a current statement on refresh, holds a refusal record, or finds the proven key gone from the client's document (Section 5.6.1). A narrowed review takes effect when the client publishes the narrower document and obtains a statement over it.

Short lifetimes tighten an issuer's control and increase renewal traffic; at a server implementing the registration-validity model of [REGISTRATION], the lifetime also sets the registration's renewal cadence. A fleet of statements issued together expires together, so issuers SHOULD stagger expiries or renew ahead of the boundary to avoid synchronized lapses.

12.7. Observable State

A statement_required refusal at the authorization endpoint (Section 8) travels through the user agent, so it tells anyone who can see the redirection that this client has no established standing at this server. The disclosure is accepted because a client that cannot learn why it was refused cannot act. The disclosure carries no detail of the server's issuer trust configuration, which Section 8 keeps from unauthenticated requesters.

12.8. Statement Handling

Servers SHOULD avoid logging software statements, which remain sensitive in transit and at rest. Possession alone does not enable presentation, but a statement names reviewed software and, where it carries an audience, that software's intended relationships.

13. Privacy Considerations

A presentation or delivery reveals to the authorization server the client's issuer relationship and, where the statement carries an aud claim, the other authorization servers the client intends to use; omitting that claim discloses nothing beyond the review. Pushed authorization requests (Section 5.1.1) keep statements out of browser history, referrers, and front-channel logs.

A central issuer also learns from renewals which of its statements are in active use, so issuance and renewal logs deserve the same care as the statements.

Retrieving the document tells its host that the server is resolving the client. Pulling statements (Section 5.2) tells the host of software_statements_uri the same; that host is an additional party only where the URL is on another origin. Published statements are readable by anyone, so their aud and aud_tenant claims disclose which servers and tenants a review names; a statement whose audience is sensitive is presented rather than published.

14. IANA Considerations

14.1. OAuth Parameters Registry

This specification requests registration of the software_statement parameter in the IANA "OAuth Parameters" registry established by [RFC6749], for runtime presentation and statement delivery of the artifact defined by [RFC7591]:

Parameter Name:

software_statement

Parameter Usage Location:

authorization request, token request

Note:

In an authorization request the parameter is conveyed only through the pushed authorization request endpoint [RFC9126], never in a front-channel URL (Section 5.1.1).

Change Controller:

IESG

Specification Document(s):

This specification, Section 5.1

The "OAuth Dynamic Client Registration Metadata" registry established by [RFC7591] already contains a software_statement member, which this registration does not affect. The name is reused because the artifact is the same [RFC7591] software statement, carried to the same server for the same purpose. A distinct name would make a client carry one artifact under two names, and a server would not recognize at the token endpoint what it accepts at the registration endpoint.

14.2. Media Type Registration

This specification requests registration of the application/software-statement+jwt media type in the IANA "Media Types" registry [RFC6838].

Type name:

application

Subtype name:

software-statement+jwt

Required parameters:

n/a

Optional parameters:

n/a

Encoding considerations:

8bit. A software statement is a JWT. JWT values are encoded as a series of base64url-encoded values separated by period ('.') characters, as registered for application/jwt in Section 10.3.1 of [RFC7519].

Security considerations:

See Section 12 of this specification and Section 11 of [RFC7519].

Interoperability considerations:

n/a

Published specification:

This specification

Applications that use this media type:

Authorization servers and clients that issue, request, or accept OAuth 2.0 software statements

Fragment identifier considerations:

n/a

Additional information:

Magic number(s): n/a. File extension(s): n/a. Macintosh file type code(s): n/a.

Person & email address to contact for further information:

Karl McGuinness, public@karlmcguinness.com

Intended usage:

COMMON

Restrictions on usage:

none

Author:

Karl McGuinness, public@karlmcguinness.com

Change controller:

IETF

14.3. Claims Defined Elsewhere

This specification uses one claim it does not define: aud_tenant, defined and registered by [IDJAG].

14.4. JSON Web Token Claims Registry

This specification requests registration of the following values in the IANA "JSON Web Token Claims" registry established by [RFC7519]:

Claim Name:

cimd_digest

Claim Description:

Unpadded base64url-encoded SHA-256 digest of the retrieved octets of the Client ID Metadata Document evaluated during software statement issuance

Change Controller:

IESG

Specification Document(s):

This specification, Section 3

Claim Name:

statement_uses

Claim Description:

Permitted uses of a software statement

Change Controller:

IESG

Specification Document(s):

This specification, Section 3

14.5. OAuth Extensions Error Registry

This specification requests registration of the following error codes in the IANA "OAuth Extensions Error Registry" established by [RFC6749]:

Error Name:

statement_required

Error Usage Location:

authorization error response, token error response, pushed authorization request error response

Related Protocol Extension:

CIMD Software Statement

Change Controller:

IESG

Specification Document(s):

This specification, Section 8

Error Name:

temporarily_unavailable

Existing Registration:

[RFC6749]

Error Usage Location:

token error response and pushed authorization request error response, in addition to the locations already registered

Change Controller:

IESG

Specification Document(s):

[RFC6749], this specification (Section 8)

14.6. OAuth Dynamic Client Registration Metadata Registry

This specification requests registration of the following client metadata member, published by a client in its Client ID Metadata Document:

Client Metadata Name:

software_statements_uri

Client Metadata Description:

URL, in a Client ID Metadata Document, at which the client publishes software statements about itself for an authorization server to retrieve. It is not meaningful in a registration request.

Change Controller:

IESG

Specification Document(s):

This specification, Section 5.2

14.7. OAuth Authorization Server Metadata Registry

This specification requests registration of the following values in the IANA "OAuth Authorization Server Metadata" registry established by [RFC8414].

Metadata Name:

software_statement_signing_alg_values_supported

Metadata Description:

JSON array containing the asymmetric JWS algorithms supported by the authorization server for signing software statements.

Change Controller:

IESG

Specification Document(s):

This specification, Section 10

Metadata Name:

software_statement_jwks_uri

Metadata Description:

URL of the JWK Set containing only the keys with which the authorization server signs software statements.

Change Controller:

IESG

Specification Document(s):

This specification, Section 10

Metadata Name:

software_statement_pull_supported

Metadata Description:

Boolean value indicating whether the authorization server retrieves software statements from a client's software_statements_uri.

Change Controller:

IESG

Specification Document(s):

This specification, Section 10

15. References

15.1. Normative References

[CIMD]
Parecki, A. and E. Smith, "OAuth Client ID Metadata Document", Work in Progress, Internet-Draft, draft-ietf-oauth-client-id-metadata-document-02, , <https://datatracker.ietf.org/doc/html/draft-ietf-oauth-client-id-metadata-document-02>.
[IDJAG]
Parecki, A., McGuinness, K., and B. Campbell, "Identity Assertion JWT Authorization Grant", Work in Progress, Internet-Draft, draft-ietf-oauth-identity-assertion-authz-grant-04, , <https://datatracker.ietf.org/doc/html/draft-ietf-oauth-identity-assertion-authz-grant-04>.
[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/rfc/rfc2119>.
[RFC6234]
Eastlake 3rd, D. and T. Hansen, "US Secure Hash Algorithms (SHA and SHA-based HMAC and HKDF)", RFC 6234, DOI 10.17487/RFC6234, , <https://www.rfc-editor.org/rfc/rfc6234>.
[RFC6749]
Hardt, D., Ed., "The OAuth 2.0 Authorization Framework", RFC 6749, DOI 10.17487/RFC6749, , <https://www.rfc-editor.org/rfc/rfc6749>.
[RFC6838]
Freed, N., Klensin, J., and T. Hansen, "Media Type Specifications and Registration Procedures", BCP 13, RFC 6838, DOI 10.17487/RFC6838, , <https://www.rfc-editor.org/rfc/rfc6838>.
[RFC7515]
Jones, M., Bradley, J., and N. Sakimura, "JSON Web Signature (JWS)", RFC 7515, DOI 10.17487/RFC7515, , <https://www.rfc-editor.org/rfc/rfc7515>.
[RFC7519]
Jones, M., Bradley, J., and N. Sakimura, "JSON Web Token (JWT)", RFC 7519, DOI 10.17487/RFC7519, , <https://www.rfc-editor.org/rfc/rfc7519>.
[RFC7522]
Campbell, B., Mortimore, C., and M. Jones, "Security Assertion Markup Language (SAML) 2.0 Profile for OAuth 2.0 Client Authentication and Authorization Grants", RFC 7522, DOI 10.17487/RFC7522, , <https://www.rfc-editor.org/rfc/rfc7522>.
[RFC7523]
Jones, M., Campbell, B., and C. Mortimore, "JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants", RFC 7523, DOI 10.17487/RFC7523, , <https://www.rfc-editor.org/rfc/rfc7523>.
[RFC7591]
Richer, J., Ed., Jones, M., Bradley, J., Machulak, M., and P. Hunt, "OAuth 2.0 Dynamic Client Registration Protocol", RFC 7591, DOI 10.17487/RFC7591, , <https://www.rfc-editor.org/rfc/rfc7591>.
[RFC7636]
Sakimura, N., Ed., Bradley, J., and N. Agarwal, "Proof Key for Code Exchange by OAuth Public Clients", RFC 7636, DOI 10.17487/RFC7636, , <https://www.rfc-editor.org/rfc/rfc7636>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/rfc/rfc8174>.
[RFC8414]
Jones, M., Sakimura, N., and J. Bradley, "OAuth 2.0 Authorization Server Metadata", RFC 8414, DOI 10.17487/RFC8414, , <https://www.rfc-editor.org/rfc/rfc8414>.
[RFC8725]
Sheffer, Y., Hardt, D., and M. Jones, "JSON Web Token Best Current Practices", BCP 225, RFC 8725, DOI 10.17487/RFC8725, , <https://www.rfc-editor.org/rfc/rfc8725>.
[RFC9110]
Fielding, R., Ed., Nottingham, M., Ed., and J. Reschke, Ed., "HTTP Semantics", STD 97, RFC 9110, DOI 10.17487/RFC9110, , <https://www.rfc-editor.org/rfc/rfc9110>.
[RFC9126]
Lodderstedt, T., Campbell, B., Sakimura, N., Tonge, D., and F. Skokan, "OAuth 2.0 Pushed Authorization Requests", RFC 9126, DOI 10.17487/RFC9126, , <https://www.rfc-editor.org/rfc/rfc9126>.
[RFC9449]
Fett, D., Campbell, B., Bradley, J., Lodderstedt, T., Jones, M., and D. Waite, "OAuth 2.0 Demonstrating Proof of Possession (DPoP)", RFC 9449, DOI 10.17487/RFC9449, , <https://www.rfc-editor.org/rfc/rfc9449>.
[RFC9700]
Lodderstedt, T., Bradley, J., Labunets, A., and D. Fett, "Best Current Practice for OAuth 2.0 Security", BCP 240, RFC 9700, DOI 10.17487/RFC9700, , <https://www.rfc-editor.org/rfc/rfc9700>.

15.2. Informative References

[ABCA]
Looker, T., Bastian, P., and C. Bormann, "OAuth 2.0 Attestation-Based Client Authentication", Work in Progress, Internet-Draft, draft-ietf-oauth-attestation-based-client-auth-12, , <https://datatracker.ietf.org/doc/html/draft-ietf-oauth-attestation-based-client-auth-12>.
[OPENID-FED]
"OpenID Federation 1.0", n.d., <https://openid.net/specs/openid-federation-1_0.html>.
[REGISTRATION]
McGuinness, K., "CIMD Software Statement Registration", n.d., <https://datatracker.ietf.org/doc/draft-mcguinness-oauth-cimd-sw-stmt-registration>.
[RFC7009]
Lodderstedt, T., Ed., Dronia, S., and M. Scurtescu, "OAuth 2.0 Token Revocation", RFC 7009, DOI 10.17487/RFC7009, , <https://www.rfc-editor.org/rfc/rfc7009>.
[RFC8252]
Denniss, W. and J. Bradley, "OAuth 2.0 for Native Apps", BCP 212, RFC 8252, DOI 10.17487/RFC8252, , <https://www.rfc-editor.org/rfc/rfc8252>.
[STATUSLIST]
Looker, T., Bastian, P., and C. Bormann, "Token Status List (TSL)", Work in Progress, Internet-Draft, draft-ietf-oauth-status-list-21, , <https://datatracker.ietf.org/doc/html/draft-ietf-oauth-status-list-21>.

Acknowledgments

This mechanism began as the consumption part of a draft on software statement issuance and was split out so that consumption can evolve separately from issuance. It draws on working-group discussion of Client ID Metadata Documents and attestation-based client authentication.

Author's Address

Karl McGuinness
Independent