Web Authorization Protocol K. McGuinness
Internet-Draft Independent
Intended status: Standards Track 16 November 2026
Expires: 20 May 2027
OpenID Federation Trust Methods for Identity Assertion Grants
draft-mcguinness-oauth-id-assertion-federation-latest
Abstract
This document defines two Trust Methods, based on OpenID Federation,
for the OAuth Identity Assertion Trust Framework. Under
openid_federation, a Resource Authorization Server authenticates an
Assertion Issuer through a federation trust chain, any Trust Marks
its Trust Policy requires, and a federation-bound signing key. Under
openid_federation_client, it recognizes the OAuth client that
presents an identity assertion, including a client whose first
request is a token request. This document also extends the framework
with the client_recognition Trust Method category and the
client_trust_methods Trust Policy member.
Discussion Venues
This note is to be removed before publishing as an RFC.
Discussion of this document takes place on the Web Authorization
Protocol Working Group mailing list (oauth@ietf.org), which is
archived at https://mailarchive.ietf.org/arch/browse/oauth/.
Source for this draft and an issue tracker can be found at
https://github.com/mcguinness/draft-mcguinness-oauth-id-assertion-
framework.
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 20 May 2027.
Copyright Notice
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.
Table of Contents
1. Introduction
2. Conventions and Terminology
3. Federation Checks
3.1. Members
3.2. Chain Requirements
3.3. Lookup States and Caching
4. The openid_federation Trust Method
5. Client Recognition
5.1. The client_recognition Category
5.2. The client_trust_methods Member
5.3. Processing
5.4. The openid_federation_client Trust Method
6. Operational Considerations
7. Security Considerations
7.1. Trust Anchor Key Rollover
7.2. Key Substitution by a Superior
7.3. Client Recognition
8. Privacy Considerations
9. IANA Considerations
9.1. Identity Assertion Trust Method Categories Registration
9.2. Identity Assertion Trust Methods Registrations
9.3. Trust Policy Members Registration
10. References
10.1. Normative References
10.2. Informative References
Appendix A. OpenID Federation Walkthrough
A.1. Trust Mark Requirement Without an Issuer
Appendix B. Client Recognition Walkthrough
Appendix C. Document History
Author's Address
1. Introduction
A client presents an ID-JAG [ID-JAG] that an identity provider, the
Assertion Issuer, issued for alice@partner.example. The token
request carries two JWTs: the client signed one to authenticate
itself, and the identity provider signed the ID-JAG to make a claim
about Alice. The Resource Authorization Server has to know whose key
verifies each signature and what each successful check establishes.
With OpenID Federation [OIDF-FEDERATION], the server can verify the
identity provider's signing key and check that the provider belongs
to a federation it accepts. It can also require the client to
authenticate with a key from the client's own federation metadata,
even on the client's first token request. Neither check says whether
the identity provider may assert identities for partner.example.
Federation answers "is this issuer an authentic member of the
ecosystem?", not "is it authorized for this namespace?". A separate
namespace check, such as [DAI], answers that.
This document defines a Trust Method of the OAuth Identity Assertion
Trust Framework [TRUST-FRAMEWORK] for each federation check:
* openid_federation, in the issuer_authentication category, checks
the identity provider: its trust chain validates to a listed trust
anchor, it holds any required Trust Marks, and the ID-JAG's
signature verifies under a federation-bound key (Section 4).
* openid_federation_client, in the client_recognition category,
checks the client: it is a federation Entity, and it authenticates
with a key that its federation metadata publishes (Section 5.4).
Section 3 defines what the two methods share. The framework lets a
Resource Authorization Server publish a Trust Policy that names the
Trust Methods an identity assertion must satisfy, and it defines the
categories, the combination rule, and the token-endpoint procedure.
This document extends the framework with the client_recognition
category, the client_trust_methods Trust Policy member, and the
processing they add (Section 5). The framework composes with
federation rather than replacing it. Appendix B follows the full
exchange.
2. Conventions and Terminology
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 document uses the terms Resource Authorization Server, Assertion
Issuer, identity assertion, Trust Policy, Trust Method, Subject
Authority, and Consumer as defined in [TRUST-FRAMEWORK]. OpenID
Federation terms, such as Entity, Entity Identifier, Entity
Configuration, Subordinate Statement, trust anchor, and Trust Mark,
are used as defined in [OIDF-FEDERATION].
3. Federation Checks
The two Trust Methods in this document evaluate an OpenID Federation
[OIDF-FEDERATION] Entity, called the leaf, through the checks in this
section. Each method names its leaf and adds its own requirements:
+============+============================+========================+
| | openid_federation |openid_federation_client|
+============+============================+========================+
|Category | issuer_authentication |client_recognition |
+------------+----------------------------+------------------------+
|Leaf | The Assertion Issuer that |The client that the |
| | iss names |token request |
| | |authenticates |
+------------+----------------------------+------------------------+
|Entity types| openid_provider or |oauth_client, or |
| | oauth_authorization_server |openid_relying_party |
| | |when the leaf declares |
| | |no oauth_client |
+------------+----------------------------+------------------------+
|Key source | The metadata of either |The metadata of the |
| | entity type; an extension- |selected entity type |
| | defined source only when |only |
| | the metadata carries none | |
+------------+----------------------------+------------------------+
|The key | The ID-JAG signature |Client authentication |
|verifies | | |
+------------+----------------------------+------------------------+
|Own | Section 4 |Section 5.4 |
|requirements| | |
+------------+----------------------------+------------------------+
Table 1
The entity-type difference is deliberate. An Assertion Issuer can be
both an OpenID Provider and an OAuth authorization server and publish
keys as either. [OIDF-FEDERATION-CONNECT] §12 uses oauth_client for
OAuth clients other than OpenID Connect Relying Parties, so the
client method prefers that type and never combines the two.
Section 7.2 gives the consequence of accepting either type for an
issuer.
3.1. Members
A Trust Method object for either method has the following members:
trust_anchors REQUIRED. Non-empty JSON array of OpenID Federation
trust anchor entity identifiers. An identifier does not
authenticate the trust anchor: the Resource Authorization Server
holds each listed trust anchor's public keys, initially obtained
in a secure out-of-band way ([OIDF-FEDERATION] §4), not from the
trust anchor's Entity Configuration alone. A chain to a listed
trust anchor whose keys it does not hold is Indeterminate.
Section 7.1 covers later key changes.
trust_marks OPTIONAL. Non-empty JSON array of Trust Mark
requirement objects. When present, each requirement object listed
MUST be satisfied by at least one Trust Mark in the leaf's Entity
Configuration. Each requirement object has:
trust_mark_type REQUIRED. String. The Trust Mark type
identifier.
issuer OPTIONAL. String. The Entity Identifier of the Trust
Mark Issuer expected to have signed the Trust Mark. When
absent, the Trust Mark's iss claim MUST appear in the non-empty
array that the terminal trust anchor's trust_mark_issuers claim
gives for that Trust Mark type. If the trust anchor gives no
such array, or an empty one, the requirement is not satisfied.
This deliberately narrows OpenID Federation, which allows any
issuer when no issuer restriction is published.
The Trust Policy governs Trust Mark requirements for identity
assertions. A Resource Authorization Server that also advertises
Trust Mark requirements through discovery metadata SHOULD keep those
advertisements consistent with this policy. Discovery advertisements
do not replace enforcement of its Trust Method requirements.
3.2. Chain Requirements
Trust chain validation, metadata policy resolution, and validation of
the Trust Marks that the Trust Mark satisfaction requirement relies
on follow [OIDF-FEDERATION] §10.2 and §7.3. If any fails, the method
fails.
In addition to the procedures in [OIDF-FEDERATION], the Resource
Authorization Server MUST apply the following requirements, and those
of the method being evaluated:
* *Trust anchor match.* The terminal trust anchor of the validated
chain MUST exactly match one of the listed trust_anchors values.
A chain to any listed trust anchor satisfies this requirement;
failure to build a chain to one listed trust anchor does not
prevent evaluating chains to the others ([TRUST-FRAMEWORK]
§Multiple Evidence Sources Within a Category).
* *Trust Mark satisfaction.* If the Trust Method object contains
trust_marks, each requirement object MUST be satisfied by at least
one Trust Mark that appears in the trust_marks claim of the leaf's
Entity Configuration and meets all of the following:
- It validates per [OIDF-FEDERATION] §7.3.
- Its trust_mark_type equals the requirement's trust_mark_type.
- Its iss claim equals the requirement's issuer, or, when issuer
is absent, satisfies the rule in the issuer member definition
(Section 3.1).
The type in the Entity Configuration entry MUST match the type in
the validated Trust Mark JWT. The issuer is taken from the JWT's
iss claim, not from the enclosing entry. [OIDF-FEDERATION] §7.3
requires trust in the Trust Mark Issuer before validation. That
trust MUST be established through a trust chain terminating at the
same trust anchor as the leaf's chain. That is the trust anchor
whose trust_mark_issuers claim applies when issuer is absent.
Every requirement, here and in the method's own section, MUST hold on
one chain: the metadata, key source, and Trust Marks used are those
of the chain that satisfies the trust anchor match.
For each method's entity-type requirement, a present Entity Type
member whose value is an object declares that type, even when the
object is empty. This does not waive metadata validation required by
the applicable federation specifications.
3.3. Lookup States and Caching
Lookup states ([TRUST-FRAMEWORK] §Lookup States and Fail-Closed):
* *Affirmative*: a fully validated chain from the leaf to a listed
trust anchor.
* *Negative*: any of these:
- the fetch of the leaf's Entity Configuration returns HTTP 404
or 410 (the leaf does not participate in federation);
- the leaf's chains validate, but none reaches a listed trust
anchor; or
- every Superior in the leaf's authority_hints answers the fetch
endpoint request for the leaf with the not_found error
([OIDF-FEDERATION] §8.1.2 and §8.9).
* *Indeterminate*: any other failure to obtain or validate the
chain, such as:
- an Entity Statement fetch that fails or times out;
- a signature that cannot be verified because key material is
unavailable; or
- an expired statement that cannot be refreshed.
The requirements of Section 3.2 and of the method are evaluated
against an Affirmative chain. A chain that fails the trust anchor
match is Negative, as above. A leaf that fails any other
requirement, such as one that declares no permitted entity type,
whose key does not verify under the permitted key source, or that
holds no valid Trust Mark meeting a requirement, does not satisfy the
method, and the lookup state is unchanged, except as the next
paragraph says.
A Trust Mark that fails validation per [OIDF-FEDERATION] §7.3 does
not meet a requirement. Only a retrieval the method needs and cannot
complete, or the absence of any qualifying key source, is
Indeterminate. The retrievals are those of:
* the permitted key source;
* a Trust Mark Issuer's chain; or
* a Trust Mark Status endpoint the Resource Authorization Server
relies on.
Neither Negative nor Indeterminate satisfies the method
([TRUST-FRAMEWORK] §Fail-Closed Requirements). Entity Statement
caching follows the statements' own exp values per [OIDF-FEDERATION],
bounded by the consumer's local cache ceiling. A cached chain MUST
NOT be used past the earliest exp in the chain, or more than 24 hours
after it was obtained. The same 24-hour limit applies to a key set
obtained through the method's key source. These limits hold while a
fresh lookup is Indeterminate: neither method allows stale use beyond
them ([TRUST-FRAMEWORK] §Fail-Closed Requirements). A Trust Mark
that the Trust Mark satisfaction requirement relies on MUST be re-
validated whenever the chain is. For a Trust Mark without exp, that
includes its Trust Mark Status endpoint ([OIDF-FEDERATION] §8.4) when
the Trust Mark Issuer publishes one. A Trust Mark is not used past
its own exp.
The fetches that [TRUST-FRAMEWORK] §Outbound Fetches governs include
the leaf's Entity Configuration, the Entity Statements reached
through its authority_hints, its key sets, and the chain of a Trust
Mark Issuer.
4. The openid_federation Trust Method
issuer_authentication-category methods are satisfied by evidence that
the Assertion Issuer belongs to a recognized ecosystem. Membership
alone does not establish authority over any particular subject
namespace.
Under the openid_federation method, the Assertion Issuer is
acceptable if its OpenID Federation [OIDF-FEDERATION] trust chain
validates to a listed trust anchor and the leaf holds any Trust Marks
the policy requires. The Assertion Issuer, whose iss value is its
Entity Identifier ([TRUST-FRAMEWORK] §Terminology), is the leaf of
Section 3, and the method's members are those of Section 3.1.
{
"method": "openid_federation",
"trust_anchors": ["https://federation.example.org"],
"trust_marks": [
{
"trust_mark_type": "https://federation.example.org/tm/loa3",
"issuer": "https://federation.example.org"
}
]
}
The following requirements also apply:
* *Entity type constraint.* The leaf's policy-applied federation
metadata MUST declare one of the entity types openid_provider or
oauth_authorization_server ([OIDF-FEDERATION-CONNECT] §5.1.2 and
§5.1.3), under the type-declaration rule of Section 3.2. The
presence of other entity types alone does not satisfy this
requirement.
* *Federation-bound key resolution.* The signing key for the
identity assertion JWT MUST be taken from a key set that the
leaf's policy-applied metadata designates, or that is otherwise
bound to the leaf's Entity Identifier through the validated trust
chain.
Key sources are permitted in this order: those in the leaf's
policy-applied metadata; when the metadata carries none, a source
that an extension of this method defines; never any other. The
paragraphs below give each in turn.
The key sources defined in [OIDF-FEDERATION] §5.2.1 satisfy this
requirement. Each is the jwks, jwks_uri, or signed_jwks_uri value
in the leaf's policy-applied openid_provider or
oauth_authorization_server metadata, processed per that
specification. If both openid_provider and
oauth_authorization_server metadata carry a key source, a key from
either satisfies this requirement.
For jwks_uri, the trust chain authenticates the URI, not the key
set it returns. The returned key set relies on HTTPS to that
endpoint unless an extension, such as [OIDF-WKB], also binds the
key set. When the metadata's jwks_uri names the URL whose key set
an extension binds, a consumer that applies the binding treats a
failed binding as failure to validate that key source.
Specifications that extend this Trust Method MAY define additional
key sources that satisfy it. If the policy-applied metadata
carries a key source, that source is the only one permitted. An
extension-defined source is used only when the metadata carries
none. Failure to retrieve or validate the metadata's key source
MUST NOT trigger fallback to an extension-defined source.
Federation metadata_policy constrains Entity Type metadata in
Entity Statements, not members carried only in documents that an
extension binds by digest. A Superior that needs to constrain
such a member, such as jwks_uri, marks it essential
([OIDF-FEDERATION] §6.1.3.1.7), so that the leaf's policy-applied
Entity Type metadata must carry it. This requirement then selects
that value.
The proposed Well-Known Binding mechanism [OIDF-WKB] is one such
extension. It reads no Entity Type metadata. It lets an
[RFC8414] authorization server bind its existing JWK Set to its
Entity Identifier by listing the set's digest in its Entity
Configuration. It changes how issuer-authentication evidence is
bound, not who holds authority over a subject namespace. This
document does not require support for it. A consumer without a
supported qualifying key source returns Indeterminate. Where
[OIDF-WKB] §8.4 has an Entity return trust_mark_required for a
missing Trust Mark, naming the missing types, a Resource
Authorization Server applying the framework returns the error that
[TRUST-FRAMEWORK] §Resource Authorization Server Processing
specifies, which keeps trust-evaluation detail from public
clients.
A JWK Set obtained any other way, including from the jwks_uri of
[RFC8414] metadata that no qualifying source binds, MUST NOT be
used. This prevents a downgrade in which an attacker who can
alter the Assertion Issuer's [RFC8414] metadata, but not its
federation metadata, substitutes the key source. If no qualifying
key source is available, or its binding cannot be verified, the
outcome is Indeterminate ([TRUST-FRAMEWORK] §Lookup States and
Fail-Closed).
5. Client Recognition
This section extends [TRUST-FRAMEWORK] with a Trust Method category
for the OAuth client that presents an identity assertion, a Trust
Policy member that lists methods in that category, the processing
they add, and one method in that category.
5.1. The client_recognition Category
This document registers the following Trust Method category
(Section 9.1), in addition to those of [TRUST-FRAMEWORK] §Trust
Method Categories:
client_recognition Is the OAuth client presenting the assertion, as
authenticated at the token endpoint, recognized by an authority
the Resource Authorization Server accepts? Methods in this
category are listed in client_trust_methods. They evaluate the
authenticated client, never a claim in the assertion
(Section 5.3). Recognition does not authorize the client to act
for a particular user. The grant profile's client binding does
that (for ID-JAG, [ID-JAG] §4.4.1).
For a client_recognition method, the party whose evaluation its
specification defines ([TRUST-FRAMEWORK] §Requirements on Trust
Method Specifications) is the authenticated client.
As for issuer_authentication ([TRUST-FRAMEWORK] §Multiple Evidence
Sources Within a Category), every evidence source the Trust Policy
lists for this category is equally trusted, so a client_recognition
Trust Method specification MAY accept evidence from any of them. For
openid_federation_client, this means a chain to any listed trust
anchor.
client_recognition-category methods are satisfied by evidence about
the OAuth client that presents an identity assertion at the token
endpoint. These methods evaluate the client that the grant profile's
client authentication identifies (Section 5.3). For ID-JAG, the
assertion's client_id claim, set by the Assertion Issuer, identifies
the same client ([ID-JAG] §4.4.1). Recognizing a client does not
authorize any Assertion Issuer, and authorizing an Assertion Issuer
does not recognize any client.
A client whose keys are published only in an OAuth Client ID Metadata
Document [I-D.ietf-oauth-client-id-metadata-document] does not
satisfy openid_federation_client (Section 5.4).
5.2. The client_trust_methods Member
This document registers the following Trust Policy member
(Section 9.3):
client_trust_methods OPTIONAL. Non-empty JSON array of Trust Method
objects ([TRUST-FRAMEWORK] §Trust Methods) whose methods belong to
the client_recognition category (Section 5.1). When present, it
states the trust requirements the Resource Authorization Server
enforces against the client presenting an identity assertion. An
assertion is rejected unless the authenticated client satisfies
the Trust Method combination rule in [TRUST-FRAMEWORK] §Resource
Authorization Server Processing against the methods listed here.
An object in this member counts only toward the client_recognition
category. A method outside that category is malformed here.
A Trust Policy that contains client_trust_methods MUST list
client_trust_methods in crit ([TRUST-FRAMEWORK] §Critical Members).
A Resource Authorization Server that implements this document
processes client_trust_methods whether or not crit lists it. A
Resource Authorization Server that implements only [TRUST-FRAMEWORK]
rejects a policy that lists the member in crit instead of ignoring
its requirements on clients, and a client that does not implement the
member cannot read that policy as placing no requirement on clients.
A policy that omits the member from crit gets neither protection: a
server that implements only [TRUST-FRAMEWORK] ignores the member
([TRUST-FRAMEWORK] §Trust Policy Document) and can accept assertions
presented by clients that the member would reject.
5.3. Processing
This section adds a client recognition stage to the procedure of
[TRUST-FRAMEWORK] §Resource Authorization Server Processing, which
lets a specification that registers a category state where in that
procedure its checks run and how its errors rank. Step numbers below
are those of that procedure.
*Client processing.* In step 4 of [TRUST-FRAMEWORK] §Client
Processing, if the Trust Policy contains client_trust_methods, the
client also determines whether it satisfies them, for example whether
its client_id is an Entity Identifier in a listed federation.
*Resource Authorization Server processing.* For a token request that
presents an identity assertion, the Resource Authorization Server
proceeds in the order below. Stages 2 and 3 apply only when the
Trust Policy selected in stage 1 contains client_trust_methods.
1. *Select the Trust Policy (step 1).* Call the policy that applies
without regard to the client, such as the one the Resource
Authorization Server publishes ([TRUST-FRAMEWORK] §Metadata
Publication), the default policy. A Resource Authorization
Server that holds more than one Trust Policy selects in this
order:
* When the default policy lists openid_federation_client and the
request's client_id is an https URL, the default policy. The
Resource Authorization Server MUST NOT select a policy without
client_trust_methods for such a request, even when it holds a
registration for that client_id. One example is an Explicit
Registration that kept the Entity Identifier
([OIDF-FEDERATION-CONNECT] §12.2.2).
* Otherwise, when the request's client authentication verifies
against a registration the server holds, the policy for that
client. A public client does not authenticate against its
registration ([RFC6749] Section 2.3).
* Otherwise, including for a request that names a registered
client_id without authenticating as that client, the default
policy.
A Resource Authorization Server that already uses https URLs as
client_id values for clients outside a federation therefore
cannot list openid_federation_client in its default policy
without rejecting those clients. This document defines no other
way to combine registered and federation clients.
2. *Authenticate the client (before step 2).* Step 5a of the
framework applies first to the objects in client_trust_methods:
an unrecognized or malformed object rejects the request with the
error that [TRUST-FRAMEWORK] §Resource Authorization Server
Processing specifies. The Resource Authorization Server MUST
then authenticate the client, and evaluate the client_recognition
category (stage 3), before step 2. If the request carries no
client authentication that the Resource Authorization Server
accepts, it MUST reject the request with an invalid_client error
([RFC6749] Section 5.2). [ID-JAG] §4.4.1 lets a client that does
not authenticate prove possession of the key in the ID-JAG's cnf
claim instead; such a request is rejected with invalid_client,
which narrows [ID-JAG] §4.4.1.
Before authenticating the client, the Resource Authorization
Server MUST NOT perform any lookup except those a
client_recognition method needs to obtain the client's
authentication keys. An example is the trust chain and key set
that openid_federation_client resolves.
3. *Recognize the client (before step 2).* The Resource
Authorization Server MUST evaluate the client_recognition
category against the client that the request's client
authentication ([RFC6749] Section 2.3) identifies, never against
a claim in the assertion. This is step 5b of the framework for
that category, and the party that step 5b evaluates is the
authenticated client.
4. *Process the assertion (steps 2 through 6).* The Resource
Authorization Server then validates the assertion and evaluates
the other categories that the policy lists, as the framework
specifies.
*Errors.* An error from stage 2 or 3, or from a client_recognition
method, takes precedence over any other error.
Appendix B walks through first contact, rejection, cached trust, and
coexistence with registered clients.
5.4. The openid_federation_client Trust Method
Under the openid_federation_client method, the client is acceptable
if it is an OpenID Federation [OIDF-FEDERATION] Entity whose trust
chain validates to a listed trust anchor and that holds any Trust
Marks the policy requires.
{
"method": "openid_federation_client",
"trust_anchors": ["https://federation.example.org"]
}
The client's Entity Identifier is the leaf of Section 3, and the
method's members are those of Section 3.1.
As in Automatic Registration ([OIDF-FEDERATION-CONNECT] §12.1), the
client's client_id is its Entity Identifier. Unlike it, this method
covers a client whose first request is a token request, places none
of the obligations of §12.1 on the client, and is evaluated for each
token request that presents an identity assertion. The client_id
MUST equal the sub of the client's Entity Configuration by simple
string comparison. A client whose client_id is not an Entity
Identifier ([OIDF-FEDERATION] §1.2) does not satisfy this method, and
the lookup state is Negative.
The following requirements also apply:
* *Entity type constraint.* The leaf's policy-applied federation
metadata MUST declare the entity type oauth_client or
openid_relying_party ([OIDF-FEDERATION-CONNECT] §5.1.4 and
§5.1.1), under the type-declaration rule of Section 3.2. The
client metadata is the policy-applied oauth_client metadata, or,
if the leaf declares no oauth_client type, the
openid_relying_party metadata. [OIDF-FEDERATION-CONNECT] §12 uses
oauth_client for OAuth 2.0 profiles other than OpenID Connect.
Metadata from the two types is never combined.
* *Federation-bound client authentication key.* Client
authentication MUST verify under a key in a key set that the
client metadata designates through jwks, jwks_uri, or
signed_jwks_uri ([OIDF-FEDERATION] §5.2.1), processed as that
section specifies. For jwks_uri, the trust chain authenticates
the URI, not the key set it returns. That key set relies on HTTPS
to that endpoint. The permitted client authentication methods
are:
- JWT client authentication ([RFC7523] Sections 2.2 and 3, as
updated by [RFC10070]) with a JWT signed by such a key, whose
aud claim is the Resource Authorization Server's issuer
identifier as its sole value, as a string or as an array with
only that element ([RFC10070] Section 4); and
- self-signed certificate mutual TLS ([RFC8705] Section 2.2) with
a certificate equal to the first certificate in the x5c value
of such a key, without certificate chain validation.
These are the two methods that [OIDF-FEDERATION-CONNECT] §12.1.1.2
names for a Pushed Authorization Request, where, as on a first
token request, the client authenticates before any registration
exists. They are narrower than [OIDF-FEDERATION-CONNECT] §12.1.4,
under which a server should accept any mutually supported method.
The aud value is the issuer identifier, not an Entity Identifier,
because the Resource Authorization Server need not be a federation
Entity.
A client that authenticates any other way does not satisfy this
method. Keys the Resource Authorization Server knows only through
another source, such as out-of-band registration or a client
metadata document, do not count. If no such key set is available,
or it cannot be retrieved or validated, the outcome is
Indeterminate.
* *Declared client metadata.* The client metadata MUST declare the
method the client authenticates with, in
token_endpoint_auth_method or
token_endpoint_auth_methods_supported ([OIDF-FEDERATION-CONNECT]
§12.1.4), and MUST list the token request's grant type in
grant_types ([RFC7591] Section 2). A client that omits them does
not satisfy this method. The [RFC7591] defaults,
client_secret_basic and authorization_code, would not permit the
request either. A Superior can constrain both through metadata
policy ([OIDF-FEDERATION] §6.1).
When the Resource Authorization Server relies on this method to
satisfy the client_recognition category, it MUST NOT accept the
assertion unless client authentication verified under a key this
method permits.
The keys come from the trust chain, so the Resource Authorization
Server resolves the client's trust chain and key set before it
verifies client authentication. The error for a failure depends on
the condition, not on when it is detected. When more than one
condition applies, the first row of this table that applies
determines the error ([RFC6749] Section 5.2 defines invalid_client
and unauthorized_client). "Authenticated" means authenticated under
a key that this method permits:
+=========================+===============+======================+
| What the server | What it has | Error |
| observes | established | |
+=========================+===============+======================+
| The request carries no | The client is | invalid_client |
| client authentication | not | |
| that the server accepts | authenticated | |
| (Section 5.3) | | |
+-------------------------+---------------+----------------------+
| The client_id is not an | The client is | invalid_client |
| Entity Identifier | not | |
| | authenticated | |
+-------------------------+---------------+----------------------+
| No trust chain reaches | The client is | invalid_client |
| a listed trust anchor | not | |
| | authenticated | |
+-------------------------+---------------+----------------------+
| The chain or the key | The client is | invalid_client |
| set is Indeterminate | not | |
| | authenticated | |
+-------------------------+---------------+----------------------+
| The metadata declares | The client is | invalid_client |
| neither entity type | not | |
| | authenticated | |
+-------------------------+---------------+----------------------+
| The client | The client is | invalid_client |
| authenticates by a | not | |
| method that this method | authenticated | |
| does not permit, such | | |
| as with a client secret | | |
+-------------------------+---------------+----------------------+
| The client | The client is | invalid_client |
| authenticates with a | not | |
| method its metadata | authenticated | |
| does not declare | | |
+-------------------------+---------------+----------------------+
| Client authentication | The client is | invalid_client |
| does not verify under a | not | |
| key in the federation | authenticated | |
| key set | | |
+-------------------------+---------------+----------------------+
| The client holds no | The client is | unauthorized_client |
| Trust Mark that meets a | authenticated | |
| requirement | but not | |
| (Section 3.2) | recognized | |
+-------------------------+---------------+----------------------+
| The Trust Mark | The client is | unauthorized_client |
| evaluation is | authenticated | |
| Indeterminate | but not | |
| | recognized | |
+-------------------------+---------------+----------------------+
| The client's metadata | The client is | unauthorized_client |
| does not list the | authenticated | |
| request's grant type | but not | |
| | recognized | |
+-------------------------+---------------+----------------------+
| The ID-JAG's client_id | The client is | invalid_grant |
| claim names a different | recognized; | |
| client ([ID-JAG] | the grant | |
| §4.4.1) | fails | |
+-------------------------+---------------+----------------------+
| The assertion or an | The client is | The error that |
| issuer method fails | recognized; | [TRUST-FRAMEWORK] |
| otherwise | the grant | §Resource |
| | fails | Authorization Server |
| | | Processing specifies |
+-------------------------+---------------+----------------------+
Table 2
Any token request can name an https client_id, and so cause these
fetches before the client is authenticated. They include a fetch for
every Entity in the client's authority_hints ([OIDF-FEDERATION]
§18.1). Before the client is authenticated, the Resource
Authorization Server:
* MUST limit the number of authority_hints it follows; and
* MUST apply a global rate limit to trust chain resolution for
unauthenticated requests.
Section 6 adds per-client_id measures.
A client that does not publish its Entity Configuration
([OIDF-FEDERATION] §9) can send its trust chain in a trust_chain
header parameter of its client assertion ([OIDF-FEDERATION] §4.3).
The Resource Authorization Server MAY use that chain in place of
resolving one, after validating it per [OIDF-FEDERATION] §10.2. It
resolves the chain itself instead if any Entity Statement in the
supplied chain was issued more than 24 hours earlier. Without a
published Entity Configuration or a valid supplied chain, the client
does not satisfy this method.
The Resource Authorization Server caches the client's key set no
longer than the trust chain (Section 3.3). Section 6 covers a key
the cached key set lacks.
Clients registered through Explicit Registration
([OIDF-FEDERATION-CONNECT] §12.2) receive a client_id that need not
be their Entity Identifier. This method covers such a client only
when its client_id is its Entity Identifier. Policy selection for a
request whose client_id is an https URL is limited in Section 5.3.
6. Operational Considerations
These measures bound the work that token requests cause under
openid_federation_client (Section 5.4) and let clients rotate keys:
* Before the client is authenticated, the Resource Authorization
Server SHOULD cache a Negative or Indeterminate outcome per
client_id for a bounded period, and SHOULD also rate-limit trust
chain resolution per client_id.
* A client assertion signed with a key whose kid the cached key set
lacks MAY prompt one fresh fetch of the key set, rate-limited per
client, before the request is rejected.
7. Security Considerations
The security considerations of [TRUST-FRAMEWORK] and
[OIDF-FEDERATION] apply.
7.1. Trust Anchor Key Rollover
[TRUST-FRAMEWORK] §Evidence Source Compromise covers compromise of
the federation operator's signing key.
Trust anchor key rollover in [OIDF-FEDERATION] §11.2 has no mandatory
hold-down period: a compromised current key can introduce a
replacement immediately. Resource Authorization Servers SHOULD
obtain trust anchor keys through an independent channel where the
Federation Operator provides one, as [OIDF-FEDERATION] §11.3
recommends. Routine rollover alone does not provide recovery from
trust anchor compromise.
7.2. Key Substitution by a Superior
[TRUST-FRAMEWORK] §Key Binding Is Outside Namespace Authorization
lists the parties that decide which key speaks for an authorized
issuer identifier.
Under openid_federation, the leaf's policy-applied metadata supplies
the key source (Section 4). An Immediate Superior can supply that
metadata ([OIDF-FEDERATION] §3.1.1). A compromised intermediate or
trust anchor can therefore substitute the key of a listed issuer
beneath it, and both categories then pass.
The key-source requirement of openid_federation (Section 4) accepts a
key source from either openid_provider or oauth_authorization_server
metadata. A Superior that constrains a leaf's key source through
metadata policy therefore constrains it for both types; otherwise the
leaf can supply an unconstrained key source under the other type.
7.3. Client Recognition
The client_recognition category evaluates the client identified by
the token request's client authentication (Section 5.3), not by the
assertion. An attacker who controls an assertion's claims therefore
cannot choose which client is evaluated ([TRUST-FRAMEWORK]
§Unverified Claim Exploitation). Recognition admits a client to the
exchange. It does not authorize the client to act for a particular
user, says nothing about the subject or the Assertion Issuer, and
leaves the other categories in force.
openid_federation_client requires the client to authenticate with a
key its federation metadata publishes. Without that rule, a client
could authenticate with a key the Resource Authorization Server holds
from another source, such as a client metadata document, and be
recognized as the federation Entity its client_id names. A Resource
Authorization Server that also registers clients selects their policy
only after they authenticate against their registration. Naming a
registered client_id without authenticating as that client therefore
does not avoid the client method. A request whose client_id is an
https URL gets the client method even when a registration exists for
that URL. A party holding such a registration therefore cannot
redeem an assertion issued to the federation Entity of that name
(Section 5.3).
A compromised intermediate or trust anchor can substitute a client's
keys through the metadata in its Subordinate Statement
([OIDF-FEDERATION] §3.1.1), as it can an Assertion Issuer's
(Section 7.2). It can therefore authenticate as any client beneath
it.
Under a client method that lets a client opt in by publishing
evidence, such as a DNS record, a client that has published nothing
is Negative, as under a namespace method. Under the combination
rule, that client is rejected wherever the category is listed unless
another listed client method is satisfied. This document defines no
mechanism for accepting such clients through local policy instead.
8. Privacy Considerations
This document adds no privacy considerations beyond those of
[TRUST-FRAMEWORK] and [OIDF-FEDERATION].
9. IANA Considerations
9.1. Identity Assertion Trust Method Categories Registration
This document registers the following entry in the Identity Assertion
Trust Method Categories registry ([TRUST-FRAMEWORK] §Identity
Assertion Trust Method Categories Registry):
Category Name: client_recognition
Description: Establishes that the client presenting the assertion is
recognized by an authority the Resource Authorization Server
accepts
Change Controller: IETF
Specification Document: This document, Section 5.1
9.2. Identity Assertion Trust Methods Registrations
This document registers the following entries in the Identity
Assertion Trust Methods registry ([TRUST-FRAMEWORK] §Identity
Assertion Trust Methods Registry):
Identifier: openid_federation
Category: issuer_authentication
Parameters: trust_anchors (array of string, REQUIRED); trust_marks
(array of object, OPTIONAL; see Section 3.1)
Change Controller: IETF
Reference: This document
Identifier: openid_federation_client
Category: client_recognition
Parameters: trust_anchors (array of string, REQUIRED); trust_marks
(array of object, OPTIONAL; see Section 3.1)
Change Controller: IETF
Reference: This document
9.3. Trust Policy Members Registration
This document registers the following entry in the Identity Assertion
Issuer Trust Policy Members registry ([TRUST-FRAMEWORK] §Trust Policy
Members Registry):
Member Name: client_trust_methods
Member Description: Trust Method requirements enforced for the
client presenting an identity assertion
Decision-Affecting: Yes
Change Controller: IETF
Specification Document: This document, Section 5.2
10. References
10.1. Normative References
[ID-JAG] "Identity Assertion JWT Authorization Grant",
.
[OIDF-FEDERATION]
"OpenID Federation 1.1", 5 May 2026,
.
[OIDF-FEDERATION-CONNECT]
"OpenID Federation for OpenID Connect 1.1", 5 May 2026,
.
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119,
DOI 10.17487/RFC2119, March 1997,
.
[RFC6749] Hardt, D., Ed., "The OAuth 2.0 Authorization Framework",
RFC 6749, DOI 10.17487/RFC6749, October 2012,
.
[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, May
2015, .
[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, July 2015,
.
[RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC
2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174,
May 2017, .
[RFC8414] Jones, M., Sakimura, N., and J. Bradley, "OAuth 2.0
Authorization Server Metadata", RFC 8414,
DOI 10.17487/RFC8414, June 2018,
.
[RFC8705] Campbell, B., Bradley, J., Sakimura, N., and T.
Lodderstedt, "OAuth 2.0 Mutual-TLS Client Authentication
and Certificate-Bound Access Tokens", RFC 8705,
DOI 10.17487/RFC8705, February 2020,
.
[RFC10070] Jones, M.B., Campbell, B., Mortimore, C., and F. Skokan,
"Updates to OAuth 2.0 JSON Web Token (JWT) Client
Authentication and Assertion-Based Authorization Grants",
RFC 10070, DOI 10.17487/RFC10070, November 2026,
.
[TRUST-FRAMEWORK]
"OAuth Identity Assertion Trust Framework",
.
10.2. Informative References
[DAI] "OAuth Domain-Authorized Issuer Trust Method",
.
[I-D.ietf-oauth-client-id-metadata-document]
"OAuth Client ID Metadata Document",
.
[OIDF-WKB] Hardt, D., "OpenID Federation Well-Known Binding 1.0", 11
November 2026, .
Appendix A. OpenID Federation Walkthrough
This appendix is non-normative. Like the example in
[TRUST-FRAMEWORK] §Overview, it combines openid_federation with
domain_authorized_issuer, and it adds trust-chain validation, Trust
Mark satisfaction, and federation-bound JWKS resolution.
*Cast:* Resource Authorization Server https://api.resource.example;
Federation Trust Anchor https://federation.example.org; Federation
Intermediate https://sector.example.org (chained under the Trust
Anchor); Assertion Issuer https://idp.partner.example (federation
leaf holding a Level-of-Assurance-3 Trust Mark); end user
alice@partner.example; Subject Authority partner.example.
*Publication.* The Resource Authorization Server's Trust Policy:
{
"resource_authorization_server": "https://api.resource.example",
"authorization_grant_profiles_supported": [
"urn:ietf:params:oauth:grant-profile:id-jag"
],
"subject_identifier_formats_supported": ["email"],
"issuer_trust_methods": [
{
"method": "openid_federation",
"trust_anchors": ["https://federation.example.org"],
"trust_marks": [{
"trust_mark_type": "https://federation.example.org/tm/loa3",
"issuer": "https://federation.example.org"
}]
},
{ "method": "domain_authorized_issuer" }
]
}
The Assertion Issuer's federation Entity Configuration (decoded,
illustrative) declares its authority hint and its Trust Mark:
{
"iss": "https://idp.partner.example",
"sub": "https://idp.partner.example",
"authority_hints": ["https://sector.example.org"],
"metadata": {
"openid_provider": {
"issuer": "https://idp.partner.example",
"jwks_uri": "https://idp.partner.example/jwks"
}
},
"trust_marks": [
{
"trust_mark_type": "https://federation.example.org/tm/loa3",
"trust_mark": "eyJ...(JWT signed by federation.example.org)"
}
]
}
The trust_mark value is a JWT with JOSE header typ trust-mark+jwt.
Its decoded payload (illustrative):
{
"iss": "https://federation.example.org",
"sub": "https://idp.partner.example",
"trust_mark_type": "https://federation.example.org/tm/loa3",
"iat": 1790236800,
"exp": 1821772800
}
The Trust Mark satisfaction requirement (Section 3.2) matches against
this payload: its trust_mark_type equals both the enclosing entry's
type and the requirement's, and its iss equals the requirement's
issuer. The enclosing entry carries no issuer. [OIDF-FEDERATION]
§7.3 separately requires sub to equal the leaf's Entity Identifier.
The Federation Intermediate's Subordinate Statement about the leaf
constrains issuer and requires jwks_uri via metadata_policy
([OIDF-FEDERATION] §6.1):
{
"iss": "https://sector.example.org",
"sub": "https://idp.partner.example",
"metadata_policy": {
"openid_provider": {
"issuer": { "value": "https://idp.partner.example" },
"jwks_uri": { "essential": true }
}
}
}
*Verification.* When an ID-JAG arrives with iss:
https://idp.partner.example, email: alice@partner.example, and
email_verified: true, the Resource Authorization Server:
1. *issuer_authentication (openid_federation).* Walks the federation
chain per [OIDF-FEDERATION]: fetches the leaf Entity
Configuration, the Intermediate's Subordinate Statement about the
leaf, and the Trust Anchor's Subordinate Statement about the
Intermediate. Validates all signatures, applies metadata_policy,
and verifies the Trust Mark signature.
2. *Framework-specific checks (Section 3 and Section 4).* The
terminal trust anchor matches trust_anchors; the policy-applied
metadata declares entity type openid_provider; the loa3 Trust
Mark satisfies the requirement; the ID-JAG signing key is taken
only from the federation-resolved JWKS, not from the assertion
iss URL's .well-known/oauth-authorization-server.
3. *subject_namespace_authorization (domain_authorized_issuer).*
Finds https://idp.partner.example in the Issuer Authorization
Policy that partner.example publishes ([DAI]).
4. *Cross-category combination rule.* Both categories succeed; the
Resource Authorization Server issues an access token.
*Selected failure variants:*
* The chain does not terminate at the listed trust anchor:
invalid_grant.
* The leaf lacks the required Trust Mark: invalid_grant.
* The federation-resolved JWKS does not match the ID-JAG signing
key: invalid_grant. The metadata key source takes precedence, so
there is no fallback to a separate JWKS referenced by .well-known/
oauth-authorization-server. An extension-defined key source is
eligible only when the metadata carries none (Section 4).
* partner.example does not list the Assertion Issuer in DAI:
invalid_grant, even though federation membership is valid.
A.1. Trust Mark Requirement Without an Issuer
With the same cast, the Trust Policy could omit issuer from the
requirement object:
{
"method": "openid_federation",
"trust_anchors": ["https://federation.example.org"],
"trust_marks": [
{ "trust_mark_type": "https://federation.example.org/tm/loa3" }
]
}
The acceptable issuers then come from the trust anchor's Entity
Configuration, which includes (excerpt):
"trust_mark_issuers": {
"https://federation.example.org/tm/loa3": [
"https://federation.example.org",
"https://assurance.example.net"
]
}
The leaf's Trust Mark satisfies the requirement because its iss
appears in that array. So would a Trust Mark of the same type issued
by https://assurance.example.net, provided that issuer's own trust
chain terminates at the same trust anchor (Trust Mark satisfaction,
Section 3.2). The requirement would not be satisfied if the array
for this type were empty, which [OIDF-FEDERATION] §3.1.2 reads as
allowing any issuer, or if the type were absent from
trust_mark_issuers.
Appendix B. Client Recognition Walkthrough
This appendix is non-normative. It follows openid_federation_client
(Section 5.4) from a client's first token request to later requests,
and shows federation clients beside clients the Resource
Authorization Server registered itself.
*Cast:*
* Resource Authorization Server https://api.saas.example, with token
endpoint https://api.saas.example/token.
* Trust anchor https://federation.example.org.
* Client https://agent.example, an agent platform that is a
federation Entity of type oauth_client. It has never contacted
the Resource Authorization Server.
* Assertion Issuer https://idp.partner.example, which issues the
client an ID-JAG for alice@partner.example whose client_id claim
is https://agent.example.
*Trust Policy.* The Resource Authorization Server publishes:
{
"resource_authorization_server": "https://api.saas.example",
"authorization_grant_profiles_supported": [
"urn:ietf:params:oauth:grant-profile:id-jag"
],
"issuer_trust_methods": [
{
"method": "openid_federation",
"trust_anchors": ["https://federation.example.org"]
},
{ "method": "domain_authorized_issuer" }
],
"client_trust_methods": [
{
"method": "openid_federation_client",
"trust_anchors": ["https://federation.example.org"]
}
],
"crit": ["client_trust_methods"]
}
*Client metadata.* The client's Entity Configuration, at
https://agent.example/.well-known/openid-federation, includes:
{
"iss": "https://agent.example",
"sub": "https://agent.example",
"metadata": {
"oauth_client": {
"grant_types": ["urn:ietf:params:oauth:grant-type:jwt-bearer"],
"token_endpoint_auth_method": "private_key_jwt",
"jwks_uri": "https://agent.example/jwks.json"
}
},
"authority_hints": ["https://federation.example.org"]
}
*First contact.* The client's first request to the Resource
Authorization Server is a token request:
POST /token HTTP/1.1
Host: api.saas.example
Content-Type: application/x-www-form-urlencoded
grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer
&assertion=eyJ0eXAiOiJvYXV0aC1pZC1qYWcrand0Ii...
&client_id=https%3A%2F%2Fagent.example
&client_assertion_type=
urn:ietf:params:oauth:client-assertion-type:jwt-bearer
&client_assertion=eyJhbGciOiJFUzI1NiIsImtpZCI6...
Line breaks in the request body are for display only. The client
assertion's JOSE header carries typ client-authentication+jwt
([RFC10070] Section 4), and its claims are:
{
"iss": "https://agent.example",
"sub": "https://agent.example",
"aud": "https://api.saas.example",
"exp": 1793880000,
"jti": "c1f0..."
}
*Processing.* The Resource Authorization Server:
1. Applies the policy above, because the client_id is an https URL
(Section 5.3).
2. Resolves the client's Entity Configuration and a trust chain to
https://federation.example.org.
3. Checks that the policy-applied metadata declares oauth_client.
4. Fetches the key set at jwks_uri, verifies the client assertion's
signature with a key in it, and checks that its aud is
https://api.saas.example and that private_key_jwt is the declared
method. The client is now authenticated, and because grant_types
lists the request's grant type, it is recognized. Steps 2
through 4 are the only lookups before the client is
authenticated.
5. Validates the ID-JAG, including that its client_id claim is
https://agent.example ([ID-JAG] §4.4.1).
6. Evaluates openid_federation for https://idp.partner.example and
domain_authorized_issuer for partner.example. With the client
recognized in step 4, every category is satisfied, so it issues
an access token.
*Rejections.* The table in Section 5.4 gives the error for each
failure, and its first applicable row decides when several apply.
For example, a client that lacks a required Trust Mark and presents
an expired ID-JAG gets unauthorized_client, not invalid_grant,
because client recognition is evaluated before the ID-JAG.
*Later requests.* The Resource Authorization Server caches the trust
chain no longer than its earliest exp (Section 3.3), and the key set
no longer than the chain. Later requests use the cached chain, and
each is still evaluated against the policy. After the client rotates
its keys, a signature with a key the cached key set lacks can prompt
one fresh fetch of the key set, rate-limited per client, before
rejection. If the federation stops recognizing the client, the
change takes effect when the cached chain expires.
*Coexistence with registered clients.* The Resource Authorization
Server also has confidential clients it registered itself, with
opaque client_id values and credentials it holds. A request that
authenticates as one of those clients gets a policy without
client_trust_methods (Section 5.3). Any other request, including one
that names a registered client_id without authenticating as that
client and any request whose client_id is an https URL, gets the
published policy above and is admitted only through the client
method.
Appendix C. Document History
This appendix is non-normative and will be removed before
publication. A number in parentheses is a closed issue in the issue
tracker (https://github.com/mcguinness/draft-mcguinness-oauth-id-
assertion-framework/issues) that this document shares with
[TRUST-FRAMEWORK], which holds the details of that change.
-00
* Initial version, split from [TRUST-FRAMEWORK] (#38); includes
client recognition (#32) and the OpenID Federation 1.1 alignment
(#20).
Author's Address
Karl McGuinness
Independent
Email: public@karlmcguinness.com