| Internet-Draft | oauth-cimd-sw-stmt-issuance | October 2026 |
| McGuinness | Expires 29 April 2027 | [Page] |
RFC 7591 defines how a client presents a software statement and how a registration endpoint consumes it, but not how the client obtains one. This specification defines OAuth 2.0 flows for issuing a software statement to a client identified by a Client ID Metadata Document and not registered with the authorization server.¶
A client holding an initial access token that authorizes issuance, or a statement it can renew, uses OAuth 2.0 Token Exchange (RFC 8693) without a redirect. Any client can instead use a redirect flow: the authorization endpoint returns a short-lived software_statement_code, which the client redeems through a new token endpoint grant. In both flows, a completed decision returns a statement, and a pending decision uses Deferred Token Response and polling. The statement never appears in an authorization response URL.¶
The client presents the statement at registration or at runtime, or publishes it for servers to pull; a companion specification defines the statement, its validation, and its consumption.¶
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 29 April 2027.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
[RFC7591] standardizes the consumption of a software statement, a signed JWT asserting client metadata (Section 2.3 of [RFC7591]), but not its issuance. Issuance today relies on manual provisioning or proprietary processes. The UK Open Banking Directory [UK-OPEN-BANKING] and the Australian Consumer Data Right Register [AU-CDR] each built a central issuer, yet a client needs a separate integration for each.¶
[STATEMENT] profiles that statement to carry no client metadata and instead vouch for the exact octets of a Client ID Metadata Document, and defines its validation and consumption. This document defines how a client obtains one, through OAuth token exchange (Section 5) or a redirect flow (Section 6). An issuer whose review outlives a request can defer it under [DTR].¶
A statement makes one issuer's decision portable to the authorization servers in its audience that trust the issuer ([STATEMENT]). If the trust decision is local to one authorization server, an initial access token [RFC7591], pre-registration [CIMD], or approval-based registration [APPROVAL-DCR] can establish the client directly.¶
Approval workflow, approver identity, external approval integration, acceptance of any particular issuer, and issuer discovery are out of scope.¶
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 defined in [RFC6749], [RFC7591], [CIMD], and [DTR]. The terms Issuer, Trusting Authorization Server, Metadata Digest, Effective Expiry, Establishment, and Refusal Record are defined by [STATEMENT].¶
This specification defines the following terms:¶
An authorization request with response_type=software_statement_code, asking the authorization server to issue a software statement (Section 6).¶
The short-lived, single-use artifact returned by the software statement code response (Section 7.1) and redeemed at the token endpoint (Section 8).¶
A request that can produce a software statement: a software statement code redemption (Section 8) or a token exchange (Section 5). Each yields a statement, a terminal denial, or, at a deferred issuer, a deferral.¶
The exact retrieved octets of a validated Client ID Metadata Document, and their metadata digest, bound to a request, as defined in Section 4.1.¶
A client that holds an initial access token authorizing issuance, or a statement it can renew, uses token exchange at the token endpoint without a user agent (Section 5). Any client can instead initiate the redirect flow at the authorization endpoint (Section 6) and redeem the resulting software statement code at the token endpoint.¶
The issuer fetches and snapshots the client's Client ID Metadata Document (Section 4.1), decides whether to issue, and signs the statement. The client carries the statement to trusting authorization servers in its audience, at registration ([REGISTRATION]) or at runtime ([STATEMENT]). A publisher's backend acting for a client is not a party this specification authenticates. Issuance that such a backend authorizes on a client's behalf is out of scope.¶
+--------------------------+
| Client ID Metadata |
| Document (client_id URL) |
+--------------------------+
^ ^
hosts | | fetches and
| | snapshots
+----------+ | | +---------------+
| +------+ +------+ Issuing |
| Client | | Authorization |
| |--(1) software statement request -->| Server |
| |<-(2) software statement -----------| (approval) |
+----------+ (signed JWT) +---------------+
|
| (3) RFC 7591 registration request
| carrying the software statement
v
+---------------+ +---------------+ +---------------+
| Trusting | | Trusting | ... | Trusting |
| Authorization | | Authorization | | Authorization |
| Server 1 | | Server 2 | | Server M |
+---------------+ +---------------+ +---------------+
¶
+--------+ +----------------------+
| Client | | Authorization Server |
+--------+ +----------------------+
| |
| (A) Authorization request |
| response_type=software_statement_code |
| client_id=<metadata document URL> |
| code_challenge, [audience], [dpop_jkt] |
|------------------------------------------------>|
| |
| (B) Software statement code response |
| (software_statement_code, state, iss) |
|<------------------------------------------------|
| |
| (C) Redemption |
| (software_statement_code, code_verifier, |
| completion_mode=deferred) |
|------------------------------------------------>|
| |
| (D) Software statement response or |
| deferred response (deferral_code) |
|<------------------------------------------------|
| |
| (E) Poll(s) (deferral_code), if deferred |
|------------------------------------------------>|
| authorization_pending or final response |
|<------------------------------------------------|
¶
At (A), the authorization server validates the request, performs any user-agent interaction or initiates an approval workflow, and returns a software statement code at (B).¶
At (C), the client redeems the code with its PKCE verifier. The response at (D) carries the statement or a [DTR] deferral_code, with which the client polls at (E). Errors follow [RFC6749] and [DTR].¶
The client_id in every request defined by this specification MUST be a client identifier URL conforming to [CIMD]. The authorization server MUST obtain and validate the corresponding Client ID Metadata Document according to [CIMD].¶
In the redirect flow, a client identifier whose metadata document cannot be retrieved or validated, including a document rejected for duplicate member names (Section 4.1), is invalid for the purposes of Section 4.1.2.1 of [RFC6749]. If the client identifier or redirection URI is missing or invalid, the authorization server MUST NOT redirect the user agent.¶
The client authenticates to the token endpoint using the token_endpoint_auth_method and related key metadata in its Client ID Metadata Document. The authorization server classifies the client from that member:¶
none (explicit) establishes a public client.¶
Any other value establishes a confidential client:¶
The authorization server MUST require exactly that method. [CIMD] states this rule for private_key_jwt, and this specification applies it to every declared method.¶
If the authorization server does not support the declared method, it MUST reject the request rather than treat the client as public, with unauthorized_client at the authorization endpoint and with invalid_client (Section 5.2 of [RFC6749]) at the token endpoint.¶
An omitted value establishes neither, and any request identifying such a client MUST be rejected with invalid_request, returned at the authorization endpoint to the redirection URI validated against the document.¶
Classification uses the singular token_endpoint_auth_method. A list of declared supported methods is not interpreted.¶
A public client binds its requests with DPoP [RFC9449]: in the redirect flow through dpop_jkt (Section 6), and in the token exchange profile (Section 5) by a DPoP proof, which a public client MUST include on the exchange request. A confidential client MAY use DPoP in addition to its client authentication method.¶
Client metadata documents can change while a request is pending. Before returning a software statement code or a deferral code, the authorization server MUST bind it to the exact octets of the document it retrieved and validated, and to their metadata digest ([STATEMENT]). The bound octets constitute the metadata snapshot for the request.¶
The authorization server MAY retrieve the document again before issuing the software statement. If it does so and the digest differs, it MUST either re-evaluate the request under the new document, binding it as the snapshot, or reject the request. This applies even if the change touches no member its policy examines. A statement over a superseded snapshot fails at registration ([REGISTRATION]).¶
The authorization server MUST NOT silently combine values from different document versions. An approval recorded against a superseded snapshot does not carry forward without a fresh issuance-policy decision.¶
Replacing the snapshot does not alter the sender-constraint context fixed for a deferral at origination (Section 9). If a replacement snapshot no longer authorizes the key material behind that context, for example because the client-authentication key is absent from the new document, the authorization server MUST invalidate the deferral. The client then makes a new request under its current keys.¶
The authorization server MUST reject duplicate object member names. Parsers can interpret duplicate members differently despite an identical digest.¶
A document carries its keys inline through jwks, which the digest binds, or by reference through jwks_uri, which it binds only as a location. [STATEMENT] weighs the trade-off, and an issuer can require either.¶
[CIMD] permits a document to carry a software_statement member. An issuer evaluates the document as served and MUST NOT refuse a document because it carries the member. Consumers ignore a statement embedded there ([STATEMENT]), and refusing would leave a client that published its statement unable to renew it.¶
A client that already holds a token carrying issuance authority MAY exchange that token for a statement using OAuth 2.0 Token Exchange [RFC8693] instead of the redirect flow (Section 6).¶
The client sends a token exchange request as defined in Section 2.1 of [RFC8693], with the following parameters:¶
requested_token_type:REQUIRED. The value MUST be urn:ietf:params:oauth:token-type:software-statement.¶
subject_token and subject_token_type:REQUIRED. One of the following:¶
First issuance. An initial access token, presented with a subject_token_type of urn:ietf:params:oauth:token-type:access_token: an authorization credential issued out of band by this authorization server that pre-authorizes software statement issuance, analogous to the initial access token of [RFC7591]. The credential itself is deployment-defined.¶
Renewal. A software statement this authorization server previously issued for the same sub, presented with a subject_token_type of urn:ietf:params:oauth:token-type:software-statement (Section 5.1).¶
client_id:REQUIRED. The client identifier URL described in Section 4.¶
audience:OPTIONAL. The requested audience, with the syntax, validation, and narrowing rules of the audience authorization request parameter (Section 6). On renewal (Section 5.1), the subject statement's aud stands in for the requested audience if the request carries none, and bounds it if the request carries one, so a replacement is never broader than the statement it replaces.¶
completion_mode:As defined for software statement code redemption (Section 8).¶
The request MUST NOT contain actor_token or actor_token_type, nor the scope, resource, or authorization_details parameters prohibited by Section 6.1.¶
The client authenticates, and a public client constrains the request, as described in Section 4. An assertion-based method such as private_key_jwt [RFC7521] [RFC7523] serves if the document specifies one.¶
An initial access token presented under this profile MUST be time limited, be limited to the issuer, be bound to an exact client identifier URL or an explicitly authorized client identifier namespace, and, if opaque, have at least 128 bits of entropy.¶
The initial access token is subject to the following:¶
A reusable one MUST be sender-constrained to a client key, for example through DPoP or mTLS, and the authorization server MUST verify that binding against the key the exchange request proves.¶
A bearer one MUST be single-use.¶
It SHOULD be integrity protected and kept confidential in transit and at rest, and MAY further restrict audiences or metadata.¶
The authorization server MUST enforce every restriction the credential carries and MUST prevent replay beyond its permitted number of uses.¶
A DPoP proof on the exchange constrains any resulting deferral but neither authenticates the presenter nor protects the subject token (Section 3 of [RFC9449]). The initial access token therefore needs its own sender constraint or single-use restriction.¶
A use is consumed when the authorization server commits to an outcome: issuing a statement, creating a deferral, or denying issuance. Concurrent presentations of a single-use credential MUST NOT both be committed.¶
The authorization server MUST validate the subject token before retrieving client-controlled metadata or enqueueing any processing. A subject token MUST result in invalid_request (Section 2.2.2 of [RFC8693]) if any of the following holds:¶
It is invalid or revoked.¶
It has expired, unless it is a prior software statement accepted under Section 5.1.¶
It does not authorize issuance for the presented client_id.¶
An unacceptable requested audience results in invalid_target [RFC8693].¶
The authorization server MUST bind a fresh metadata snapshot (Section 4.1) and the requested audience before returning either the software statement or a deferral code.¶
Issuance policy determines whether an initial access token authorizes only the request or issuance itself. The exchange results in a software statement token response (Section 10), a deferral at a deferred issuer (Section 9), or the terminal denial of Section 10.1.¶
A client renews by presenting its current or most recent software statement as the subject token. The authorization server MUST verify the following:¶
The authorization server issued the statement.¶
The statement's sub equals the request's client_id.¶
The client authenticated with a key carried both by the document the statement's cimd_digest names and by the current document.¶
That authentication is the holder binding: without it, whoever held a copy of the statement could renew. To check the reviewed document's keys, an issuer offering renewal retains the octets of each document it issues a statement over.¶
A client rotating keys inline renews while its document carries both the old and the new key. For a document naming jwks_uri, the binding is to whatever that location serves. A public client holds no such key and obtains a replacement through the redirect flow (Section 6).¶
A replacement carries the subject statement's aud_tenant while the decision is confined to that tenant, and the uses the subject statement permits unless issuance policy narrows them. A replacement MUST NOT permit a use the subject statement does not. It is matched to the statement it replaces by iss and sub ([STATEMENT]).¶
An issuer MUST NOT accept as subject token a statement it has withdrawn ([STATEMENT]), including one whose status it publishes under [STATUS] as other than VALID. Renewing such a statement would reissue the decision that withdrawal ended.¶
The authorization server MAY accept a statement that has expired, and SHOULD bound how long after expiry it will do so. A renewal after an extended absence amounts to a request for re-establishment.¶
If the current document's digest equals the subject statement's cimd_digest, whether renewal requires fresh review is issuer policy. If the digests differ, the issuer MUST apply the decision it would apply to a first issuance for that document, and MUST NOT renew on the strength of the prior statement alone. Otherwise, whoever can change the document could obtain the issuer's signature over an unreviewed change.¶
The client redeems a software statement code by sending an HTTP POST request to the token endpoint using the application/x-www-form-urlencoded format with the following parameters:¶
grant_type:REQUIRED. The value MUST be urn:ietf:params:oauth:grant-type:software-statement.¶
software_statement_code:REQUIRED. The software statement code returned by the authorization endpoint.¶
redirect_uri:REQUIRED. The same redirection URI used in the authorization request.¶
client_id:REQUIRED. The same client identifier URL used in the authorization request.¶
code_verifier:REQUIRED. The PKCE verifier corresponding to the code_challenge in the authorization request.¶
completion_mode:REQUIRED when the authorization server advertises deferred_token_response_supported (Section 13), and not used otherwise. An authorization server that does not defer ignores it. When present, the value MUST include deferred. A deferral-capable issuer rejects a redemption that omits it with invalid_request.¶
The request MUST NOT contain audience, which was bound at the authorization endpoint. A request containing it is rejected with invalid_request.¶
The client authenticates according to Section 4. When dpop_jkt was included in the authorization request, the client MUST send a DPoP proof for the token endpoint using the same key.¶
The authorization server MUST validate the software statement code and all of its bindings before processing the request. An invalid, expired, previously used, or incorrectly bound code MUST result in an invalid_grant error. A PKCE or DPoP binding failure is handled according to [RFC7636] or [RFC9449], respectively.¶
A redemption attempt consumes the software statement code whenever the presented code value is valid, including when its PKCE, DPoP, or client-authentication bindings fail (Section 14.4). A DPoP nonce challenge [RFC9449] is not a binding failure: an authorization server requiring a nonce issues the use_dpop_nonce challenge before evaluating the code, which remains unconsumed.¶
When a previously consumed code is presented again, the authorization server SHOULD revoke any deferral derived from it ([RFC9700]). To keep anyone who observed the code in a URL from triggering that revocation, an authorization server MAY limit revocation to replays that pass the PKCE check.¶
For a valid, unconsumed code, the authorization server returns the following, according to the issuance decision:¶
Approved. The software statement token response (Section 10).¶
Denied. The terminal denial of Section 10.1.¶
Pending. The deferred token response of [DTR], with the deferral bound to the code's metadata snapshot and audience in addition to the bindings [DTR] requires. The client then polls (Section 9).¶
An authorization server that does not defer completes the decision before responding.¶
The following is a non-normative example of a redemption request from a confidential client at a deferred issuer (line breaks are for display purposes only):¶
POST /token HTTP/1.1 Host: server.example.com Content-Type: application/x-www-form-urlencoded grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3A software-statement &software_statement_code=V7e1gP8zT2mN4qR6sW9xY3aB5cD7fH0jK2pL4uQ6vX8 &redirect_uri=https%3A%2F%2Fclient.example.org%2Fcb &client_id=https%3A%2F%2Fclient.example.org%2Fmetadata.json &code_verifier=dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk &completion_mode=deferred &client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3A client-assertion-type%3Ajwt-bearer &client_assertion=eyJhbGciOiJFUzI1NiIsImtpZCI6ImNsaWVudC0xIn0...¶
An authorization server MAY answer an originating request with a deferred token response [DTR] instead of a statement.¶
Deferral follows [DTR], including the sender constraint it fixes at origination, with the following additions:¶
A deferral created under this specification MUST be delivered by polling. Callback delivery is omitted from this version (Appendix A).¶
A client MUST NOT send the client_notification_token parameter of [DTR]. An authorization server rejects a request carrying it with invalid_request and MUST NOT deliver a callback, whatever the client's metadata says.¶
A successful polling response is the software statement token response of Section 10, not an access token response.¶
Issuers SHOULD set deferral code lifetimes that reflect their actual approval latency, which for a review involving human judgment can be hours or days.¶
The following is a non-normative example of a first polling request for a deferral created by a token exchange, from a confidential client authenticating with the same private_key_jwt method as the exchange:¶
POST /token HTTP/1.1 Host: issuer.example Content-Type: application/x-www-form-urlencoded grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Adeferred &deferral_code=8xLOxBtZp8 &client_id=https%3A%2F%2Fclient.example.org%2Fmetadata.json &client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3A client-assertion-type%3Ajwt-bearer &client_assertion=eyJhbGciOiJFUzI1NiIsImtpZCI6ImNsaWVudC0xIn0...¶
A successful response has HTTP status code 200, a media type of application/json, and the following members:¶
access_token:REQUIRED. The software statement issued by the authorization server. It MUST conform to [STATEMENT], with cimd_digest the digest of the bound metadata snapshot, aud the selected audience if one is restricted, and statement_uses the uses issuance policy permits.¶
issued_token_type:REQUIRED. The value MUST be urn:ietf:params:oauth:token-type:software-statement.¶
token_type:REQUIRED. The value MUST be N_A (Section 2.2.1 of [RFC8693]).¶
expires_in:RECOMMENDED. The remaining lifetime of the software statement in seconds. If present, it MUST be consistent with the statement's exp claim.¶
The response MUST NOT contain refresh_token or scope. The authorization server MUST include Cache-Control: no-store and SHOULD also include Pragma: no-cache.¶
DPoP under this specification binds requests and deferral state, not the issued artifact. [DTR]'s requirement that a final access token inherit the originating DPoP binding does not apply.¶
The following is an example of a software statement token response:¶
HTTP/1.1 200 OK
Content-Type: application/json
Cache-Control: no-store
Pragma: no-cache
{
"access_token":
"eyJ0eXAiOiJzb2Z0d2FyZS1zdGF0ZW1lbnQrand0...",
"issued_token_type":
"urn:ietf:params:oauth:token-type:software-statement",
"token_type": "N_A",
"expires_in": 3600
}
¶
The access_token member is a security-token container ([RFC8693]), not an OAuth access token. The software statement it carries is consumed only as [STATEMENT] provides, MUST NOT be attached to a request as an Authorization: Bearer credential, and is not subject to refresh.¶
Implementations that cache issued tokens by type SHOULD key this artifact on its issued_token_type so that generic access-token handling does not apply to it, and SHOULD treat it as a sensitive credential in logs.¶
When the authorization server decides not to issue the requested software statement, it returns a token error response as defined in Section 5.2 of [RFC6749] with the error code access_denied and HTTP status code 400, and MUST include the Cache-Control: no-store response header field. This applies to both originating requests, including when the denial answers a polling request (Section 9).¶
The denial is terminal for the request. A denied deferral behaves as [DTR] specifies for a request resolved with an error, and a client that receives access_denied in response to a polling request MUST NOT send another polling request with that deferral_code. A denial does not preclude a later issuance request. Whether to accept one is issuance policy.¶
An issuer that ends a decision before its expiry does so through a withdrawal mechanism ([STATEMENT]), such as the Token Status List binding of [STATUS]. Withdrawing a statement does not withdraw a replacement obtained through Section 5.1, and withdrawing a replacement does not restore its predecessor.¶
An authorization server that issued a statement already holds the decision that statement records. If it is also a trusting authorization server, it MAY admit the client on that record rather than require the statement to be presented back to it, at registration or at runtime.¶
Because a decision a server made is not a document it has re-read, a server admitting a client on the record of a statement it issued MUST apply the conditions it would apply to a statement presented under [STATEMENT]:¶
The decision's issuer is one this server accepts for the request's tenant and for the decision's sub, as [STATEMENT] requires of iss and sub, and, if this server records a required issuer for that tenant and sub, is that issuer.¶
The effective expiry the decision's statement would have at this server has not passed, and the registration has not expired if the validity model of [REGISTRATION] governs it.¶
The decision's audience, tenant, and permitted uses admit this server, the request's tenant, and this use, as [STATEMENT] requires of aud, aud_tenant, and statement_uses.¶
The decision is not superseded under the iat floor of [STATEMENT], which admission on it advances as acceptance of a statement would.¶
This server has not withdrawn the decision and holds no refusal record for its statement.¶
The document at sub has been obtained and contains no duplicate member names.¶
That document's metadata digest equals the one recorded.¶
At runtime, the recorded decision replaces the presented statement, not the proof of who is making the request. The request MUST meet the sender constraint of [STATEMENT] against the reviewed document, as a presentation would, and a successful admission creates an establishment. At registration, the rules of [REGISTRATION] apply as they do to a statement presented there.¶
A software statement grants no resource access or consent on behalf of the software's users. A protected resource MUST NOT accept a software statement returned in the access_token member (Section 10) as an access token.¶
When an approval interface is shown, it SHOULD state that the decision vouches for the client's metadata document. It MUST NOT imply that the approver is granting the client access to resources.¶
An erroneous approval affects every authorization server in the statement's audience until expiry. The approval interface therefore SHOULD present the following:¶
The client identifier URL, with its origin shown as the client's identity, and with display metadata such as client_name and logo_uri marked as asserted by the client (a look-alike document can carry another vendor's name).¶
The document content it will vouch for, identified by its digest.¶
The audience the issuer intends to place in the statement.¶
The tenant the decision is confined to, if the statement will carry aud_tenant ([STATEMENT]).¶
The intended lifetime.¶
If the client requested a different or broader audience, the interface SHOULD make narrowing visible. A document naming attesters in client_attesters ([ATTESTERS]) endorses them for the software under review and deserves particular scrutiny.¶
A software statement means only that its issuer evaluated the document captured in the metadata snapshot (Section 4.1) under its issuance policy and decided to vouch for it, not that the document's contents are true. Because the client authors the metadata document, an issuer SHOULD corroborate security-relevant metadata through evidence beyond the document itself. Verification depth is part of the trust relationship.¶
Fetching a Client ID Metadata Document and the resources it references exposes the authorization server to server-side request forgery, resource exhaustion, malicious content, and client impersonation. The considerations of [CIMD] apply.¶
Validating the subject token before metadata retrieval or enqueueing (Section 5) limits resource consumption by unauthorized requesters. Authorization servers SHOULD still do the following:¶
Rate-limit these exchanges.¶
Cache successful retrieval results and back off after failures rather than caching them, which [CIMD] forbids.¶
Bound pending deferrals per client identifier and requester.¶
Because the redirect flow reaches the approval queue before any client-authenticated step, the same rate limits and pending-approval bounds SHOULD apply per client identifier there.¶
A subject token is an authorization credential, not a client identifier. If the Client ID Metadata Document declares a method, a subject token does not substitute for client authentication.¶
A subject token appears in a form body, so any component recording request bodies can expose it. Authorization servers MUST exclude subject tokens from logs, traces, error messages, and audit records. Clients and authorization servers MUST protect a subject token as a bearer credential unless its format provides proof of possession.¶
A token exchange carries no in-band evidence of user participation. An authorization server MUST NOT treat a token exchange as implying prior user consent and MUST apply the same issuance and approval policy as for the redirect flow.¶
If both documents carry their keys inline, a party able to change the current document cannot supply a key that satisfies the holder binding of Section 5.1. If they name a jwks_uri, whoever controls that location can supply such a key. For this reason, a changed document receives the decision a first issuance receives. Binding renewal to the client's key also spares automated renewal a long-lived reusable initial access token, a standing credential to mint statements.¶
A compromised software statement signing key lets an attacker mint statements for every audience that trusts it.¶
Issuers SHOULD protect signing keys according to the scope of their trust relationships and support controlled key rotation.¶
Issuers SHOULD prefer signature algorithms with modern security properties, such as PS256, ES256, or EdDSA, over RSASSA-PKCS1-v1_5 (RS256), and MUST follow [RFC8725] when signing.¶
A software statement does not identify the human or system that approved issuance. Deployments that require approver attribution retain it in an audit record or define a statement claim and its privacy semantics.¶
An approved statement is accepted at every authorization server in its audience, not only within the approver's own scope. The policy governing who may approve issuance MUST be at least as restrictive as the policy governing manual client establishment at the issuer. Approval by a party authorized only for a personal or organizational scope MUST NOT produce a statement whose audience exceeds that scope, or whose aud_tenant names a tenant outside it.¶
To keep a look-alike document from reaching approval, an issuer SHOULD limit what an approver may approve to client identifiers under publisher namespaces it has enrolled.¶
Authorization servers SHOULD keep an audit record that binds each decision, whether approval or denial, to the following:¶
The metadata digest (Section 4.1) of the document the deciding party evaluated.¶
The policy under which the decision was made.¶
The identity of the deciding party.¶
The time of decision.¶
Authorization servers SHOULD retain the exact retrieved octets of the approved document for audit. A re-serialized copy cannot reproduce the digest.¶
The authorization server learns the client identifier URL, the client's metadata document, and information about the party interacting with the authorization endpoint. It SHOULD collect and retain only the information required for issuance, security monitoring, and audit obligations.¶
An aud claim reveals which authorization servers the client intends to use. [STATEMENT] weighs that disclosure against omitting the claim and recommends naming an audience, which an issuer does by requiring one in the request (Section 6).¶
Clients SHOULD NOT present statements outside their intended deployment context. If the relationship is sensitive, a redirect-flow client SHOULD use Pushed Authorization Requests [RFC9126].¶
Approval records can link a person to a client and deployment. Such records SHOULD be access-controlled and retained only as long as required.¶
This specification requests registration of the following values in the IANA "OAuth URI" registry:¶
urn:ietf:params:oauth:grant-type:software-statement¶
OAuth Software Statement Grant Type¶
IESG¶
urn:ietf:params:oauth:token-type:software-statement¶
OAuth Software Statement Token Type¶
IESG¶
This specification, Section 10 and Section 5¶
This specification requests that IANA add this specification, Section 6 and Section 5, as an additional reference for the existing audience parameter registered by [RFC8693] and extend its usage location to include authorization requests. The parameter name and change controller are unchanged.¶
This specification likewise requests that IANA add it as an additional reference for the completion_mode parameter (Section 6). The parameter is defined by [DTR], whose registration already includes authorization requests. The name, usage location, and change controller are unchanged.¶
This specification also requests registration of the following value in the IANA "OAuth Parameters" registry established by [RFC6749]:¶
Both error codes this specification uses at new locations are already registered. This specification requests that IANA add it as an additional reference for each, and extend the usage location of invalid_target to authorization error responses:¶
access_denied¶
IESG¶
[RFC8628], this specification (Section 10.1)¶
invalid_target¶
authorization error response, in addition to the locations already registered¶
IESG¶
Why the software statement code is not an authorization code. Redeeming an authorization code issues an access token under [RFC6749]. This flow issues an artifact that grants nothing. A distinct code keeps implementations that treat any code as redeemable from confusing the two.¶
Why the response uses access_token. [RFC8693] defines the container, so existing token endpoint machinery carries the artifact. The issued_token_type identifies what it is.¶
Why not the device authorization grant. [RFC8628] fits a human decision that outlives a request, and an issuer whose approval is always out of band can use it. It assumes a user co-present with a constrained device who enters a user code elsewhere. Issuance approval is made by an administrator or reviewer who does not operate the client and is often not present, and the client already has a browser. The redirect flow covers an approver reachable through that browser; the token exchange profile covers the case with no browser.¶
Why not a profile of attestation-based client authentication. An attester vouches for a running instance and its key, for as long as it chooses, to the server in front of it; a statement issuer vouches for reviewed software, for days, to every server that trusts it. Profiling one as the other would give the reviewed-software decision an instance-scoped trust model, or give instance attestation unwarranted portability.¶
Why not OpenID Federation trust marks. A trust mark [OPENID-FED] is a signed third-party assertion about an entity, resolved through a federation that supplies key discovery, policy, and delegation and requires both parties to enroll. This specification is pairwise: a consumer configures an issuer directly. Federation standardizes trust resolution, not enrollment, approval, or deferred completion. Ecosystems already operating a federation are better served by trust marks.¶
Deferred capabilities. This version omits callback delivery for deferral.¶
This specification builds on [DTR], [CIMD], and [APPROVAL-DCR]. The author thanks the authors and contributors to those specifications and the OAuth working group participants whose discussions informed this work.¶