| Internet-Draft | oauth-cimd-sw-stmt-idjag | November 2026 |
| McGuinness | Expires 9 May 2027 | [Page] |
This specification defines how an identity provider that issues an Identity Assertion JWT Authorization Grant (ID-JAG) binds the grant to the exact octets of the client's Client ID Metadata Document (CIMD), using the cimd_digest claim that a companion software statement specification defines. A resource authorization server that trusts the identity provider for this purpose can then admit a client it holds no registration for, on the identity provider's decision, with the client's metadata taken from the document whose digest matches. The admission covers only the token request that redeems the grant, and it creates no registration and no refresh token.¶
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 9 May 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.¶
An Identity Assertion JWT Authorization Grant [IDJAG] lets a client obtain, from an identity provider that two trust domains share, an assertion of a user's identity and a delegation to a resource authorization server. The grant names the client in its client_id claim. A client identified by a Client ID Metadata Document (CIMD) [CIMD] uses its client identifier URL at both servers, so no mapping between them is needed (Section 5.1 of [IDJAG]).¶
The grant tells the Resource Authorization Server that the identity provider issued it for that client. It does not say which client metadata that decision covered. The Resource Authorization Server retrieves the client's document itself, and that document can differ from the one the identity provider relied on. A Resource Authorization Server that admits CIMD clients only when a party it trusts has evaluated them has no such party in the request.¶
[STATEMENT] defines a software statement that binds an issuer's review to the octets of a CIMD through the cimd_digest claim. A statement serves when the reviewer is not in the request path (Section 10.2 of [STATEMENT]). When the reviewer is the identity provider that issues the grant, the identity provider can carry the same claim in the grant it already signs.¶
This specification defines the claim's meaning in an ID-JAG and when an identity provider includes it (Section 3), and how a Resource Authorization Server admits a client on it (Section 4). At a minimum, the claim shows that the identity provider issued the grant with these octets as the client's metadata. The claim does not by itself show that the identity provider reviewed the configuration. Any further evaluation is part of the agreement under which the Resource Authorization Server designates the identity provider (Section 8.3). An ordinary ID-JAG redemption can rely on a sender-constrained ID-JAG instead of client authentication (Section 4.4 of [IDJAG]), but a vouched admission requires the client to authenticate at the Resource Authorization Server with a key its document carries, as it did at the identity provider (Section 8.2).¶
This specification extends [STATEMENT] and [IDJAG] and changes neither. A server that does not implement it ignores the claim (Section 4 of [RFC7519]).¶
The following non-normative sequence summarizes a vouched admission:¶
The client authenticates to the IdP Authorization Server in a Token Exchange request (Section 4.3 of [IDJAG]), using its client identifier URL and a key its document carries.¶
If its policy permits issuing an ID-JAG for the client, the IdP Authorization Server includes the cimd_digest claim, computed over the document from which it took that key (Section 3).¶
The client presents the ID-JAG at the Resource Authorization Server's token endpoint (Section 4.4 of [IDJAG]), authenticating with a key the document carries.¶
The Resource Authorization Server validates the ID-JAG, retrieves the document at the URL in the client_id claim, and compares its digest with the claim. If the digests match and its trust configuration designates the issuer, it admits the client with metadata taken from that document (Section 4).¶
The admission covers that request only. A re-submission of the ID-JAG repeats step 4, and a later ID-JAG carries the digest of the document served at that time.¶
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), [CIMD] (Client ID Metadata Documents), and [IDJAG] (IdP Authorization Server, Resource Authorization Server, and ID-JAG), and the term Permitted Method defined in Section 2 of [STATEMENT].¶
This specification defines the following terms.¶
The CIMD whose metadata digest (Section 3.1 of [STATEMENT]) an ID-JAG carries in its cimd_digest claim.¶
An IdP Authorization Server, and for a multi-tenant issuer one of its tenants, that a Resource Authorization Server's trust configuration designates for vouched admission in one of the server's tenants (Section 4.1).¶
A Resource Authorization Server's acceptance of a client for a token request on the cimd_digest claim of an ID-JAG from a designated issuer (Section 4).¶
An ID-JAG MAY contain the cimd_digest claim (Section 3 of [STATEMENT]), whose value is the metadata digest of the client's CIMD. The claim asserts that the IdP Authorization Server's decision to issue the ID-JAG for the client covered the document with those octets. This specification does not define how the IdP Authorization Server reaches that decision (Section 8.3).¶
An IdP Authorization Server MUST NOT include the claim unless all of the following hold:¶
The ID-JAG's client_id claim is a client identifier URL (Section 3 of [CIMD]) and is the client identifier under which the client authenticated in the Token Exchange request (Section 4.3.3 of [IDJAG]), not one mapped from it (Section 5.1 of [IDJAG]).¶
In that request, the client authenticated with a method that proves possession of a key the document carries (Section 5.6.1 of [STATEMENT]), such as private_key_jwt.¶
The claim's value is the metadata digest of the octets of the document that carries that key, in its jwks member or at its jwks_uri, as the IdP Authorization Server obtained them for that authentication, not of octets from another retrieval.¶
The client therefore uses its client identifier URL at the IdP Authorization Server as well, including for the identity assertion or refresh token it exchanges (Section 4.3.3 of [IDJAG]).¶
A Resource Authorization Server compares the digest with the document as Section 5.2 of [STATEMENT] obtains it: by retrieval, or from octets it holds within the bounds of Section 5.3 of [STATEMENT], retrieving the document once more if held octets do not match. A server that requires a vouched admission rejects a digest that still does not match (Section 5), so a digest of an earlier document fails once the server's copy reflects the change. When an IdP Authorization Server authenticates a client for an ID-JAG that will carry the claim, it SHOULD therefore use the document as currently served, revalidating any octets it holds (Section 3.1 of [STATEMENT]), including octets held from pre-registering the client identifier URL (Section 9.2 of [CIMD]).¶
The claim changes no other processing of the ID-JAG at either server.¶
A Resource Authorization Server MUST NOT rely on the claim unless its trust configuration, established out of band, designates the ID-JAG's issuer for vouched admission in the tenant in which the server accepts the ID-JAG (Section 4.4.1 of [IDJAG]). For a multi-tenant issuer, the designation names the issuer and its tenant together (Section 6.1 of [IDJAG]). The server MUST NOT derive the designation from the ID-JAG or from the client's document. Trusting an issuer for ID-JAGs does not by itself designate it.¶
Vouched admission applies to a CIMD client the server holds no registration for. For a registered client, the registration governs and the server ignores the claim, as does a server that does not rely on it. A server's policy can require a vouched admission for a CIMD client it holds no registration for (Section 5).¶
A Resource Authorization Server that relies on the claim processes a token request redeeming an ID-JAG, for a CIMD client it holds no registration for, as follows, rejecting at the first failure (Section 5):¶
Validate the ID-JAG as Section 4.4 of [IDJAG] requires, including the verification of any cnf claim, except for the checks that depend on client authentication: the client continuity check of Section 4.4.1 of [IDJAG], and the rejection in Section 4.4 of [IDJAG] of a request that has neither client authentication nor a sender-constrained ID-JAG. The server completes these deferred checks before it issues an access token on any path.¶
Determine whether the ID-JAG carries the claim and its issuer is a designated issuer for the tenant (Section 4.1). If not, proceed without the claim.¶
Obtain the document at the URL in the client_id claim and validate it as [CIMD] requires. The server MUST reject a document containing duplicate member names, because parsers interpret such names differently despite an identical digest (Section 5.2 of [STATEMENT]). Then compare its digest with the claim, as Section 5.2 of [STATEMENT] requires for a statement's sub and cimd_digest claims. If the digests do not match, proceed without the claim.¶
If the vouched document permits no method other than none that the server supports and its policy allows, proceed without the claim. Otherwise, the server MUST require the client to authenticate with such a method, proving possession of a key the vouched document carries (Section 5.6.1 of [STATEMENT]; Section 8.2), and then completes the deferred checks. For private_key_jwt, Section 5 of [CIMD] already requires this authentication.¶
The server MUST reject the request unless its grant type appears in the vouched document's grant_types member, including the grant type that Section 4.4 of [IDJAG] requires for an ID-JAG bound to a DPoP key. A document that omits the member permits only authorization_code (Section 2 of [RFC7591]), so it permits no redemption of an ID-JAG.¶
If the vouched document has a scope member, the server MUST NOT issue an access token whose scope falls outside it. The server narrows the scope it would otherwise grant (Section 4.4.1 of [IDJAG]) to meet this rule. Authorization details that the server derives from a scope this rule removes (Section 4.4.1 of [IDJAG]) are removed with it. Other authorization details the ID-JAG carries are granted as Section 4.4.1 of [IDJAG] and the server's policy decide, so a grant expressed only through authorization details, or one that grants no scope, is unaffected. If the server would otherwise grant some scope, narrowing removes all of it, and no authorization details remain to grant, the server MUST reject the request.¶
To proceed without the claim, the server obtains the document if it has not already done so and applies its policy for CIMD clients it holds no registration for, as if the ID-JAG carried no claim. The remaining steps and the refresh-token rule below then do not apply, but the deferred checks of step 1 still do. If that policy requires a vouched admission, the server rejects the request (Section 5).¶
The server MUST NOT issue a refresh token in response to a request it admits on the claim, even if the request also presents a statement (Section 7). A vouched admission does not admit a later request, and a record the server keeps of it, such as for audit, does not change that. A later request, including a re-submission of the same ID-JAG (Section 4.4.4 of [IDJAG]), repeats this processing, and can use document octets the server holds within the bounds of Section 5.3 of [STATEMENT].¶
A rejection uses the error response of Section 5.2 of [RFC6749]. A failure of the validation that Section 4.4 or Section 9.11 of [IDJAG] requires uses the error code that [IDJAG] assigns.¶
For a rejection this specification defines, the server uses temporarily_unavailable if a retrieval of the document, or of the key set at its jwks_uri, did not complete (Section 5.3 of [STATEMENT]), and responds with HTTP status code 503, as Section 6 of [STATEMENT] requires. Otherwise, it uses the following error codes:¶
invalid_client:Any of the following:¶
The document cannot be obtained or fails validation as [CIMD] requires (Section 6.1 of [CIMD]), or contains duplicate member names (Section 4.2).¶
The client does not authenticate as step 4 of Section 4.2 requires.¶
invalid_grant:The server's policy requires a vouched admission, the ID-JAG's issuer is a designated issuer for the tenant, and the ID-JAG carries no claim or a claim whose digest does not match. A re-issued ID-JAG may resolve the error (Section 4.4.3 of [IDJAG]), because the IdP Authorization Server can include the claim, or compute it over the document it then holds.¶
access_denied:The server's policy requires a vouched admission, and either the ID-JAG's issuer is not a designated issuer for the tenant (Section 4.1) or the vouched document permits no method that step 4 of Section 4.2 allows. A re-issued ID-JAG will not resolve the error.¶
unauthorized_client:The request's grant type is not in the vouched document's grant_types member.¶
invalid_scope:The server would otherwise grant some scope, narrowing under step 6 of Section 4.2 removes all of it, and no authorization details remain to grant.¶
The following is an example of a client's document, served at https://agent.example/client exactly as shown, with two-space indentation, LF line endings, and a single final newline, and without any indentation added for display (657 octets):¶
{
"client_id": "https://agent.example/client",
"client_name": "Example Agent",
"grant_types": [
"urn:ietf:params:oauth:grant-type:token-exchange",
"urn:ietf:params:oauth:grant-type:jwt-bearer"
],
"token_endpoint_auth_methods_supported": ["private_key_jwt"],
"authorization_grant_profiles_supported": [
"urn:ietf:params:oauth:grant-profile:id-jag"
],
"scope": "chat.read chat.history",
"jwks": {
"keys": [
{
"kty": "EC",
"crv": "P-256",
"kid": "2026-11",
"x": "MKBCTNIcKUSDii11ySs3526iDZ8AiTo7Tu6KPAqv7D4",
"y": "4Etl6SRW2YiLUrN5vfvVHuhp7x8PxltmWWlbbM4IFyM"
}
]
}
}
¶
The following is an example of the payload of an ID-JAG that the IdP Authorization Server issues after the client authenticates with private_key_jwt, using the key in the document's jwks member. The cimd_digest claim is the metadata digest of the document in the previous example.¶
{
"jti": "9e43f81b64a33f20116179",
"iss": "https://acme.idp.example/",
"sub": "U019488227",
"aud": "https://acme.chat.example/",
"client_id": "https://agent.example/client",
"exp": 1793404800,
"iat": 1793404500,
"resource": "https://api.chat.example/",
"scope": "chat.read chat.history",
"cimd_digest": "hoLujUutrork06uug7i0WF3pAiM9IHIUwepB_X_TOMQ"
}
¶
The following is an example of the client redeeming that ID-JAG with the JWT bearer grant (Section 2.1 of [RFC7523]) at a Resource Authorization Server that holds no registration for the client (line breaks for display purposes only):¶
POST /oauth2/token HTTP/1.1 Host: acme.chat.example Content-Type: application/x-www-form-urlencoded grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Ajwt-bearer &assertion=eyJ0eXAiOiJvYXV0aC1pZC1qYWcrand0IiwiYWxnIjoiRVMyNTYi... &client_id=https%3A%2F%2Fagent.example%2Fclient &client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3A client-assertion-type%3Ajwt-bearer &client_assertion=eyJ0eXAiOiJjbGllbnQtYXV0aGVudGljYXRpb24rand0Ii...¶
The Resource Authorization Server validates the ID-JAG, retrieves the document, and finds that its digest matches the claim. It verifies the client assertion against the key in the document's jwks member, checks that the document's grant types include the JWT bearer grant, and issues an access token whose scope falls within the document's scope. It issues no refresh token and keeps no registration.¶
A software statement [STATEMENT] and the claim this specification defines both bind a decision to the octets of a client's document. They differ in who carries the decision and how often. A statement is issued once for software and presented or pulled at many servers, so it serves a reviewer that is not in the request path, such as a client catalog. The claim rides a grant that the IdP Authorization Server issues per user and request, so it serves when the reviewer is the identity provider that issues the grant. Such an identity provider could instead issue statements confined to a tenant with aud_tenant, but the claim needs no second artifact and no separate issuance step.¶
A Resource Authorization Server MAY require both. A token request that redeems an ID-JAG can also present a statement (Section 5.4.1 of [STATEMENT]). Each is then processed under its own specification, neither substitutes for the other, and the refresh-token rule of Section 4.2 still applies. A vouched admission does not satisfy a required issuer (Section 4 of [STATEMENT]), because it is not a statement.¶
The following table states what a vouched admission does and does not establish:¶
| Property | Established |
|---|---|
| A designated issuer decided to issue the ID-JAG for this client with this document | Yes |
| The document the server retrieved is the one that decision covered, octet for octet | Yes |
| The presenter controls a key the document carries | Yes, before any token is issued. A jwks_uri attests only the keys' location (Section 8.5) |
| The issuer reviewed the configuration beyond deciding to issue the grant | Only as the designation agreement provides (Section 8.3) |
| The running software is the software the issuer evaluated | No |
| The client may access a particular resource | No; the ID-JAG's authorization and the server's policy decide |
| The document's redirection URIs are approved for authorization requests | No; a vouched admission covers only the token request that redeems the ID-JAG |
Possession of the key bound to a sender-constrained ID-JAG shows that the presenter holds the key the IdP Authorization Server bound to the ID-JAG for the client (Section 9.1 of [IDJAG]), and that key need not appear in the client's document. A vouched admission takes the client's metadata from the vouched document, so it requires the presenter to prove a key that same document carries (Section 4.2). The Resource Authorization Server then verifies for itself that the presenter controls the client the document describes, instead of relying on the IdP Authorization Server's earlier authentication. The requirement does not duplicate the IdP Authorization Server's check. For private_key_jwt, Section 5 of [CIMD] already requires the same check of a server that supports the method when a document declares it. For other methods, such as self_signed_tls_client_auth, this specification adds it.¶
The claim does not say how the IdP Authorization Server evaluated the document. At a minimum, it shows that the IdP Authorization Server's policy let this client, with this document as its metadata, receive this grant. An IdP Authorization Server that approves clients by identifier and digests whatever document is served at the time gives less assurance than one that pins its approval to a document it reviewed. A Resource Authorization Server learns which applies from the agreement under which it designates the issuer, as the assurance of a statement rests on its issuer's review process (Section 13.1 of [STATEMENT]).¶
Designating an issuer extends to client software the trust a Resource Authorization Server already places in it for users. A designated issuer can admit any CIMD client in the tenant. A server that wants to confine it to particular software does so by policy, for example by refusing documents outside client identifier namespaces it configures, as Section 4 of [STATEMENT] does for statement issuers.¶
The digest comparison detects a document that changed between the two servers' retrievals. It also detects a document served differently to the two, which Section 4.5 of [CIMD] forbids. A changed document fails the comparison until the IdP Authorization Server issues an ID-JAG over the current one.¶
If the IdP Authorization Server keeps digesting octets it held before the change, its ID-JAGs keep failing at a server that requires a vouched admission. The client requests one new ID-JAG and then stops (Section 4.4.4 of [IDJAG]), so the failure lasts as long as the IdP Authorization Server reuses the earlier octets (Section 3).¶
An ID-JAG's lifetime bounds how long it can admit the client: after its exp, it admits no further request. A Resource Authorization Server can shorten that bound by rejecting an ID-JAG whose exp is later than its policy allows (Section 4.4.4 of [IDJAG]). An IdP Authorization Server ends its vouching for a document by issuing no further ID-JAG with that document's digest, and an ID-JAG already issued remains usable until it expires or the Resource Authorization Server refuses its re-submission.¶
Neither expiry nor the end of vouching invalidates an access token already issued, which remains usable for its own lifetime. The prohibition of refresh tokens does not change that. A server that needs access to end when the ID-JAG expires limits the lifetime of the access tokens it issues on the claim.¶
A document's jwks_uri member is attested as a location, not as contents (Section 13.2 of [STATEMENT]). The IdP Authorization Server and the Resource Authorization Server can obtain different key sets from the same location without any change to the digest. Requiring both servers to take keys from the vouched document does not prevent this. A document that carries its keys inline in jwks, as in Section 6, does.¶
The claim is the digest of a document that is already public. It tells the Resource Authorization Server nothing about the user, and nothing about the client beyond the document the server can retrieve itself. The server's retrieval of the document is the same as for any CIMD client and has the same side channel (Section 11.1 of [CIMD]).¶
This specification requests that IANA update the cimd_digest entry that [STATEMENT] registers in the "JSON Web Token Claims" registry established by [RFC7519], so that its description covers a digest carried in a JWT other than a software statement. The digest algorithm and encoding are unchanged.¶
This specification follows working-group discussion of how an identity provider issuing an ID-JAG could vouch for a client's metadata.¶
[[ To be removed from the final specification ]]¶
-00¶
Initial version.¶