Web Authorization Protocol K. McGuinness
Internet-Draft Independent
Intended status: Standards Track 16 November 2026
Expires: 20 May 2027
OAuth Identity Assertion Trust Framework
draft-mcguinness-oauth-id-assertion-framework-latest
Abstract
Issuer authentication alone does not prove an OAuth authorization
server's authority over the subject namespace its identity assertions
claim. A federated authorization server can mint an identity
assertion naming any email domain; federation membership establishes
that the server is a recognized member of an ecosystem, not that the
server is entitled to assert about subjects in any particular
namespace. Nothing in OAuth today lets a namespace owner declare
which authorization servers are authorized to assert identities in
its namespace.
This document defines an Identity Assertion Trust Framework with two
parts. First, an Authority Delegation Model: an abstract pattern
(Authority Holder, Delegate, Delegation Artifact, Validator) with
independent trust-evaluation categories, a cross-category combination
rule, and a lookup-state taxonomy that profiles instantiate. Second,
the Identity Assertion Issuer Trust Policy: a JSON policy document
that a Resource Authorization Server publishes to declare which trust
methods it requires of an Assertion Issuer, including issuer-
authentication methods (such as OpenID Federation) and subject-
namespace authorization methods defined by separate profiles. The
policy can also require evidence about the OAuth client that presents
the assertion, through client-recognition methods.
The Domain-Authorized Issuer Trust Method is defined separately as
one subject-namespace authorization profile usable by this framework.
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
1.1. Minimal Deployment
1.2. Trust Evaluation Categories
1.3. Motivating Use Cases
1.4. Relationship to Existing Mechanisms
1.5. Documents in the Family
1.6. Scope
1.7. Conventions
2. Terminology
3. Authority Delegation Model
3.1. Pattern Overview
3.2. Independent Trust Evaluation Categories
3.2.1. Cross-Category Combination Rule
3.2.2. Multiple Authority Sources Within a Category
3.3. Open-World Delegation and Bounded Transitivity
3.4. Lookup States and Fail-Closed
3.4.1. Lookup States
3.4.2. Fail-Closed Requirements
4. Trust Policy
4.1. Metadata Publication
4.2. Trust Policy Document
4.2.1. Members
4.3. Trust Methods
4.3.1. Trust Method Object Structure
4.3.2. Trust Method Categories
4.3.3. Requirements on Trust Method Specifications
4.3.4. Issuer Authentication Methods
4.3.5. Subject Namespace Authorization Methods
4.3.6. Client Recognition Methods
4.3.7. Worked Example: OpenID Federation + DAI
4.4. Subject Authority Determination
4.4.1. Public Suffix List Versioning
4.4.2. Subdomain Authority
4.5. Critical Members
5. Trust Policy Processing
5.1. Client Processing
5.2. Resource Authorization Server Processing
5.3. Outbound Fetches
6. Grant Profile and Token Bindings
6.1. ID-JAG
6.2. Generic JWT-Bearer Assertion Grant
7. Security Considerations
7.1. Alignment with OAuth Security BCP
7.2. Unverified Claim Exploitation
7.3. Applicability Bypass
7.4. Authority Source Compromise
7.5. Transitive Authorization is Bounded
7.6. Key Binding Is Outside Namespace Authorization
7.7. Scope of Namespace Authorization
7.8. Client Recognition
7.9. Per-Assertion Revocation Is Out of Scope
7.10. Policy Document Integrity
7.11. Shared Infrastructure and Hosted Well-Known Paths
7.12. Downgrade Attacks
7.13. Trust Policy Caching
7.14. Observability
8. Privacy Considerations
9. Internationalization Considerations
10. IANA Considerations
10.1. Trust Policy Registrations
10.1.1. OAuth Authorization Server Metadata Registry
10.1.2. OAuth Protected Resource Metadata Registry
10.1.3. Well-Known URI for Trust Policy
10.1.4. Identity Assertion Trust Method Categories Registry
10.1.5. Identity Assertion Trust Methods Registry
10.1.6. Trust Policy Members Registry
10.2. Subject Authority Extraction Procedures Registry
11. References
11.1. Normative References
11.2. Informative References
Appendix A. Design Rationale
A.1. Relationship to OpenID Federation
A.2. Why Bounded-Depth-1 Namespace Authorization
Appendix B. Future Extensions
B.1. Additional Subject Identifier Formats
B.2. Presented Delegation Credentials
B.3. Additional Client Recognition Methods
B.4. Actor Identity Trust Evaluation
B.5. Trust Policy Discovery
Appendix C. Frequently Asked Questions
Appendix D. Agent Platform Walkthrough
Appendix E. OpenID Federation Walkthrough
E.1. Trust Mark Requirement Without an Issuer
E.2. Well-Known Binding Variant
Appendix F. Client Recognition Walkthrough
Appendix G. Document History
Author's Address
1. Introduction
OAuth assertion-based authorization grants [RFC7521] [RFC7523] allow
identity-bearing assertions issued by one authorization server to be
presented to another. The Identity Assertion JWT Authorization Grant
(ID-JAG) [ID-JAG] is one such profile, and the cross-domain delivery
of such assertions is specified in
[I-D.ietf-oauth-identity-chaining]. Those documents define how an
assertion is constructed, presented, and consumed; they do not define
whether the Resource Authorization Server should accept the issuer in
the first place. The Resource Authorization Server needs to decide
whether the issuer of an identity assertion is acceptable for subject
resolution, account linking, or delegated access, and base specs
leave that decision to local policy.
In many deployments the set of acceptable Assertion Issuers cannot be
enumerated in advance. It may be large, dynamic, or governed by
external trust frameworks. A static issuer allowlist also cannot
express the conditions under which an Assertion Issuer is acceptable:
for example, whether the Assertion Issuer is a member of a recognized
federation, or whether the Assertion Issuer has authority for the
subject namespace being asserted.
Today a Resource Authorization Server typically answers the namespace
question through bilateral setup. Each customer:
* proves control of its domain,
* configures its Identity Provider with the Resource Authorization
Server, and
* repeats both steps at every other Resource Authorization Server it
uses.
That configuration is held separately at each Resource Authorization
Server, so it goes stale when the customer changes Identity
Providers. It also does not extend to issuers, such as agent
platforms, that have no prior relationship with each customer.
Where that configuration is missing, a Resource Authorization Server
that trusts a multi-tenant issuer can accept an assertion about a
subject from a tenant with no authority over the subject's domain.
The nOAuth disclosure [NOAUTH] showed account takeover by that path.
In that attack, an application linked accounts by an email address
that an attacker had set on a user in the attacker's own tenant.
Namespace authorization lets the domain owner state once which
issuers and tenants may assert about its subjects, for every Resource
Authorization Server to check. It complements, and does not replace,
the defenses on the Resource Authorization Server's side: keying
accounts on immutable issuer-scoped identifiers, and linking accounts
by email only under explicit account-linking rules (Section 7.7).
This is an open-world issuer-trust problem. The Resource
Authorization Server may receive identity assertions from issuers
that were not individually configured in advance, but whose
acceptability can be evaluated from published evidence at request
time. The purpose of this framework is not to remove policy from the
Resource Authorization Server, but to give it a standard way to
express which evidence it requires and how that evidence is
evaluated.
This document defines an Identity Assertion Issuer Trust Policy that
a Resource Authorization Server publishes to describe its trust
criteria. The Resource Authorization Server does not say "these are
all the Assertion Issuers I trust." It says "these are the
conditions an Assertion Issuer must satisfy." Conditions are
evaluated by validating concrete evidence (a federation trust chain
or a domain-authorized issuer record) when an assertion is presented.
Despite its name, the Trust Policy is published by the Resource
Authorization Server, not by an Assertion Issuer. A Subject
Authority authorizes issuers in a separate document, the Issuer
Authorization Policy ([DAI]).
This document defines the Authority Delegation Model (Section 3) and
uses it to profile OAuth identity assertions. It is consumed by
[DAI], which defines one Subject-Authority publication mechanism.
The two documents together are described in Section 1.5. The
assertion-bearer grant and chaining mechanics of [ID-JAG] and
[I-D.ietf-oauth-identity-chaining] remain unchanged; this document
adds the issuer-trust evaluation layer and one requirement on multi-
tenant Assertion Issuers (Section 6.1).
1.1. Minimal Deployment
The smallest deployment has three moving parts:
1. A Resource Authorization Server publishes a Trust Policy
(Section 4.2) saying which issuer-trust evidence it requires.
2. A Subject Authority publishes an Issuer Authorization Policy
([DAI]) saying which Assertion Issuers it authorizes for its
namespace.
3. At the token endpoint, the Resource Authorization Server
validates the assertion and requires one successful Trust Method
in each applicable trust-evaluation category.
For the common case, the Resource Authorization Server lists
domain_authorized_issuer; the Subject Authority publishes a DNS TXT
record at _oauth-issuer-policy.{domain}; and the Resource
Authorization Server checks that the assertion's iss appears in that
policy for the asserted subject namespace.
1.2. Trust Evaluation Categories
This document defines three independent trust-evaluation categories
for OAuth identity assertions (Section 3.2):
* *issuer_authentication* is the Authenticity category. It asks: is
the JWT iss claim a recognized signer?
* *subject_namespace_authorization* is the delegation authority
category. It asks: has the namespace owner authorized this issuer
to assert about subjects in its namespace?
* *client_recognition* applies the Authenticity question to the
client that presents the assertion. It asks: is that client
recognized by an authority the Resource Authorization Server
accepts? Recognition admits the client to the exchange. It does
not authorize the client to act for any particular user.
Each Trust Method belongs to one or more of these categories, and
evidence is required from each applicable category (Section 3.2.1).
1.3. Motivating Use Cases
Deployments where the gap between issuer authentication and namespace
authorization has practical consequences include:
* Workforce SSO into multi-vendor SaaS: per-customer bilateral
issuer configuration, with no wire-format check that the
configured Assertion Issuer is the one the customer authorizes.
* AI agent platforms acting across tool boundaries: the tool needs
to know the platform is entitled to assert about users in the
customer's namespace (Appendix D).
* B2B integrations carrying end-user identity: today these either
accept any authenticated Assertion Issuer or maintain manual
allowlists.
* Shared-issuer multi-tenant Identity Providers: the customer's
choice of authorized tenant becomes observable on the wire ([DAI]
§Single-Issuer Multi-Tenant Identity Providers) rather than
implicit.
Today's alternatives are bilateral OAuth configuration, federation
membership treated incorrectly as a proxy for namespace authority, or
implicit trust in tenant-domain bindings; this document provides a
wire-format alternative.
1.4. Relationship to Existing Mechanisms
This policy is complementary to OpenID Federation: OpenID Federation
can authenticate that an issuer belongs to a trusted ecosystem, while
the Domain-Authorized Issuer Trust Method lets the namespace owner
say which issuers may assert about subjects in that namespace. That
Trust Method follows existing DNS authority-publication patterns such
as CAA, MTA-STS, SPF, DKIM, and the Email Verification Protocol.
Background and positioning details are in Appendix A.1 and [DAI]
§Following Existing DNS Authority Patterns.
This framework is distinct from issuer _discovery_ mechanisms such as
WebFinger [RFC7033] and OpenID Connect Discovery [OIDC-DISCOVERY],
which answer "given a user identifier, which issuer should a client
use?" before authentication. This framework answers the verifier-
side question "may this issuer, having already produced an assertion,
be trusted for this subject's namespace?" Its answer is published
per namespace, expresses authorization rather than routing, and is
consumed at verification time. It also differs from scope
attestation by a federation operator and from per-relationship domain
verification at setup time. See [DAI] §Following Existing DNS
Authority Patterns.
1.5. Documents in the Family
This document and [DAI] form a two-document set:
* *This document*: the Authority Delegation Model (Section 3) and
the Identity Assertion Issuer Trust Policy (Section 4.2) published
by a Resource Authorization Server, plus the Trust Method
machinery, OAuth grant profile bindings, and the Subject Authority
Determination concept.
* *[DAI]*: the OAuth Domain-Authorized Issuer Trust Method, defining
the domain_authorized_issuer Trust Method and the Issuer
Authorization Policy wire format it consumes.
This document does not define the Issuer Authorization Policy wire
format or its integrity protection; those live in [DAI]. This
document defines what an Assertion Issuer must satisfy to be
accepted; DAI defines one class of evidence supplying that
satisfaction.
1.6. Scope
The scope of this document is:
* The Authority Delegation Model (Section 3): vocabulary, trust-
evaluation categories, combination rule, lookup states, and the
bounded-transitivity property profiles inherit.
* The Trust Policy document (Section 4.2).
* The Trust Method machinery (categories, registry).
* The Subject Authority Determination concept and registry.
* The OAuth grant-profile bindings.
Concrete publication mechanisms for specific Trust Methods are out of
scope and live in dedicated specifications such as [DAI].
The Authority Delegation Model accommodates attribute authorities
whose authority is not a namespace owner (government-issued
credentials, professional certifications, employment attestations,
decentralized credentials). This document does not register Trust
Methods for attribute attestation; implementers needing such
evaluation should look to W3C Verifiable Credentials, OpenID for
Verifiable Credentials, and domain-specific frameworks. Where their
attestations are conveyed as OAuth identity assertions whose subject
is namespace-bound, this document's issuer-trust evaluation applies
regardless of the attribute-attestation layer beneath it.
The email Subject Identifier extraction registered in this document
is user-identity-oriented. The Authority Delegation Model
(Section 3) supports any Subject Identifier format with a registered
extraction procedure; identity chaining for workload identities,
agent identities, or other non-user subjects can be supported by
registering additional extractions with no changes to the trust
evaluation model (Appendix B).
1.7. Conventions
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.
2. Terminology
This document uses OAuth 2.0 [RFC6749] terminology. Subject
Identifier formats follow [RFC9493]; Trust Method identifiers are
registered in Section 10.1.5.
The following terms define the Authority Delegation Model used
throughout this document.
Authority: The right to attest claims that a Validator will rely on,
within a specified namespace, claim type, scope, or registration.
This is distinct from "authority" in the access-management sense
(the right to perform actions or access resources). The IAM
access-rights sense of "authority" is out of scope.
Authority Holder: An entity holding authority over a namespace,
claim type, scope, or registration. An Authority Holder may
delegate that attestation authority to one or more Delegates.
Examples: a DNS domain owner for an email namespace; a federation
operator for federation membership.
Delegate: An entity that has received attestation authority from an
Authority Holder and may issue Assertions within the delegated
scope. In this document the Delegate is the Assertion Issuer.
Delegation Artifact: A profile-defined representation of a
delegation: a signed document, a DNS record, a JSON document at a
well-known HTTPS URL, an entry in published metadata, or any other
profile-defined publication form. The Delegation Artifact MUST
carry sufficient information to identify the Authority Holder, the
Delegate, the delegated claim type or scope, and (when applicable)
the validity bounds.
Assertion: A signed statement made by a Delegate about a Subject
within the delegated scope. In OAuth contexts this is typically a
JWT [RFC7519].
Validator: The component that performs the trust evaluation:
retrieves the Delegation Artifact, validates the Assertion,
applies the combination rules, and produces an accept-or-reject
result. In this document the Validator is the Resource
Authorization Server. The Validator is conceptually distinct from
the party that acts on its result, paralleling the Verifier and
Relying Party distinction in the RATS Architecture ([RFC9334]).
Authority Source: A trust root, registry, publication channel, or
configured source from which a Validator accepts Delegation
Artifacts. In many cases the Authority Source and the Authority
Holder are the same entity (for example, a domain publishing its
own DNS record). In others they differ (for example, a federation
trust anchor as the Authority Source for Subordinate Statements
issued by intermediates).
Profile: A specification that applies the Authority Delegation Model
to a particular kind of evidence: this document's processing of
OAuth identity assertions, or a Trust Method specification such as
[DAI]. Requirements addressed to profiles apply to both. A grant
profile (Section 6) is a different thing: the OAuth assertion-
grant specification under which an assertion arrives.
The following terms are specific to OAuth identity assertions.
Resource Authorization Server (RAS): The OAuth authorization server
that receives an identity assertion as a grant, evaluates the
Trust Policy, and issues access tokens for a protected resource.
Not a new OAuth protocol role; OAuth readers may read it as "the
authorization server receiving the assertion grant." The RAS is
the Validator.
Assertion Issuer: The service issuing an identity-bearing assertion,
identified by the JWT iss claim. The same string is the issuer
value in OAuth Authorization Server Metadata [RFC8414], OpenID
Connect Discovery [OIDC-DISCOVERY], and the federation entity
identifier in [OIDF-FEDERATION]. The Assertion Issuer is the
Delegate. It is a separate role from the client that presents the
assertion, but one party, such as an agent platform, can play
both.
Subject Authority: The Authority Holder for a Subject Identifier
namespace. The term also names the identifier of that authority,
which for email is the registrable domain.
Trust Policy: The JSON document defined in Section 4.2, published by
a Resource Authorization Server to declare its trust criteria.
Trust Method: A registered, named evaluation procedure by which a
Validator tests one category of trust evidence about an Assertion
Issuer or about the client presenting an Assertion (Section 4.3).
A Trust Policy names the Trust Methods it requires.
Issuer Authorization Policy: The Delegation Artifact by which a
Subject Authority declares the Assertion Issuers it authorizes for
its namespace. Concrete representations (wire format, publication
channel, integrity protection) are supplied by individual
subject_namespace_authorization Trust Method specifications.
Consumer: Any party that retrieves and processes a policy document
(Trust Policy or Issuer Authorization Policy): a Resource
Authorization Server evaluating an assertion, or a client reading
a Trust Policy for capability discovery. Requirements addressed
to consumers apply to both roles unless a narrower role is named.
Decision-affecting member: A member of a policy document whose value
can change whether a consumer accepts an assertion. Every member
that this document or a Trust Method specification registers for a
policy document is decision-affecting, except a member that only
records when the document was published, a member that carries a
signature over other members, and any member whose registration
says otherwise.
3. Authority Delegation Model
This section defines the model that the Trust Policy machinery
(Section 4.2, Section 4.3) and profiles such as [DAI] instantiate.
The vocabulary (Authority Holder, Delegate, Delegation Artifact,
Assertion, Validator, Authority Source) is defined in Section 2.
3.1. Pattern Overview
Four roles cooperate around one delegation:
Authority Holder
| delegates authority via
Delegation Artifact
| identifies
Delegate
| signs
Assertion
| presented to
Validator
The Authority Holder publishes the Delegation Artifact through a
profile-defined channel: a DNS record under its domain, an HTTPS
document at a well-known URL on its host, a signed subordinate
statement in a federation, or another profile-defined form. Control
of that publication channel is itself the authority binding: whoever
can publish at the channel is the Authority Holder for the namespace,
claim type, or scope. The Validator validates the Delegation
Artifact (which says "Authority Holder authorized Delegate") and the
Assertion (which says "Delegate asserts something about Subject").
Both validations are required.
A delegation has a lifecycle: the Authority Holder establishes the
artifact, publishes it, the Delegate uses it to mint Assertions, and
revocation occurs by removing or expiring the artifact. The
framework provides no remote cache-invalidation mechanism; revocation
latency is bounded by the profile's cache lifetime. Subject
Authorities that need fast revocation operate with short steady-state
cache lifetimes. Planned transfers (provider migrations,
acquisitions) and unplanned revocations (security incidents) follow
the same publication path: update the artifact, accept latency
bounded by the cache window.
3.2. Independent Trust Evaluation Categories
A Validator combines two kinds of independent trust evaluation to
accept an Assertion. Each category answers a distinct question:
* *Authenticity*: is the entity that signed the Assertion
cryptographically authentic and recognized as a member of some
ecosystem? Satisfied by evidence that signers and their keys
belong to a recognized population (federation membership, trust-
mark issuance, signed attester key).
* *Delegation authority*: has the Authority Holder for the asserted
scope delegated to this signer? Satisfied by a Delegation
Artifact from the appropriate Authority Holder.
Authenticity can be evaluated for more than one principal: the entity
that signed the Assertion and, in OAuth, the client that presents it.
The OAuth Trust Method categories defined in this document
(Section 4.3.2) instantiate these: issuer_authentication realizes
Authenticity for the signer, subject_namespace_authorization realizes
Delegation authority for namespace-bound Subject Identifiers, and
client_recognition realizes Authenticity for the OAuth client that
presents an identity assertion.
Local policy (risk scoring, scope grants, account linking, business
rules) applies on top of these categories and remains the final
decision layer (Section 5.2 step 6).
3.2.1. Cross-Category Combination Rule
When more than one category is applicable to a request, the Validator
MUST require at least one satisfying evidence item from each
applicable category. An evidence item is the outcome of evaluating
one Trust Method that the Trust Policy lists. Within a single
category, or-semantics apply: satisfying any one applicable evidence
item is sufficient, subject to the finality rule of Section 3.2.2.
The rule is: _and_ across independent categories, _or_ within a
category.
Satisfying one category MUST NOT be treated as satisfying another. A
signer authenticated by federation membership has not been delegated
namespace authority by that fact; an Authority Holder's delegation to
a signer does not authenticate the signer's identity beyond what the
Delegation Artifact attests.
3.2.1.1. Category Applicability
Category applicability is a property of the Validator's published
Trust Policy, not of the incoming Assertion. A Validator that holds
more than one Trust Policy never selects one from properties of the
Assertion, and selects one by OAuth client only after authenticating
the client against its registration (Section 5.2 step 1). If the
Trust Policy declares one or more Trust Methods in a given category,
that category is applicable to every Assertion the Validator
evaluates within the profile's scope. The Assertion itself MUST NOT
be able to waive the category. An Assertion lacking satisfying
evidence for an applicable category MUST be rejected. Profiles MUST
NOT define applicability conditions that depend on properties of the
Assertion under evaluation. This prohibition is directional:
assertion properties may never _relax_ what the policy requires.
Rejection rules keyed on assertion properties (such as the
federation-only rule in Section 5.2 step 5e) only tighten it and are
permitted. Nor can a published Delegation Artifact waive the
category. A profile MUST NOT define a published state, such as a
monitoring mode, under which an Assertion whose issuer the artifact
does not authorize satisfies the category.
A subject_namespace_authorization method therefore does not become
inapplicable merely because an Assertion omits a Subject Identifier.
A profile that admits such a method MUST require, in its grant-
profile binding, that every Assertion in scope carry a Subject
Identifier from which a Subject Authority is determinable, and MUST
require rejection otherwise. See the processing rule in Section 5.2
and Section 7.3 for the attack this prevents.
3.2.2. Multiple Authority Sources Within a Category
A Validator MAY accept Delegation Artifacts from multiple Authority
Sources within the same category (multiple Subject Authorities for
different namespaces, multiple federation trust anchors). For
subject_namespace_authorization, a profile MUST define deterministic
source selection: a binding function from Assertion + request context
to exactly one Authority Source (or deterministic failure), invariant
under attacker-controlled inputs outside the binding function. This
is because that category's Authority Source is chosen from the
Assertion's own claims before the Assertion is authenticated against
any delegation. The attack against ad-hoc or fallback selection
logic and the deterministic-selection requirement are detailed in
Section 7.2.
For issuer_authentication and client_recognition, every Authority
Source the Trust Policy lists is equally trusted by the Validator, so
a profile MAY accept evidence from any of them. For
openid_federation, this means a chain to any listed trust anchor
(Section 4.3.4.1).
Within one Trust Method's evaluation, a Validator MUST NOT fall
through to a different Authority Source if the originally-applicable
Authority Source's evaluation fails or is indeterminate
(Section 3.4).
Across Trust Methods in the same category, or-semantics apply
(Section 3.2.1), with one exception. When a
subject_namespace_authorization method retrieves an Affirmative
Delegation Artifact from the Subject Authority and that artifact does
not authorize the Assertion Issuer (including an explicit denial),
the category is not satisfied, whatever any other method in the
category yields. The Subject Authority's published decision is final
for its namespace. An Indeterminate state from a
subject_namespace_authorization method that consults the Subject
Authority's own publication has the same effect, because it may hide
that published decision. A Negative state, in which the Subject
Authority has published nothing through that method's channel, does
not have this effect. Other methods in the category can still supply
evidence. Where that channel's negative answers are not
authenticated (for example, DNS without DNSSEC), an attacker who
forges one can turn a published denial into a Negative and let
another method decide ([DAI] §DNS Integrity and Compromise).
In summary, for a subject_namespace_authorization method that
consults the Subject Authority's own publication:
+=========================+===============================+
| Outcome of that method | Effect on the category |
+=========================+===============================+
| Affirmative, issuer | Satisfies it, unless another |
| authorized | method in the category yields |
| | one of the next two outcomes |
+-------------------------+-------------------------------+
| Affirmative, issuer not | Final: the category is not |
| authorized (including | satisfied, whatever other |
| an explicit denial) | methods yield |
+-------------------------+-------------------------------+
| Indeterminate | Final, as above: it may hide |
| | a published decision |
+-------------------------+-------------------------------+
| Negative: nothing | None: other methods in the |
| published through that | category decide |
| channel | |
+-------------------------+-------------------------------+
Table 1
3.3. Open-World Delegation and Bounded Transitivity
This document targets *open-world delegation*: the Authority Holder
is an entity independent of the Validator (a customer's domain, a
federation operator) and the Validator retrieves Delegation Artifacts
through the profile's publication channel at evaluation time. Open-
world does not mean open acceptance; the Validator publishes (or
locally configures) which Authority Sources it accepts. Closed-world
delegation (Validator and Authority Holder are the same party,
evidence is local configuration) is the degenerate case and remains
compatible with the model.
The subject_namespace_authorization methods of this framework,
including [DAI]'s, are bounded at depth one: the Authority Holder
directly lists every authorized Delegate; no further delegation is
permitted. Depth one keeps revocation latency bounded by one cache
and means no third party can add a Delegate to the list. It does not
stop a party that controls a listed Delegate's keys, or that hosts
the list, from acting within it (Section 7.6). OpenID Federation
[OIDF-FEDERATION] is the notable chained-delegation profile in the
OAuth ecosystem; the cross-category combination rule still applies
independently of transitivity (a federation chain establishes
Authenticity, not Delegation authority).
3.4. Lookup States and Fail-Closed
A Validator's lookup of a Delegation Artifact produces exactly one of
three abstract states. The same states classify a lookup of evidence
about an OAuth client in the client_recognition category
(Section 4.3.2). Profiles MUST map every concrete outcome of the
lookup operation onto exactly one of these states.
3.4.1. Lookup States
* *Affirmative*: a well-formed Delegation Artifact was retrieved
through the authoritative publication channel, its signature
(where applicable) verified, and its validity bounds hold at
evaluation time. The Validator proceeds to evaluate the Assertion
against the artifact's contents.
* *Negative*: the publication channel authoritatively reports the
absence of a Delegation Artifact. Examples include DNS NXDOMAIN
or NODATA with a valid (possibly DNSSEC-signed) authoritative
answer where DNS is the profile's sole or final publication
channel. For openid_federation, another example is HTTP 404 for
the leaf's Entity Configuration (Section 4.3.4.1).
A profile with multiple publication channels for the same
Authority Source reaches Negative only when the channels its
lookup procedure consults authoritatively report no delegation. A
profile MAY additionally define an explicitly published denial.
Whether such a denial maps to Negative or to an Affirmative
retrieval whose evaluation yields no matching delegation is the
profile's choice under its state mapping. Within the profile's
evaluation, a Negative state is the Authority Holder's decision
that no delegation is in effect through that channel, and it is
final for that Trust Method. Section 3.2.2 states the effect of a
Negative state on other methods.
* *Indeterminate*: the lookup did not produce an authoritative
Affirmative or Negative result. Examples include:
- DNS SERVFAIL
- resolver timeout
- network partition
- HTTPS 5xx
- TLS handshake failure
- malformed publication-channel response
- structural validation failure on a retrieved artifact (invalid
signature, unparseable payload, validity bounds of the artifact
as a whole outside the acceptable window)
Bounds on individual entries inside an artifact are evaluated by
the profile. An Indeterminate state carries no information about
the Authority Holder's intent.
The Affirmative / Negative / Indeterminate taxonomy is structural:
Negative is the Authority Holder's affirmative non-delegation;
Indeterminate is information the Validator could not obtain.
3.4.2. Fail-Closed Requirements
A Validator MUST classify every lookup outcome into exactly one of
the three states above before producing an accept-or-reject decision.
Profiles MUST enumerate the concrete signals on their publication
channel that map to each state.
A Validator MUST fail closed on both Negative and Indeterminate
states: neither state satisfies the Trust Method that produced it.
On a Negative or Indeterminate state, the access decision MUST be
reject unless another Trust Method satisfies the same category as
Section 3.2.2 permits. Profiles MUST NOT permit any condition under
which an Indeterminate state is treated as Affirmative. Doing so
converts the fail-closed property into an availability-driven
downgrade attack surface.
A Validator MAY rely on a cached Affirmative Delegation Artifact
during a transient Indeterminate state on the live publication
channel, but only within the stale-serving bound the profile
specifies. Repeated Indeterminate states across consecutive lookups
MUST NOT extend the effective cache lifetime beyond the profile's
stated maximum. If the cache expires while the live channel remains
Indeterminate, the Trust Method is not satisfied, and the access
decision follows the fail-closed rule above (Section 3.2.2).
Falling through to a different Authority Source within one Trust
Method's evaluation is forbidden (Section 3.2.2): fallthrough on non-
Affirmative states is the same downgrade as extended-cache-on-
Indeterminate: both convert a hard denial into a soft one driven by
adversary-controllable availability of the authoritative publication
channel.
Profiles MAY define additional lookup states (for example, a "stale-
but-signed" state for transparency-log-bound artifacts) but MUST
place any such state on the Affirmative-or-reject side of the
decision boundary. Profiles MUST NOT introduce a state that relaxes
the Indeterminate-rejects-hard requirement.
4. Trust Policy
4.1. Metadata Publication
A Resource Authorization Server publishes the location of its
Identity Assertion Issuer Trust Policy in its authorization server
metadata [RFC8414] using the following member:
identity_assertion_trust_policy_uri OPTIONAL. HTTPS URI identifying
the Identity Assertion Issuer Trust Policy document.
A Resource Authorization Server that applies different Trust Policies
to different clients publishes the one that applies to clients
without a prior relationship with it. How a client it registers
learns which policy applies to that client is out of scope for this
document.
A Protected Resource that publishes OAuth 2.0 Protected Resource
Metadata [RFC9728] MAY include the same member to advertise the
policy applied by its Resource Authorization Server. Clients that
obtain the URI from Protected Resource Metadata MUST verify that the
policy document's resource_authorization_server value identifies an
authorization server listed in the Protected Resource's
authorization_servers array. If the same member appears in both
metadata documents, the authorization server metadata value is
authoritative.
A Resource Authorization Server may additionally publish the trust
policy at the well-known URI registered in Section 10.1.3. The well-
known URI is derived from the Resource Authorization Server's issuer
identifier by the transformation of [RFC8414] Section 3: the well-
known path component identity-assertion-trust-policy is inserted
between the host (and port, if any) and any path component of the
issuer identifier. For an issuer with no path component this yields
https://{host}/.well-known/identity-assertion-trust-policy. If both
the metadata member and the well-known URI are available and identify
different documents, the metadata member is authoritative.
A consumer retrieving a Trust Policy document (from either source)
fetches it with an HTTP GET over HTTPS with TLS server
authentication, subject to the following rules. The consumer MUST
NOT act on a policy it could not retrieve and validate; such a
retrieval failure is distinct from a successfully retrieved policy
that rejects an assertion.
* The response MUST have status 200 and a media type of application/
json or a +json-suffixed type.
* Consumers MUST follow HTTPS redirects up to a limit of 5 hops;
every redirect target MUST use the https scheme and MUST remain
within the origin of the URI being fetched. A redirect to a
different origin, or exceeding the hop limit, is a retrieval
failure.
* Any other status, a TLS failure, an unparseable body, or a body
exceeding a consumer-chosen limit (which MUST allow at least 64
KiB) is a retrieval failure.
Example authorization server metadata:
{
"issuer": "https://api.resource.example",
"token_endpoint": "https://api.resource.example/token",
"grant_types_supported": [
"urn:ietf:params:oauth:grant-type:jwt-bearer"
],
"authorization_grant_profiles_supported": [
"urn:ietf:params:oauth:grant-profile:id-jag"
],
"identity_assertion_trust_policy_uri":
"https://api.resource.example/trust-policy"
}
4.2. Trust Policy Document
The Identity Assertion Issuer Trust Policy is a JSON object served
over HTTPS with media type application/json (or a media type using
the structured +json suffix). Consumers MUST reject a policy whose
required members are absent or wrong-typed, MUST reject a document
containing duplicate member names at any object level, and MUST
ignore unrecognized members except those named in crit (Section 4.5).
The policy MAY include a crit member (Section 4.5). It carries no
signature (Section 7.10). Members are registered in Section 10.1.6.
Example:
{
"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"]
},
{
"method": "domain_authorized_issuer"
}
]
}
4.2.1. Members
resource_authorization_server REQUIRED. The issuer identifier of
the Resource Authorization Server. MUST exactly match the
authorization server metadata issuer value [RFC8414].
authorization_grant_profiles_supported REQUIRED. JSON array of
identity assertion grant profile identifiers supported by this
policy. This member uses the same name and identifier space as
the OAuth Authorization Server Metadata parameter defined in
[ID-JAG] §7.2; each value MUST match a profile identifier listed
in the authorization server metadata's
authorization_grant_profiles_supported parameter, where present.
subject_identifier_formats_supported OPTIONAL. JSON array of
Subject Identifier format names that the Resource Authorization
Server accepts. Values are defined by [RFC9493], by grant profile
specifications, or by other specifications. This member applies
to all Trust Methods; an individual Trust Method MAY constrain the
formats it evaluates (for example, domain_authorized_issuer
evaluates only formats registered in Section 10.2).
issuer_trust_methods REQUIRED. Non-empty JSON array of Trust Method
objects (see Section 4.3). This member states the trust
requirements the Resource Authorization Server enforces against
incoming identity assertions, not a list of capabilities. An
assertion is rejected unless an Assertion Issuer satisfies the
Trust Method combination rule in Section 5.2 against the methods
listed here; an issuer that happens to satisfy a method not listed
here is not acceptable. The member is deliberately named without
the _supported suffix used by capability-style OAuth metadata
parameters ([RFC8414]) to signal that distinction. Local policy
may add requirements per client, subject, or scope; see
Section 7.12. An object in this member counts only toward the
issuer categories, issuer_authentication and
subject_namespace_authorization, and a method that belongs to no
issuer category is malformed here.
client_trust_methods OPTIONAL. Non-empty JSON array of Trust Method
objects (Section 4.3) whose methods belong to the
client_recognition category (Section 4.3.2). When present, it
states the trust requirements the Resource Authorization Server
enforces against the client that presents an identity assertion:
an assertion is rejected unless the authenticated client satisfies
the Trust Method combination rule in Section 5.2 against the
methods listed here. An object in this member counts only toward
the client_recognition category, and a method that does not belong
to that category is malformed here. A Resource Authorization
Server can list client_trust_methods in crit (Section 4.5) so that
a client that does not implement this member does not read the
policy as placing no requirement on clients.
4.3. Trust Methods
4.3.1. Trust Method Object Structure
A Trust Method object is a JSON object with a string-valued method
member naming a Trust Method identifier registered in Section 10.1.5
plus any members required by that identifier. An object whose
required members are absent, wrong-typed, or out-of-constraint is
malformed. Unrecognized members of a recognized object are ignored.
How an unrecognized or malformed object is handled depends on the
consumer's role. A client reading the policy for capability
discovery MAY skip objects it does not recognize, since it cannot
satisfy them. For an unrecognized or malformed object, a Resource
Authorization Server evaluating an assertion MUST apply Section 5.2
step 5a and reject the assertion. It rejects because ignoring the
object would silently evaluate a strict subset of the operator's
declared requirements.
4.3.2. Trust Method Categories
Each Trust Method belongs to one or more of the categories below
(registered in Section 10.1.4) and is itself registered in
Section 10.1.5. Evidence is combined across categories per
Section 3.2.1; a single evidence item is never counted toward more
than one category, even if its method is registered in several
(Section 5.2 step 5a).
issuer_authentication Is the entity identified by the JWT iss claim
authentically a member of a recognized ecosystem?
subject_namespace_authorization Is this Assertion Issuer entitled to
assert about subjects in the named namespace? When a policy lists
a method in this category, every in-scope assertion must carry a
resolvable Subject Identifier and fails closed if it does not
(Section 5.2 step 5c).
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 and evaluate the
authenticated client, never a claim in the assertion (Section 5.2
step 5f). Recognition admits a client to assertion exchange. It
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).
Deployments accepting assertions about namespace-bound subjects
SHOULD list at least one subject_namespace_authorization method;
federation membership alone does not establish namespace authority.
Future specifications MAY register additional categories
(Section 10.1.4).
4.3.3. Requirements on Trust Method Specifications
A specification defining a new Trust Method (whether in this document
or a companion such as [DAI]) MUST provide all of the following, so
that the deferral from this framework to the method is testable:
* The Trust Method identifier and the category or categories it
belongs to (Section 10.1.5).
* The evidence the method consumes and the exact procedure by which
a Validator decides the method is satisfied for a given (issuer,
subject) pair or, for client_recognition, a given authenticated
client, precise enough for interoperable implementation.
* The mapping of the method's retrieval and evaluation outcomes onto
the Affirmative / Negative / Indeterminate lookup states
(Section 3.4), including which conditions fail closed.
* For methods in subject_namespace_authorization, the deterministic
binding from the assertion's Subject Identifier to the Subject
Authority whose evidence is consulted, consistent with the single-
source-selection rule (Section 3.2.2).
* Cache-lifetime bounds for any retrieved evidence, including any
bound on serving cached evidence during an Indeterminate state, or
an explicit statement that the method caches nothing.
* For a method whose evidence is signed, how the signer and the
verification key are bound to the Authority Holder through a
channel independent of the signed artifact, so that an attacker
who controls the artifact, or the channel that carries it, cannot
substitute either.
* Any method-specific parameters, their JSON types, and whether each
is REQUIRED or OPTIONAL.
4.3.4. Issuer Authentication Methods
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.
4.3.4.1. openid_federation
The openid_federation method indicates that the Assertion Issuer is
acceptable if its OpenID Federation [OIDF-FEDERATION] trust chain
validates to a listed trust anchor and (when required by the policy)
the leaf holds the required Trust Marks.
{
"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"
}
]
}
trust_anchors REQUIRED. Non-empty JSON array of OpenID Federation
trust anchor entity identifiers.
trust_marks OPTIONAL. 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's allowance for any
issuer when no issuer restriction is published; omitting issuer
here delegates issuer selection to an explicit trust anchor
allowlist, not to an unrestricted set of issuers.
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.
The Resource Authorization Server MUST validate the federation trust
chain, metadata policy, and the Trust Marks that requirement 4 relies
on, per [OIDF-FEDERATION]; failure of any is failure of this Trust
Method. Federation metadata_policy constrains Entity Type metadata
in Entity Statements; it does not constrain members carried only in
documents bound by digest through an extension such as [OIDF-WKB],
which reads no Entity Type metadata. 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. For a key source, requirement 3
below then selects that metadata value.
Lookup states (Section 3.4):
* *Affirmative*: a fully validated chain from the leaf to a listed
trust anchor.
* *Negative*: the fetch of the leaf's Entity Configuration returns
HTTP 404 or 410 (the Assertion Issuer does not participate in
federation); the leaf's chains validate but none reaches a listed
trust anchor; or an Entity Statement authoritatively excludes the
leaf.
* *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.
Neither Negative nor Indeterminate satisfies this Trust Method
(Section 3.4.2). 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. A Trust Mark that requirement 4 relies on is re-
validated whenever the chain is, and is not used past its own exp.
The framework-specific requirements below are evaluated against an
Affirmative chain. A chain that fails requirement 1 is Negative, as
above. In each case below, the leaf does not satisfy this Trust
Method and the lookup state is unchanged:
* It does not declare a required entity type (requirement 2).
* Its assertion signature does not verify under the permitted key
source (requirement 3).
* It holds no valid Trust Mark meeting a requirement (requirement
4).
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 is Indeterminate. Such a retrieval targets one of the
following:
* The permitted key source.
* A Trust Mark Issuer's chain.
* A Trust Mark Status endpoint the Resource Authorization Server
relies on.
In addition to the procedures in [OIDF-FEDERATION], the Resource
Authorization Server MUST apply the following framework-specific
requirements:
1. *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 (Section 3.2.2).
2. *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). For this type-declaration check, 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. The
presence of other entity types alone does not satisfy this
requirement.
3. *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.
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 according to 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 also binds the key set. [OIDF-WKB],
for example, checks the JWK Set at a covered document's jwks_uri
against jwks_digests in the leaf's Entity Configuration. When
the metadata's jwks_uri names the URL whose key set an extension
binds, a consumer that applies the binding treats its failure 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.
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 (Section 3.4).
4. *Trust Mark satisfaction.* If the Trust Method object contains
trust_marks, each requirement object MUST be satisfied by at
least one Trust Mark in the leaf's Entity Configuration
trust_marks claim that 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
above.
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. The trust in the Trust
Mark Issuer that [OIDF-FEDERATION] §7.3 requires before
validation 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.
The proposed Well-Known Binding mechanism [OIDF-WKB] illustrates the
additional key-source path in item 3: it binds a JWK Set to the
Entity Identifier by listing its digest in the leaf's Entity
Configuration. Support for that mechanism is not required by this
document; a consumer without a supported qualifying key source
returns Indeterminate. See Appendix E.2 for an illustrative variant.
For OpenID Federation deployments, this Trust Method is the primary
integration point between the federation and this framework; see
Appendix A.1 for positioning.
4.3.5. Subject Namespace Authorization Methods
subject_namespace_authorization-category methods are satisfied by
evidence originating from the Subject Authority itself (typically a
DNS or HTTPS record published under the Subject Authority's domain).
The namespace-authorization trust graph is bounded to depth one
(Section 7.5). Concrete methods in this category are defined by
companion specifications and registered in the Trust Methods registry
(Section 10.1.5).
4.3.6. Client Recognition Methods
client_recognition-category methods are satisfied by evidence about
the OAuth client that presents an identity assertion at the token
endpoint. The client evaluated is the one that the grant profile's
client authentication identifies (Section 5.2 step 5f). For ID-JAG,
the assertion's client_id claim identifies the same client ([ID-JAG]
§4.4.1), so the Assertion Issuer has already named the client it
issued the assertion to. Under the generic JWT-bearer binding
(Section 6.2) the assertion names no client, so any client that
satisfies the category can present an assertion it obtained.
Recognizing a client does not authorize any Assertion Issuer, and
authorizing an Assertion Issuer does not recognize any client.
The OAuth Client ID Metadata Document
[I-D.ietf-oauth-client-id-metadata-document] is complementary. It
lets an authorization server obtain a client's metadata and keys from
its client_id URL, but it leaves the decision to trust that client to
the authorization server. A client recognition method could use it
as a key source only together with evidence that the Resource
Authorization Server trusts.
4.3.6.1. openid_federation_client
The openid_federation_client method indicates that the client is
acceptable if it is an OpenID Federation [OIDF-FEDERATION] Entity
whose trust chain validates to a listed trust anchor and, when the
policy requires them, holds the required Trust Marks.
{
"method": "openid_federation_client",
"trust_anchors": ["https://federation.example.org"]
}
The method has the members trust_anchors and trust_marks, defined as
for openid_federation (Section 4.3.4.1).
The client's client_id is its Entity Identifier, as in Automatic
Registration ([OIDF-FEDERATION-CONNECT] §12.1 and §12.4).
[OIDF-FEDERATION-CONNECT] §12.1 starts Automatic Registration at an
Authentication Request, and §12.1.5 says that bare OAuth 2.0
deployments can use it. It does not describe a client whose first
request is a token request with no Authentication Request before it;
this method defines that case. This method places none of the
obligations of [OIDF-FEDERATION-CONNECT] §12.1 on the client toward
the Resource Authorization Server, and it 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 Resource Authorization Server evaluates this method as it
evaluates openid_federation, with the client's Entity Identifier as
the leaf. Trust chain validation, the lookup states, caching, and
requirements 1 and 4 apply unchanged. Where that section refers to
the Assertion Issuer, it refers here to the client. Every
requirement MUST hold on one trust chain: the metadata, key set, and
Trust Marks used are those of the chain that satisfies requirement 1.
Requirements 2 and 3 are replaced by the following:
* *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 requirement 2. The
client metadata is the policy-applied oauth_client metadata, or
the openid_relying_party metadata when the leaf declares no
oauth_client type ([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, which relies on HTTPS to that
endpoint. The permitted client authentication methods are:
- JWT client authentication ([RFC7523] Sections 2.2 and 3) with a
JWT signed by such a key, whose aud claim is the Resource
Authorization Server's issuer identifier, either as a string or
as an array with that single element; 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.
A first token request is in the position that
[OIDF-FEDERATION-CONNECT] §12.1.1.2 addresses for a Pushed
Authorization Request: the client authenticates before any
registration exists. These are that section's two client
authentication methods (see also §12.1.1.2.1). They are narrower
than [OIDF-FEDERATION-CONNECT] §12.1.4, under which a server
accepts any mutually supported method, and than [RFC7523]
Section 3, which also allows the token endpoint URL as aud. 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. Verification under any other key, such as a key from
a client metadata document, is not client authentication for this
method.
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 in this list determines the error:
1. invalid_client ([RFC6749] Section 5.2) when the client_id is not
an Entity Identifier, no trust chain reaches a listed trust
anchor, the chain or the key set is Indeterminate, the metadata
declares neither entity type, the client authenticates with a
method its metadata does not declare, or client authentication
does not verify under a key in the federation key set.
2. Any failure of the assertion or of an issuer method gets the
error that Section 5.2 specifies.
3. When the client is authenticated but not recognized, because it
holds no Trust Mark that meets a requirement (requirement 4), the
Trust Mark evaluation is Indeterminate, or its metadata does not
list the request's grant type: the error that the grant profile
defines for a client the Resource Authorization Server does not
authorize, such as access_denied for [ID-JAG] (§4.4.3), and
otherwise unauthorized_client ([RFC6749] Section 5.2). This
error applies only when the assertion is valid and every other
category is satisfied.
Any token request can name an https client_id, and so cause these
fetches before the client is authenticated, including 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;
* SHOULD cache a Negative or Indeterminate outcome per client_id for
a bounded period; and
* SHOULD rate-limit trust chain resolution for clients it has not
seen before.
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, after
validating it per [OIDF-FEDERATION] §10.2, in place of resolving one.
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 4.3.4.1). 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.
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.
A Resource Authorization Server that also has clients it registered
itself can apply a Trust Policy without client_trust_methods to a
request that authenticates as one of those clients against that
registration (Section 5.2 step 1). It MUST NOT do so for a request
whose client_id is an https URL, even when it holds a registration
for that client_id, such as an Explicit Registration that kept the
Entity Identifier ([OIDF-FEDERATION-CONNECT] §12.2.2). A public
client does not authenticate against its registration ([RFC6749]
Section 2.3). Every other request, including one that names a
registered client_id without authenticating as that client, gets the
policy with client_trust_methods. A Resource Authorization Server
that already uses https URLs as client_id values for clients outside
a federation cannot list client_trust_methods without rejecting those
clients. This document defines no other way to combine registered
and federation clients. Appendix F walks through first contact,
rejection, cached trust, and coexistence.
4.3.7. Worked Example: OpenID Federation + DAI
This non-normative example shows the two trust-evaluation categories
used together. A SaaS Resource Authorization Server
(api.saas.example) accepts identity assertions from federation member
Assertion Issuers about users in any customer namespace; the customer
authorizes which specific Assertion Issuer serves its users.
The Resource Authorization Server publishes:
{
"resource_authorization_server": "https://api.saas.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"]
},
{
"method": "domain_authorized_issuer"
}
]
}
Customer acme.example publishes a DAI record naming
https://idp.example.net as its authorized Assertion Issuer. That
Assertion Issuer is also a federation member of
https://federation.example.org.
A token-request flow with an ID-JAG carrying email:
alice@acme.example, email_verified: true, iss:
https://idp.example.net:
1. The Resource Authorization Server authenticates the client
(private_key_jwt) and determines that both Trust Methods are
applicable (the Trust Policy lists one in each category).
2. *Authenticity* (issuer_authentication category): the Resource
Authorization Server validates the OpenID Federation trust chain
from https://idp.example.net to https://federation.example.org.
This proves the Assertion Issuer is an authentic federation
member but says nothing about its authority over acme.example.
3. *Delegation authority* (subject_namespace_authorization
category): the Resource Authorization Server extracts
acme.example from the email claim, looks up the DAI record at
_oauth-issuer-policy.acme.example, and confirms
https://idp.example.net appears in authorized_issuers. This
proves Acme delegated naming authority over its namespace to this
specific Assertion Issuer.
4. The cross-category combination rule (Section 3.2.1) is satisfied:
one Trust Method succeeded in each applicable category. The
Resource Authorization Server proceeds with access-token
issuance.
If the Assertion Issuer were federation-authenticated but Acme had
not listed it in its DAI record, step 2 would succeed and step 3
would fail; the Resource Authorization Server rejects with
invalid_grant. Federation membership alone does not establish
namespace authority; the combination rule is what enforces this. A
deeper walkthrough including federation trust-chain validation and
Trust Mark satisfaction is in Appendix E.
4.4. Subject Authority Determination
Determining the Subject Authority has two steps: first identify which
registered Subject Identifier format the assertion carries, then
apply that format's extraction procedure. The grant-profile binding
(Section 6) designates which claim conveys the Subject Identifier and
thus which format applies; for the bindings in this document, a top-
level email claim (with email_verified) is the email format. A
format is "used by the assertion" when the designated claim for that
format is present. If the designated claim maps to no registered
format, the subject_namespace_authorization category cannot be
evaluated and processing follows Section 5.2 step 5c.
The Subject Authority associated with a Subject Identifier is then
determined as registered in Section 10.2. This document registers
the email extraction as the initial entry. The extraction-procedure
pattern (Subject Identifier format to Subject Authority) is open:
future specifications register additional formats for service
identities, decentralized identifiers, federated handles, and other
namespaces by adding entries to the same registry without changes to
the rest of the framework. See Appendix B.
Initial extractions:
email The Subject Authority is derived from the assertion's top-
level email claim, which MUST be accompanied by a top-level
email_verified claim with the boolean value true. If the
email_verified claim is absent or has any value other than true,
consumers MUST treat the email Subject Identifier as invalid for
Subject Authority determination and MUST reject the assertion when
email is the Subject Identifier being evaluated. Consumers MUST
NOT treat an unverified email claim as though the assertion
carried no Subject Identifier.
The domain is the substring after the single @. Consumers MUST
reject an email claim value that does not contain exactly one @
character or whose domain part is empty. This document uses the
simple single-@ rule rather than the full [RFC5321] Mailbox
grammar. Quoted local-parts or address forms that do not reduce
to a single unquoted @ are out of scope for the email extraction.
The local-part is not used. A trailing dot on the domain, if
present, is removed.
The domain is converted to A-label form ([RFC5891]) by UTS #46
ToASCII processing [UTS46] with these flags:
* Transitional_Processing=false (nontransitional processing).
Transitional processing is deprecated in UTS #46.
* IgnoreInvalidPunycode=false
* UseSTD3ASCIIRules=true
* CheckHyphens=true
* CheckBidi=true
* CheckJoiners=true
* VerifyDnsLength=true
Consumers MUST reject a domain for which ToASCII reports an error.
UseSTD3ASCIIRules rejects characters, such as _, that are not
valid in host names, which an email domain does not need. These
flags pin one mapping, so that two consumers compute the same
A-label. Transitional processing or IDNA2003 maps some characters
(such as U+00DF) differently and would select a different Subject
Authority. Conversion happens before any Public Suffix List
matching, so that comparison operates on a single canonical form.
The A-label domain is then normalized to its registrable domain
("eTLD+1") by applying the Public Suffix List matching algorithm
[PSL], including its wildcard * and exception ! rules. The
Subject Authority is the shortest suffix of the domain that is one
label longer than the longest matching public suffix. Consumers
MUST use both the ICANN and PRIVATE divisions of the list. A
delegated namespace listed in the PRIVATE division, such as
team.example-pages.example, resolves to that namespace. Using
only the ICANN division would compute a coarser Subject Authority
and query a different name.
The result is compared using case-insensitive ASCII comparison of
A-labels. Consumers MUST reject an email whose domain is itself a
public suffix (no registrable domain exists). Registrable-domain
normalization prevents an attacker who controls a subdomain (for
example, via subdomain takeover) from overriding the legitimate
record at the registrable domain.
A Subject Identifier whose format is not registered in Section 10.2
yields no Subject Authority; processing follows Section 5.2 step 5c.
Subject Authority extraction MUST be exact-match: wildcard, suffix,
regular-expression, and substring matching against Subject Authority
values are forbidden unless explicitly specified by the relevant
Subject Identifier format's extraction procedure.
4.4.1. Public Suffix List Versioning
Deriving a registrable domain from a DNS name has no protocol
solution: the IETF DBOUND working group examined the problem of
determining administrative (organizational) boundaries in the DNS and
concluded without a standard. The Public Suffix List is the de facto
mechanism (browsers use it for cookie same-site rules), although
DMARC, which originally used it for organizational-domain discovery,
replaced it with a DNS tree walk in [RFC9989] (Section 4.10). This
framework inherits the PSL's limitations knowingly; whether a DNS
tree walk suits Subject Authority determination is left to future
work.
The PSL [PSL] is updated continuously, and snapshots taken at
different times can yield different registrable domains for the same
email. Because the Subject Authority is the DNS name queried, two
Resource Authorization Servers using different PSL snapshots can
compute different Subject Authorities for the same assertion. They
can thus query different names and reach different decisions. During
the window in which a label's public-suffix status is changing, this
is a deterministic-source-selection hazard (Section 3.2.2) and a
security consideration, not merely an operational one. Consumers
SHOULD use a snapshot of the [PSL] no older than 30 days.
The determinism property this framework claims holds for a given
computed Subject Authority. Parties that require identical Subject
Authority computation across verifiers SHOULD agree on, or pin, a PSL
snapshot. Such parties include, for example, a Subject Authority and
the Resource Authorization Servers that consume its policy. Subject
Authorities SHOULD monitor PSL changes affecting their namespace.
4.4.2. Subdomain Authority
The registrable-domain default prevents subdomain-takeover from
capturing parent-domain authority. A subdomain-exact variant is
sketched in Appendix B and would require the parent registrable-
domain authority to explicitly delegate to the subdomain.
4.5. Critical Members
The Trust Policy MAY include a crit member: a JSON array of strings
naming other members of the same document whose correct processing is
REQUIRED for safe interpretation. A Trust Method specification MAY
adopt this mechanism, with the rules of this section, for the policy
documents it defines (for example, [DAI]).
A consumer that does not recognize, or does not implement processing
for, any member named in crit MUST reject the document as malformed
rather than ignoring the unrecognized member. Members not named in
crit retain the default handling: unrecognized members are ignored.
crit names members of the object that carries it. It does not reach
members of nested objects.
crit, when present, MUST be a non-empty array of strings; each string
SHOULD name a member that is actually present in the document. A
consumer MUST reject the document if crit is present but not a non-
empty array of strings, and MUST reject if crit names crit itself.
This is the same fail-closed pattern JWS ([RFC7515] Section 4.1.11)
uses for critical header parameters.
This mechanism is defined in the base specification, with no member
named critical by default. Defining it in the base lets a future
extension mark a new decision-affecting member critical and have
already-deployed consumers honor it. An extension that omitted it
from the base could not retrofit fail-closed behavior onto the
deployed base.
5. Trust Policy Processing
The Trust Policy governs whether an Assertion Issuer's identity
assertion is acceptable to the Resource Authorization Server. It
does not, by itself, authorize any particular access, scope, role, or
attribute. The Resource Authorization Server's local policy
continues to determine, for an accepted assertion, which scopes are
granted, which subject claims are honored for account linking, and
which local authorization decisions follow. The Trust Policy is
necessary but not sufficient: passing Trust Policy evaluation only
means the Resource Authorization Server is willing to consider the
assertion as input to its access-control logic.
5.1. Client Processing
A client that wants to obtain an identity assertion JWT for a
Resource Authorization Server:
1. Discovers the Resource Authorization Server metadata [RFC8414].
2. Confirms that the desired grant profile is supported by checking
the authorization_grant_profiles_supported parameter ([ID-JAG]
§7.2) in the authorization server's metadata.
3. Fetches the identity_assertion_trust_policy_uri document.
4. Determines whether an available Assertion Issuer can satisfy the
Trust Method combination rule in Section 5.2. For namespace-
bound Subject Identifiers, this usually means satisfying both an
issuer_authentication method (such as federation membership) and
a subject_namespace_authorization method (such as authorization
by the Subject Authority). 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.
5. Determines whether the Assertion Issuer can produce a Subject
Identifier in a format listed in
subject_identifier_formats_supported, if that member is present,
and required by the applicable grant profile.
6. Requests an identity assertion JWT from the selected Assertion
Issuer.
The client MUST NOT treat the Trust Policy as a guarantee that a
particular assertion will be accepted. The Resource Authorization
Server always applies local policy at token request time.
5.2. Resource Authorization Server Processing
This section specifies the normative processing procedure. It is the
OAuth-identity-assertion instantiation of the Authority Delegation
Model (Section 3): each Trust Method category in the applicable Trust
Policy is evaluated under the cross-category combination rule
(Section 3.2.1); lookup outcomes are classified per Section 3.4;
source selection is deterministic per Section 3.2.2.
When evaluating an identity assertion JWT presented in a token
request, the Resource Authorization Server MUST:
1. Select and parse the Trust Policy that applies to the token
request. A Resource Authorization Server that holds more than
one Trust Policy never selects one from a claim in the assertion
(Section 3.2.1.1). It selects one by client only when the
request's client authentication verifies against a registration
it holds (Section 4.3.6.1 limits which registrations qualify).
Any other request gets the policy that applies without regard to
the client, such as the one it publishes (Section 4.1). If the
policy document is malformed, reject the assertion. (Recognition
of individual Trust Method objects is handled in step 5a.)
2. Validate the assertion per the applicable grant profile
([RFC7521], [RFC7523], [ID-JAG]). This validation is provisional
with respect to signing-key resolution. A Trust Method evaluated
in step 5 MAY constrain the source of the key used to verify the
assertion signature. For example, openid_federation requires a
federation-resolved JWKS (Section 4.3.4.1).
The Resource Authorization Server MUST NOT accept the assertion
until the signature has been verified with a key permitted by
each key-source-constraining Trust Method it relies on to satisfy
the combination rule in step 5. This applies to the methods
relied on, not to every listed method. Under the or-semantics of
Section 3.2.1, a category may be satisfied by one of several
alternative methods, and only the constraints of the method
actually relied on apply. A signature validated only against an
unconstrained source, such as the iss URL's authorization server
metadata, does not satisfy this step when the relied-on Trust
Method constrains the key source.
3. Verify that the applicable grant profile is listed in
authorization_grant_profiles_supported.
4. If subject_identifier_formats_supported is present, verify that
the Subject Identifier format used by the assertion is listed,
unless the applicable grant profile defines a different format
selection rule.
5. Verify that the Assertion Issuer identified by iss and, when the
policy contains client_trust_methods, the authenticated client
satisfy the Trust Method combination rule:
a. Partition the Trust Method objects in issuer_trust_methods
and client_trust_methods by category (see Section 4.3.2). A
Trust Method registered with multiple categories belongs to each
category that its member allows (Section 4.2). If any object in
either member is not recognized, is malformed (including a method
listed in the wrong member, Section 4.2), or cannot be assigned
to a category known to the Resource Authorization Server, the
Resource Authorization Server MUST reject the assertion. In that
case, the Resource Authorization Server cannot determine whether
it is evaluating the full set of requirements the operator
declared. Silently ignoring the object would evaluate a strict
subset (a fail-open category downgrade). A single evidence item
MUST NOT be counted toward more than one category even when its
Trust Method is registered in several.
b. Each category present in the partitioned policy is applicable
to every assertion evaluated under this policy; applicability is
a property of the policy, not the assertion (Section 3.2.1.1).
For each present category, the Assertion Issuer, or for the
client_recognition category the authenticated client, MUST
satisfy at least one Trust Method from that category, subject to
the finality rule of Section 3.2.2.
c. When the policy contains a subject_namespace_authorization
Trust Method, the assertion MUST carry a Subject Identifier from
which a Subject Authority can be determined per Section 4.4 or an
equivalent registry. If the assertion carries no such Subject
Identifier, or no Subject Authority can be determined, the
Resource Authorization Server MUST reject the assertion. The
Resource Authorization Server MUST NOT treat the
subject_namespace_authorization category as inapplicable because
the assertion omits a Subject Identifier. When the namespace
category is present but cannot be evaluated, the Resource
Authorization Server MUST NOT consume any subject or identity
claim from the assertion for account linking, authorization, or
subject resolution.
d. Local policy MAY require satisfaction of additional Trust
Methods for specific clients, subjects, or scopes.
e. When the policy lists no subject_namespace_authorization
method and the assertion carries a namespace-bound Subject
Identifier, the Resource Authorization Server MUST reject the
assertion unless local policy independently establishes authority
over the subject namespace. A namespace-bound Subject Identifier
is one whose format has a registered Subject Authority extraction
procedure (Section 10.2), so the Resource Authorization Server
can determine that an identifier is namespace-bound without
running a namespace method. Federation membership alone does not
establish authority over a particular subject namespace.
f. When the policy contains client_trust_methods, 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. 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).
6. Apply local policy (account-linking, consent, authorization,
risk) and the applicable grant profile's sender-constraining;
this document specifies neither.
Client authentication that the grant profile requires SHOULD be
completed before step 5, so that unauthenticated requests cannot
cause the lookups that step performs. When the policy contains
client_trust_methods, the Resource Authorization Server MUST
authenticate the client before step 2, and before then MUST NOT
perform any lookup except those a client_recognition method needs to
obtain the client's authentication keys, such as the trust chain and
key set that openid_federation_client resolves. Every fetch made in
this processing follows Section 5.3.
Rejection at any of steps 1 through 5, including a malformed Trust
Policy (step 1) or an unlisted grant profile (step 3), MUST result in
an OAuth invalid_grant error unless another error is defined by the
applicable grant profile, by step 5f, or by the Trust Method that
failed. A client authentication failure, from step 5f or from a
client_recognition method, takes precedence over any other error. An
error for an authenticated client that a client_recognition method
does not recognize applies only when no other step fails. Detailed
trust-evaluation failure state MUST NOT be returned to public clients
in the OAuth error response; it is a reconnaissance target.
5.3. Outbound Fetches
Evaluating Trust Methods makes the Resource Authorization Server
fetch resources at locations an attacker can choose:
* the Assertion Issuer's metadata and key sets;
* a client's Entity Configuration, trust chain, and key sets;
* Entity Statements reached through a leaf's authority_hints;
* a Trust Mark Issuer's chain; and
* policy documents named by a Subject Authority that the attacker
controls.
For every such fetch, the Resource Authorization Server:
* MUST NOT connect to an address that is private-use, loopback,
link-local, unique-local, or otherwise not globally routable,
unless local configuration explicitly permits that address range
(for example, for a deployment whose internal resolver maps public
names to private addresses);
* MUST connect to the address it checked rather than resolving the
name again, so that a DNS answer that changes between the check
and the connection cannot redirect the fetch;
* MUST apply a timeout to each fetch and MUST bound response sizes;
and
* MUST bound the number of fetches one token request can cause; a
bound of no more than 20 is RECOMMENDED.
Trust Method specifications MAY add requirements; for example, [DAI]
forbids following redirects for policy fetches.
6. Grant Profile and Token Bindings
This section defines bindings for ID-JAG (Section 6.1) and the
generic JWT-bearer assertion grant (Section 6.2). Other assertion-
bearing grant profiles would supply analogous bindings, naming their
grant profile identifier, their Subject Identifier-bearing claim, and
any profile-specific JWT claims that participate in Trust Method
evaluation.
Both bindings arrive at the token endpoint with
grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer. The Resource
Authorization Server determines which binding governs a given
assertion from the assertion's JWT typ header: an assertion typed per
[ID-JAG] is evaluated under Section 6.1; other JWT-bearer assertions
are evaluated under Section 6.2.
6.1. ID-JAG
For ID-JAG [ID-JAG], authorization_grant_profiles_supported contains
the value urn:ietf:params:oauth:grant-profile:id-jag. The Subject
Identifier for ID-JAG is the top-level email claim, accompanied by
email_verified=true, extracted per Section 4.4. When the Trust
Policy contains a subject_namespace_authorization method, Section 5.2
step 5c requires the ID-JAG to carry that Subject Identifier and
requires rejection if it is absent or unresolvable.
[ID-JAG] §6.1 requires a multi-tenant issuer to include the tenant
claim when the tenant context is relevant to the Resource
Authorization Server. Under this binding, an Assertion Issuer that
serves more than one tenant under a single issuer identifier MUST
include the tenant claim in every ID-JAG it issues. A namespace
method can bind authorization to a tenant (for example, [DAI]
§Single-Issuer Multi-Tenant Identity Providers) and cannot tell an
issuer's tenants apart without the claim. The Assertion Issuer
cannot tell which Resource Authorization Servers evaluate such a
method: publishing a Trust Policy is optional (Section 4.1), and
local policy can add Trust Methods (Section 5.2 step 5d). This
narrows [ID-JAG] §6.1.
[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. When the
Trust Policy contains client_trust_methods, step 5f of Section 5.2
rejects such a request with invalid_client. This narrows [ID-JAG]
§4.4.1.
In addition to the processing in Section 5.2, the Resource
Authorization Server MUST:
1. Validate the ID-JAG per [ID-JAG].
2. Verify that the email Subject Identifier, when the assertion
carries one, uses a format listed in
subject_identifier_formats_supported, if that Trust Policy member
is present. (Whether the assertion is required to carry the
Subject Identifier at all is governed by Section 5.2 step 5c.)
3. Use the email attribution only for subject resolution and Subject
Authority evaluation. The Resource Authorization Server MUST NOT
treat the mere presence or value of the email claim as proof that
the ID-JAG issuer is authoritative for the subject; issuer
acceptability is established only by evaluating the Trust
Methods.
6.2. Generic JWT-Bearer Assertion Grant
This section provides the binding for the JWT-bearer authorization
grant of [RFC7523] Section 2.1 when the assertion carries an identity
claim to which Subject Authority Determination applies. Other
identity-carrying grant profiles (e.g., ID-JAG, Section 6.1) supply
their own bindings.
A Resource Authorization Server that accepts generic RFC 7523 JWT-
bearer assertion grants advertises urn:ietf:params:oauth:grant-
type:jwt-bearer in grant_types_supported. RFC 7523 defines no
distinct grant-profile identifier, so this framework reuses that
grant-type URN as the grant-profile identifier; a deployment
accepting this grant MUST list it in
authorization_grant_profiles_supported so Section 5.2 step 3 applies
uniformly. A Resource Authorization Server SHOULD reject a JWT-
bearer assertion whose typ header identifies a different JWT
application ([RFC8725] §3.11). [RFC7523] Section 3.1 lets this grant
be used without client authentication. A Trust Policy that contains
client_trust_methods requires it (Section 5.2 step 5f).
As with ID-JAG, the Subject Identifier for this binding is the top-
level email claim, accompanied by email_verified=true, extracted per
Section 4.4. The sub claim is not a Subject Identifier source under
this binding, even when its value is in email form: sub is an issuer-
scoped identifier ([RFC7519]) that may merely resemble an email, and
no verification signal attests it (email_verified attests the email
claim). Fixing a single source preserves the deterministic single-
source-selection requirement of Section 3.2.2; an Assertion Issuer
whose subject identifiers are email-form sub values participates by
also emitting the email and email_verified claims. A future
extension MAY register an additional extraction procedure
(Section 10.2) for other claim sources.
In addition to the processing in Section 5.2, the Resource
Authorization Server MUST:
1. Validate the JWT per [RFC7523].
2. Verify that the email Subject Identifier, when the assertion
carries one, uses a format listed in
subject_identifier_formats_supported, if that Trust Policy member
is present.
3. Treat the identity claim only as input to Subject Authority
evaluation. Issuer acceptability is established only by
evaluating the Trust Methods.
Because the generic JWT-bearer grant carries no tenant claim, tenant-
scoped authorization is not expressible for assertions delivered
under this grant; the resulting constraint on Subject Authorities
that rely on shared multi-tenant Assertion Issuers is specified in
[DAI] §Single-Issuer Multi-Tenant Identity Providers.
This binding does not apply to JWT client authentication ([RFC7523]
Section 2.2), where the Subject Identifier is the client_id
registered with the authorization server and no external namespace-
owner delegation exists.
7. Security Considerations
7.1. Alignment with OAuth Security BCP
This document complements the OAuth 2.0 Security Best Current
Practice ([RFC9700]). It does not duplicate or override it.
The subject_namespace_authorization category is the wire-format
analog of [RFC9700] §4.4 (AS mix-up mitigations). To the extent the
Subject Authority's publication channel provides integrity, a
Resource Authorization Server will not accept an assertion from an
authorization server that the Subject Authority has not listed. This
guarantee is only as strong as the integrity of that channel. It is
not an unconditional guarantee. A Trust Method whose evidence is
published over unauthenticated DNS or a compromisable HTTPS origin
can be defeated by an attacker who controls that channel. See the
per-Trust-Method security analysis (for example, [DAI]) and
Section 3.2.2.
Other [RFC9700] topics (redirect URI validation, bearer-token replay,
client authentication) apply at the grant-profile and client-
authentication layers and are not addressed here. Implementations
SHOULD follow [RFC9700] at those layers.
7.2. Unverified Claim Exploitation
Source selection (Section 3.2.2) chooses which Authority Source's
delegation applies to the incoming Assertion. At the point of
selection, the Assertion's signature has not yet been validated
against any Delegation Artifact; the Assertion is an untrusted
payload. A profile whose source-selection algorithm considers
multiple claims, applies preference ordering, or falls back from one
input to another gives an attacker a selection lever.
The attack: the attacker constructs an Assertion whose claims satisfy
multiple potential bindings. The Validator's selection algorithm
picks the weakest (or most attacker-favorable) Authority Source's
policy. The Assertion is evaluated against a Delegation Artifact
that the legitimate Authority Holder for the target namespace never
authorized.
Worked example: an Assertion carries sub: alice@victim.example AND
tenant_context: attacker-tenant.example. A loosely written profile
selects the Authority Source by tenant context when present, falling
back to subject domain. The Validator selects attacker-
tenant.example, fetches that Authority Holder's Delegation Artifact
(which the attacker controls), validates the Assertion against it,
and accepts a claim about a victim.example subject.
The mitigation is *deterministic source selection* (Section 3.2.2): a
binding function from Assertion + request context to exactly one
Authority Source. Profiles MUST define that function explicitly and
the function MUST:
* Use explicitly defined inputs (a single named claim, header,
request parameter, or fixed tuple).
* Produce exactly one Authority Source for any valid input, or fail
deterministically (no preference ordering, no fallback across
candidates).
* Be invariant under attacker-controlled inputs outside the binding
function: the presence, absence, or value of any other claim MUST
NOT alter the selected Authority Source.
The email extraction registered by this document derives the Subject
Authority deterministically from a single claim and does not fall
back; profiles registering additional extractions MUST preserve this
property.
7.3. Applicability Bypass
The cross-category combination rule (Section 3.2.1) requires the
Validator to evaluate every applicable category. A profile that lets
category applicability depend on the incoming Assertion gives the
attacker a way to waive the category by constructing a matching
Assertion.
The attack: the profile (or local configuration) declares "the
namespace authorization category is not applicable when the Assertion
is from a legacy issuer" (or carries a legacy-flag claim, or fails
some heuristic that signals "legacy"). The attacker constructs an
Assertion matching the legacy condition. The Validator silently
skips the entire namespace authorization evaluation; the open-world
defense layer is bypassed and the Validator falls back to
authenticity alone, which the cross-category combination rule was
explicitly designed to forbid as sufficient.
The mitigation: category applicability MUST be a property of the
Validator's published Trust Policy, not of the incoming Assertion.
Migration scenarios where some traffic legitimately predates a
category's availability are handled at the policy layer, not by
silently waiving the category. Per-deployment-phase policy is a
configuration boundary; Assertion-driven waiver is an attacker-
controlled boundary.
7.4. Authority Source Compromise
The authority binding (publication channel) is the highest-value
target. A compromise of the publication channel (DNS hijack, TLS
misissuance plus DNS redirect, registrar account takeover, compromise
of the federation operator's signing key) substitutes the Authority
Holder's voice with the attacker's. Delegation Artifacts published
through the compromised channel are indistinguishable from legitimate
ones.
This framework does not provide cryptographic recovery from
publication-channel compromise. Recovery is operational. Profiles
SHOULD recommend operational defenses appropriate to their
publication channel (DNSSEC, registry-lock, CAA records, Certificate
Transparency monitoring, federation key rotation). 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. See [DAI] §Security Considerations for the DNS+HTTPS
publication-channel compromise model.
7.5. Transitive Authorization is Bounded
The two issuer categories make different transitivity choices, both
permitted within the taxonomy of Section 3.3:
* issuer_authentication permits chained transitivity. The
openid_federation Trust Method accepts a chain from a leaf entity
to a trust anchor; the trust anchor's signature on intermediate
Subordinate Statements transitively authenticates the leaf.
* subject_namespace_authorization requires depth-1 (no chaining). A
Subject Authority lists specific Assertion Issuers directly; it
cannot delegate further to whoever Issuer X federates. Revocation
latency is bounded by the Subject Authority's own cache lifetime
and does not compound across delegations.
The two issuer categories are independent: federation membership does
not establish namespace authority, and namespace authorization does
not establish authenticity. The cross-category combination rule
(Section 5.2) enforces this independence at evaluation time. See
Appendix A.1 for positioning against OpenID Federation.
7.6. Key Binding Is Outside Namespace Authorization
A subject_namespace_authorization method authorizes an issuer
identifier, not a key. Which key speaks for that identifier is
decided elsewhere, and every party that can decide it is trusted for
every namespace that lists the issuer:
* Under openid_federation, the leaf's policy-applied metadata
supplies the key source (Section 4.3.4.1), and 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.
* Without federation, the key comes from the Assertion Issuer's own
metadata, and whoever controls that metadata controls the key.
* A policy host named by a [DAI] uri= pointer controls the list
itself, unless the Subject Authority pins the policy's signing
key.
The cross-category combination rule does not defend against these
parties: the first two act as a listed issuer, and the third decides
the list. A future extension could let an Authority Holder pin a key
thumbprint for each authorized issuer.
7.7. Scope of Namespace Authorization
Trust-policy evaluation establishes that the Assertion Issuer is
authorized to assert this class of Subject Identifiers under the
namespace. Resource Authorization Servers MUST still validate the
assertion (signature, audience, expiration, replay protection, client
binding) per the applicable grant profile, and MUST NOT infer any of
the following from a successful trust-policy evaluation:
* The named subject exists at the Assertion Issuer or controls the
email local-part ([DAI] §Email Local-Part Is Not Authenticated).
* The subject's current employment, enrollment, or organizational
status.
* The strength, freshness, or method of the Assertion Issuer's
authentication.
* Account-linking semantics (case sensitivity, plus-address or alias
handling) compatible with this Resource Authorization Server's.
* Suitability for any specific risk class, scope sensitivity, or
compliance regime.
These properties are out of scope and obtained, if needed, through
mechanisms outside this framework (authentication-method or
authentication assurance level claims, fresh-authentication signals,
account-status attestations, out-of-band verification). In
particular, email_verified=true is a prerequisite for deriving
namespace authority from the email's domain; it is not evidence of
current mailbox control.
Namespace authorization also does not make an email address a safe
account key by itself. A Resource Authorization Server keys accounts
on issuer-scoped identifiers (for example, iss with sub, or iss,
tenant, and sub for a multi-tenant issuer) and links an account by
email only under its own account-linking rules.
The authorization is also not audience-scoped. The
subject_namespace_authorization category constrains which Assertion
Issuers may assert about a namespace. It does not constrain which
Resource Authorization Servers an authorized issuer may target. A
compromised-but-authorized issuer can therefore mint assertions about
the namespace's subjects for any consumer. Audience binding is
enforced by the assertion's aud claim and the applicable grant
profile, not by the Subject Authority. A future extension may let
Authority Holders constrain acceptable audiences (see [DAI] §Future
Extensions).
7.8. Client Recognition
The client_recognition category evaluates the client that presents an
identity assertion. The client is taken from the token request's
client authentication, not from the assertion, so an attacker who
controls an assertion's claims cannot choose which client is
evaluated (Section 7.2). Recognition admits a client to the
exchange. It does not authorize the client to act for a particular
user, it says nothing about the subject or the Assertion Issuer, and
the other categories still apply. Under the generic JWT-bearer
binding, where the assertion names no client, any recognized client
can present an assertion it obtained (Section 4.3.6).
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, so naming a
registered client_id without authenticating as that client 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 it, so a
party holding such a registration cannot redeem an assertion issued
to the federation Entity of that name (Section 4.3.6.1).
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.6), and so authenticate as any client beneath it.
A client method that lets a client opt in by publishing evidence,
such as a DNS record, has the same property as a namespace method:
under the combination rule, a client that has published nothing is
Negative, and is rejected wherever the category is listed unless
another listed client method is satisfied. Accepting such clients
through local policy instead needs a mechanism that this document
does not define.
Step 5f of Section 5.2 requires client authentication whenever the
policy lists a client method, even where a grant profile would allow
a request without it.
7.9. Per-Assertion Revocation Is Out of Scope
This framework decides whether an Assertion Issuer is authorized. It
does not revoke individual assertions. JWT bearer tokens are
stateless and remain valid until exp regardless of:
* session termination;
* credential revocation at the Assertion Issuer; or
* Subject Authority withdrawal of the issuer's authorization via
DAI.
That withdrawal stops the Resource Authorization Server from
accepting further assertions once its cache expires. It does not
revoke access or refresh tokens the Resource Authorization Server has
already issued. Deployments requiring synchronous revocation need
OAuth 2.0 Token Revocation [RFC7009], Token Introspection [RFC7662],
or short assertion lifetimes at the grant-profile layer.
7.10. Policy Document Integrity
The Trust Policy MUST be served over HTTPS with TLS server
authentication, and its integrity rests on TLS. It carries no
signature. A Resource Authorization Server enforces its Trust Policy
from its own configuration, and a client uses the published copy only
for discovery (Section 5.1). A substituted Trust Policy can
therefore mislead a client's choice of Assertion Issuer but cannot
change what the Resource Authorization Server accepts.
Integrity protection for an Issuer Authorization Policy, which
decides acceptance, is defined by the Trust Method specification that
defines the policy (for example, [DAI] §Signed Policy). Mirrored or
cached copies of a Trust Policy MUST NOT be relied on beyond their
HTTP cache lifetime (Section 7.13). Cache and stale-use bounds for
an Issuer Authorization Policy are set by the applicable Trust Method
specification (Section 4.3.3).
7.11. Shared Infrastructure and Hosted Well-Known Paths
Many deployments host /.well-known/ resources behind third-party
Content Delivery Networks (CDNs), shared edge platforms, or multi-
tenant cloud hosting systems. TLS server authentication proves that
the client reached an endpoint serving the requested host name; it
does not prove that every routing rule, origin-pull rule, cache rule,
or tenant boundary inside the shared platform is controlled by the
namespace owner.
This matters most for the Subject Authority's Issuer Authorization
Policy, which decides acceptance. If an attacker can exploit shared
infrastructure to serve a forged policy for a victim domain, the
attacker can attempt to authorize an Assertion Issuer for that
victim's namespace even though the HTTPS connection itself succeeds.
Similar risks arise from misconfigured path routing, dangling
origins, tenant takeover, cache poisoning, or origin authentication
failures.
Administrators SHOULD avoid delegating security-critical well-known
paths to multi-tenant infrastructure unless they can ensure exclusive
control over routing for those paths, authenticated origin access,
cache invalidation, and tenant isolation. Object-level integrity for
an Issuer Authorization Policy hosted this way is defined by the
Trust Method specification ([DAI] §Policy Hosts).
7.12. Downgrade Attacks
A Resource Authorization Server that supports multiple Trust Methods
SHOULD define local precedence rules. Resource Authorization Servers
MUST enforce differentiated requirements at token request time rather
than relying on the policy document alone. This is because or-
semantics apply within a single Trust Method category and the client
cannot observe per-subject local requirements. A client's choice of
a weaker listed Trust Method is not a protocol violation the client
can be held to but a condition the Resource Authorization Server
rejects. The cross-category combination rule in Section 5.2 prevents
downgrade across categories (for example, satisfying only an
issuer_authentication method when a subject_namespace_authorization
method is also applicable).
7.13. Trust Policy Caching
Consumers cache the Trust Policy using ordinary HTTP caching (see
[RFC9111] for the mechanism), bounded by a local maximum cache
lifetime. Independent of any policy-document cache expiration,
revocation status of validated trust evidence MUST be checked at the
cadence required by the applicable Trust Method specification.
Transport integrity is addressed in Section 7.10.
7.14. Observability
Trust-policy evaluation is a security-critical decision. For each
processed assertion, deployments are encouraged to log at minimum:
* the Assertion Issuer identifier;
* the version or configuration identifier of the Trust Policy in
effect;
* the Trust Methods that succeeded;
* the matched trust anchor or Issuer Authorization Policy origin;
* the Subject Identifier format; and
* the accept/reject outcome.
Deployments are also encouraged to support correlation across the
issuance and verification halves of an identity-chain transaction.
8. Privacy Considerations
Trust policies are typically published as unauthenticated HTTPS
resources. Adversaries can scrape them across many Resource
Authorization Servers to map federation deployment landscapes: which
RASes participate in which federations, which trust anchors are
accepted, which Subject Identifier formats are honored. This
information aids targeted attacks (for example, prioritizing
compromise of a heavily-relied-upon trust anchor). Operators SHOULD
publish only what clients need to determine whether they can attempt
issuance, and prefer trust-anchor or federation expression over
enumerating individual issuers.
Subject Authority lookup at the RAS reveals the queried Subject
Authority to DNS resolvers and, for HTTPS retrieval, to the policy
host. RASes verifying with domain_authorized_issuer should treat the
Subject Authority and Assertion Issuer relationship as sensitive
operational data and avoid sending full subject identifiers in policy
URLs, query parameters, logs, or telemetry.
9. Internationalization Considerations
The email Subject Identifier format carries an internationalized
domain. Consumers convert the domain to A-label form by UTS #46
nontransitional processing (Section 4.4) before Public Suffix List
matching and before comparison. They compare A-labels using case-
insensitive ASCII comparison.
Performing all comparison on the A-label form means two visually
distinct Unicode domains that map to different A-labels are correctly
treated as different Subject Authorities. Conversely, this mechanism
does not by itself defend against homograph confusion presented to a
human at account-linking or display time. Such confusion is out of
scope and left to the consuming application. Comparison operates on
the mechanism level, not the visual level. Resource Authorization
Servers that link accounts by email SHOULD compare the domain in this
A-label form, so that a Unicode string that maps to a different
Subject Authority cannot land on another user's account.
The email extraction uses the simple single-@ rule and does not
implement the full [RFC5321] Mailbox grammar. Internationalized
email addresses (SMTPUTF8, [RFC6530]) whose local-part requires UTF-8
are outside the scope of the email extraction defined here, though
the domain of such an address is handled normally once isolated. A
future Subject Identifier format may define richer address handling
by registering its own extraction procedure (Section 10.2).
10. IANA Considerations
10.1. Trust Policy Registrations
10.1.1. OAuth Authorization Server Metadata Registry
Registers identity_assertion_trust_policy_uri in the IANA "OAuth
Authorization Server Metadata" registry:
Metadata Name: identity_assertion_trust_policy_uri
Metadata Description: HTTPS URI identifying the Resource
Authorization Server's Identity Assertion Issuer Trust Policy
document.
Change Controller: IETF
Specification Document: This document
10.1.2. OAuth Protected Resource Metadata Registry
Registers the same parameter in the IANA "OAuth Protected Resource
Metadata" registry [RFC9728]:
Metadata Name: identity_assertion_trust_policy_uri
Metadata Description: HTTPS URI identifying the Identity Assertion
Issuer Trust Policy document applied by the Resource Authorization
Server associated with this Protected Resource.
Change Controller: IETF
Specification Document: This document
10.1.3. Well-Known URI for Trust Policy
Registers the following well-known URI in the IANA "Well-Known URIs"
registry [RFC8615]:
URI Suffix: identity-assertion-trust-policy
Change Controller: IETF
Specification Document: This document
Status: permanent
Related Information: None
10.1.4. Identity Assertion Trust Method Categories Registry
IANA is requested to establish a new registry titled "Identity
Assertion Trust Method Categories" under the "OAuth Parameters"
registry group. This registry backs the category values used by the
Trust Methods registry and referenced by the combination rule
(Section 3.2.1).
Registration policy: Specification Required [RFC8126].
Each registry entry contains a Category Name (character set
[a-z0-9_]), a Description of the trust question the category answers,
a Change Controller, and a Specification Document.
Designated Expert instructions: the expert verifies that the proposed
category answers a trust question genuinely distinct from existing
categories (so that the cross-category AND semantics of Section 3.2.1
remain meaningful) and that the description makes clear what evidence
satisfies it. Categories that merely rename or subdivide an existing
category SHOULD be rejected.
Initial entries, each with Change Controller IETF and Specification
Document this document:
+=================================+=============================+
| Category Name | Description |
+=================================+=============================+
| issuer_authentication | Establishes that the |
| | Assertion Issuer is an |
| | authentic, recognized |
| | entity |
+---------------------------------+-----------------------------+
| subject_namespace_authorization | Establishes that the |
| | Assertion Issuer is |
| | authorized by the subject's |
| | namespace owner |
+---------------------------------+-----------------------------+
| client_recognition | Establishes that the client |
| | presenting the assertion is |
| | recognized by an authority |
| | the Resource Authorization |
| | Server accepts |
+---------------------------------+-----------------------------+
Table 2
10.1.5. Identity Assertion Trust Methods Registry
IANA is requested to establish a new registry titled "Identity
Assertion Trust Methods" under the "OAuth Parameters" registry group.
Registration policy: Specification Required [RFC8126].
Each registry entry contains:
Identifier: Short string used as the method value in a Trust Method
object. Identifiers MUST use the character set [a-z0-9_] and
SHOULD describe the trust evaluation procedure.
Categories: One or more values registered in the Trust Method
Categories registry (Section 10.1.4).
Parameters: Additional JSON members defined for this Trust Method,
with their JSON types and whether each is REQUIRED or OPTIONAL.
Change Controller: The party responsible for change control.
Reference: A reference to the specification defining the Trust
Method.
Designated Expert instructions: the expert verifies that:
* the identifier is unique and descriptive;
* each listed category is registered;
* the Trust Method's evidence and evaluation procedure are specified
precisely enough for interoperable implementation (including its
mapping onto the Affirmative/Negative/Indeterminate lookup states
and any cache-lifetime bounds, per Section 4.3.3); and
* parameter names do not collide in meaning with parameters of other
methods in a way that would be ambiguous when methods are
combined.
Initial entries:
Identifier: openid_federation
Categories: issuer_authentication
Parameters: trust_anchors (array of string, REQUIRED); trust_marks
(array of object, OPTIONAL; see Section 4.3.4.1)
Change Controller: IETF
Reference: This document
Identifier: openid_federation_client
Categories: client_recognition
Parameters: trust_anchors (array of string, REQUIRED); trust_marks
(array of object, OPTIONAL; see Section 4.3.6.1)
Change Controller: IETF
Reference: This document
10.1.6. Trust Policy Members Registry
IANA is requested to establish a new registry titled "Identity
Assertion Issuer Trust Policy Members" under the "OAuth Parameters"
registry group.
Registration policy: Specification Required [RFC8126].
Each registry entry contains:
Member Name: JSON member name used in the Trust Policy document.
Member Description: A short description of the member's semantics.
Decision-Affecting: Whether the member is decision-affecting
(Section 2).
Change Controller: The party responsible for change control.
Specification Document: A reference to the specification defining
the member.
Designated Expert instructions: the expert verifies that:
* the member name does not collide with an existing member;
* the member's semantics and JSON type are specified;
* the registration states whether the member is decision-affecting
(Section 2); and
* any decision-affecting member states how a consumer that does not
recognize it behaves.
The default is that unrecognized members are ignored. A member
requiring fail-closed handling needs the criticality mechanism of
Section 4.5.
Initial entries, each decision-affecting, with Change Controller IETF
and Specification Document this document:
+========================================+=======================+
| Member Name | Member Description |
+========================================+=======================+
| resource_authorization_server | Resource |
| | Authorization Server |
| | issuer identifier |
+----------------------------------------+-----------------------+
| authorization_grant_profiles_supported | Supported identity |
| | assertion grant |
| | profile identifiers |
+----------------------------------------+-----------------------+
| subject_identifier_formats_supported | Supported Subject |
| | Identifier formats |
+----------------------------------------+-----------------------+
| issuer_trust_methods | Trust Method |
| | requirements enforced |
| | for incoming identity |
| | assertions |
+----------------------------------------+-----------------------+
| client_trust_methods | Trust Method |
| | requirements enforced |
| | for the client |
| | presenting an |
| | identity assertion |
+----------------------------------------+-----------------------+
| crit | Names decision- |
| | affecting members |
| | that a consumer has |
| | to understand to |
| | process the document |
+----------------------------------------+-----------------------+
Table 3
10.2. Subject Authority Extraction Procedures Registry
IANA is requested to establish a new registry titled "Subject
Authority Extraction Procedures" under the "OAuth Parameters"
registry group.
Registration policy: Specification Required [RFC8126].
Each registry entry contains:
Subject Identifier Format: The Subject Identifier format identifier
(typically registered in the "Security Event Subject Identifier
Formats" registry per [RFC9493]).
Subject Authority Form: A short description of the form taken by the
Subject Authority for this format (for example, "DNS domain", "URL
host").
Extraction Procedure: A reference to the specification text that
defines how the Subject Authority is computed from a Subject
Identifier of this format.
Change Controller: The party responsible for change control.
Designated Expert instructions: the expert verifies that the format
has a well-defined namespace authority, that the extraction procedure
is deterministic (two consumers compute the same Subject Authority
from the same Subject Identifier), and that it specifies exact-match
comparison semantics per Section 4.4.
Future specifications that define new Subject Identifier formats are
expected to register additional entries here when those identifiers
have a well-defined namespace authority.
Initial entries:
+===================+================+================+============+
| Subject | Subject | Extraction | Change |
| Identifier Format | Authority Form | Procedure | Controller |
+===================+================+================+============+
| email | DNS domain | Section 4.4 of | IETF |
| | | this document | |
+-------------------+----------------+----------------+------------+
Table 4
11. References
11.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,
.
[PSL] "Public Suffix List", n.d., .
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119,
DOI 10.17487/RFC2119, March 1997,
.
[RFC5891] Klensin, J., "Internationalized Domain Names in
Applications (IDNA): Protocol", RFC 5891,
DOI 10.17487/RFC5891, August 2010,
.
[RFC6749] Hardt, D., Ed., "The OAuth 2.0 Authorization Framework",
RFC 6749, DOI 10.17487/RFC6749, October 2012,
.
[RFC7519] Jones, M., Bradley, J., and N. Sakimura, "JSON Web Token
(JWT)", RFC 7519, DOI 10.17487/RFC7519, May 2015,
.
[RFC7521] Campbell, B., Mortimore, C., Jones, M., and Y. Goland,
"Assertion Framework for OAuth 2.0 Client Authentication
and Authorization Grants", RFC 7521, DOI 10.17487/RFC7521,
May 2015, .
[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,
.
[RFC8126] Cotton, M., Leiba, B., and T. Narten, "Guidelines for
Writing an IANA Considerations Section in RFCs", BCP 26,
RFC 8126, DOI 10.17487/RFC8126, June 2017,
.
[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,
.
[RFC8615] Nottingham, M., "Well-Known Uniform Resource Identifiers
(URIs)", RFC 8615, DOI 10.17487/RFC8615, May 2019,
.
[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,
.
[RFC8725] Sheffer, Y., Hardt, D., and M. Jones, "JSON Web Token Best
Current Practices", BCP 225, RFC 8725,
DOI 10.17487/RFC8725, February 2020,
.
[RFC9493] Backman, A., Ed., Scurtescu, M., and P. Jain, "Subject
Identifiers for Security Event Tokens", RFC 9493,
DOI 10.17487/RFC9493, December 2023,
.
[RFC9700] Lodderstedt, T., Bradley, J., Labunets, A., and D. Fett,
"Best Current Practice for OAuth 2.0 Security", BCP 240,
RFC 9700, DOI 10.17487/RFC9700, January 2025,
.
[RFC9728] Jones, M.B., Hunt, P., and A. Parecki, "OAuth 2.0
Protected Resource Metadata", RFC 9728,
DOI 10.17487/RFC9728, April 2025,
.
[UTS46] Unicode Consortium, "Unicode IDNA Compatibility
Processing", .
11.2. Informative References
[DAI] "OAuth Domain-Authorized Issuer Trust Method",
.
[I-D.ietf-oauth-client-id-metadata-document]
"OAuth Client ID Metadata Document",
.
[I-D.ietf-oauth-identity-chaining]
"OAuth Identity and Authorization Chaining Across
Domains", .
[I-D.shankarlingam-oauth-agent-dns-link]
"Linking an Agent's DNS Name to its OAuth Client",
.
[NOAUTH] Descope, "nOAuth: How Microsoft OAuth Misconfiguration Can
Lead to Full Account Takeover", 20 June 2023,
.
[OIDC-DISCOVERY]
"OpenID Connect Discovery 1.0", n.d.,
.
[OIDF-WKB] Hardt, D., "OpenID Federation Well-Known Binding 1.0", 11
November 2026, .
[RFC5321] Klensin, J., "Simple Mail Transfer Protocol", RFC 5321,
DOI 10.17487/RFC5321, October 2008,
.
[RFC6530] Klensin, J. and Y. Ko, "Overview and Framework for
Internationalized Email", RFC 6530, DOI 10.17487/RFC6530,
February 2012, .
[RFC7009] Lodderstedt, T., Ed., Dronia, S., and M. Scurtescu, "OAuth
2.0 Token Revocation", RFC 7009, DOI 10.17487/RFC7009,
August 2013, .
[RFC7033] Jones, P., Salgueiro, G., Jones, M., and J. Smarr,
"WebFinger", RFC 7033, DOI 10.17487/RFC7033, September
2013, .
[RFC7515] Jones, M., Bradley, J., and N. Sakimura, "JSON Web
Signature (JWS)", RFC 7515, DOI 10.17487/RFC7515, May
2015, .
[RFC7662] Richer, J., Ed., "OAuth 2.0 Token Introspection",
RFC 7662, DOI 10.17487/RFC7662, October 2015,
.
[RFC9111] Fielding, R., Ed., Nottingham, M., Ed., and J. Reschke,
Ed., "HTTP Caching", STD 98, RFC 9111,
DOI 10.17487/RFC9111, June 2022,
.
[RFC9334] Birkholz, H., Thaler, D., Richardson, M., Smith, N., and
W. Pan, "Remote ATtestation procedureS (RATS)
Architecture", RFC 9334, DOI 10.17487/RFC9334, January
2023, .
[RFC9989] Herr, T., Ed. and J. Levine, Ed., "Domain-Based Message
Authentication, Reporting, and Conformance (DMARC)",
RFC 9989, DOI 10.17487/RFC9989, May 2026,
.
Appendix A. Design Rationale
This appendix is non-normative. It records the design choices that
shaped the framework, for reviewers and implementers who want to
understand why specific decisions were made.
A.1. Relationship to OpenID Federation
OpenID Federation [OIDF-FEDERATION] and this framework address
distinct questions: federation answers "is this issuer an authentic
ecosystem member?" via trust chains; this framework adds "is this
issuer authorized for _this_ namespace?" via Subject Authority
publication. Federation membership feeds the issuer_authentication
category through the openid_federation Trust Method
(Section 4.3.4.1); namespace authority comes from the orthogonal
subject_namespace_authorization category. This document does not
duplicate or replace federation mechanisms; it composes with them.
The proposed Well-Known Binding mechanism [OIDF-WKB] lets a
federation Entity authenticate existing well-known protocol metadata
and keys by digest. It illustrates how an [RFC8414] authorization
server can use the extension path in Section 4.3.4.1 while keeping
its existing well-known metadata and binding the JWK Set that
metadata references by digest. The server still supplies the Entity
Type metadata that OpenID Federation requires. The binding changes
how issuer-authentication evidence is bound, not who holds authority
over a subject namespace. [OIDF-WKB] §8.4 has an Entity that refuses
a counterparty for a missing Trust Mark return trust_mark_required,
which names the missing types. A Resource Authorization Server
applying this framework returns the error that Section 5.2 specifies
instead, which keeps trust-evaluation detail from public clients.
A.2. Why Bounded-Depth-1 Namespace Authorization
The subject_namespace_authorization category is bounded at depth one:
the Subject Authority lists each authorized Assertion Issuer
directly, with no provision for "and whoever issuer X federates
further." This is deliberate:
* A Validator never has to compute a multi-hop authorization chain
to evaluate a namespace claim; a single customer-published policy
names the Assertion Issuer.
* Revocation latency is bounded by the Subject Authority's own cache
lifetime, not by the depth of a delegation chain.
* No intermediate party (a federation operator, a delegated issuer)
can add an issuer the Subject Authority did not list. Parties
that bind keys to listed issuers, or host the list, remain trusted
(Section 7.6).
Federation chains for issuer authentication remain in scope under the
issuer_authentication category; only the namespace-authorization
graph is bounded.
Appendix B. Future Extensions
This appendix is non-normative. It sketches directions intentionally
deferred from this document; future specifications may register them.
B.1. Additional Subject Identifier Formats
This document registers one Subject Authority extraction procedure
(email, Section 4.4). The policy model accommodates additional
Subject Identifier formats. A future specification adding a new
format would register a Subject Authority Extraction Procedure in
Section 10.2. The procedure would define how a Subject Authority is
computed from values of the new format. The specification would
either reuse domain_authorized_issuer (when the computed Subject
Authority is a DNS-publishable domain) or register a new
subject_namespace_authorization Trust Method.
The following remain unchanged across such extensions:
* the Trust Policy document format;
* the Issuer Authorization Policy document format;
* the Trust Method category structure;
* the combination rule; and
* the bounded-transitivity property.
Candidate formats considered as future work include URL-host Subject
Identifiers (url_host), Decentralized Identifiers (did), and a
subdomain-exact email variant that requires an explicit delegation
from the registrable-domain authority to prevent subdomain takeover.
B.2. Presented Delegation Credentials
The subject_namespace_authorization methods defined so far are
declarative and fetched. The Validator retrieves the Authority
Holder's published policy at verification time.
The complementary shape is a presented credential. The Authority
Holder signs a delegation ("issuer X may assert for namespace A until
time T", optionally audience-scoped) and gives it to the Assertion
Issuer. The issuer presents it with the assertion, in the manner of
an x5c chain or an OpenID Federation Subordinate Statement.
Verification becomes offline once the Authority Holder's key is
known. This removes the per-verification lookup from the token path.
It also enables constraints a flat record cannot express, such as
audiences and scopes. Delegation chains are another such constraint,
should a future revision relax the depth-1 bound of Section 7.5.
The costs are the mirror image:
* The Authority Holder needs key management and signing automation.
* Key discovery recurses to a DNS- or HTTPS-anchored channel.
* Revocation requires status checking or short-lived credentials.
Nothing in this framework precludes such a method. Such a method
would:
* register as a subject_namespace_authorization Trust Method whose
evidence is carried in-band;
* satisfy the checklist in Section 4.3.3; and
* compose with existing methods under the combination rule.
Such a method is deferred as an assurance-tier extension for
deployments whose requirements justify the operational cost.
B.3. Additional Client Recognition Methods
Other client_recognition methods can follow the pattern of [DAI] for
clients identified by DNS names. For example,
[I-D.shankarlingam-oauth-agent-dns-link] publishes, under an agent's
DNS name, the issuer and client identifier the agent uses at its
operator's authorization server, and has the agent present a fresh
access token issued to that client. As a Trust Method, such a
mechanism would need to define its lookup states, including
Indeterminate on DNS failure, bind its record to the queried name as
[DAI]'s authority= directive does, and say how the token is carried
in a token request. Clients registered through OpenID Federation
Explicit Registration ([OIDF-FEDERATION-CONNECT] §12.2) with a
client_id other than their Entity Identifier are another gap: a
method for them would take the Entity Identifier from the
registration rather than from the client_id.
B.4. Actor Identity Trust Evaluation
OAuth assertions can carry an act object expressing actor delegation
(a service acting on behalf of a user). A future extension can apply
the trust-evaluation categories of Section 3 to actor identities: a
Resource Authorization Server would evaluate, in addition to the
assertion's iss and sub, whether the asserting issuer is entitled to
attest the (act.iss, act.sub) pair. This requires registering a
Subject Authority extraction procedure applicable to actor-carried
Subject Identifiers and is therefore tied to the OAuth Actor Profile
being progressed separately. Until that extension lands, trust
evaluation of actor identities is governed by local policy at the
Resource Authorization Server.
B.5. Trust Policy Discovery
This document specifies how a Resource Authorization Server publishes
its Trust Policy (via authorization server metadata or protected
resource metadata) but assumes a client or peer that already knows
the Resource Authorization Server's identity. In open-world
deployments (agent runtimes, AI tools, cross-organization
integrations), a peer may need to discover a resource operator's
Trust Policy before any prior bilateral relationship exists.
A future Trust Policy Discovery extension can let a resource operator
publish a DNS-named pointer at _oauth-trust-policy.{resource-domain}
to its Trust Policy document, mirroring the DNS-authority pattern of
[DAI] for the resource-side. The resource operator's domain becomes
the publication channel for "where do I trust assertions from?", the
dual of DAI's "who do I authorize to assert about me?".
The extension is deferred because first contact with a Resource
Authorization Server whose identity the client does not already know
is not yet a deployed need. A client that knows the Resource
Authorization Server reads its Trust Policy through the metadata
endpoints (Section 5.1).
Appendix C. Frequently Asked Questions
This appendix is non-normative.
*Q: I have OpenID Federation. Why do I need DAI?*
Federation answers "is this issuer authentically a member of an
ecosystem?". It does not answer "is this issuer authorized to assert
about subjects in _my_ namespace?". A federation member can mint an
identity assertion naming any email domain; federation membership
doesn't constrain which namespace. DAI lets the namespace owner
publish that constraint. Section 4.3.7 shows the two together.
*Q: What's the difference between Trust Policy and DAI?*
Trust Policy is what a *Resource Authorization Server* publishes to
declare what evidence it requires of an Assertion Issuer (metadata at
/.well-known/identity-assertion-trust-policy). DAI is what a
*Subject Authority* publishes to declare which Assertion Issuers it
authorizes for its namespace (a record at _oauth-issuer-
policy.{domain}, optionally pointing with uri= to a JSON policy
document, conventionally on the dedicated host oauth-issuer-
policy.{domain}). RAS-published vs Subject-Authority-published.
*Q: Why independent trust categories?*
To stop "federation member" from being silently treated as
"authoritative for any namespace." Each category answers a different
question and the cross-category combination rule (Section 3.2.1)
requires evidence from each category that is configured. Conflating
them is the bug (Section 3.2.1, Section 7.5).
*Q: What if my Subject Authority cannot publish DNS TXT records?*
Both lookup modes require the TXT record at _oauth-issuer-
policy.{domain}, which is the Subject Authority's opt-in ([DAI]
§Lookup Procedure and §HTTPS-Only Deployment Variant). A Subject
Authority that cannot publish TXT records cannot participate in DAI.
*Q: Does this work for path-bearing issuer identifiers
(https://login.example.com/{tenant}/v2.0)?*
Yes. domain_authorized_issuer uses case-sensitive URL string
comparison and accepts any absolute HTTPS issuer identifier including
paths. If such an issuer also sends a tenant claim, the Subject
Authority lists it with that tenant value, which requires the DNS
pointer form ([DAI] §Mechanism Limits).
*Q: How do I revoke a delegation?*
Remove the entry from the Issuer Authorization Policy or set
valid_until to the past. Revocation latency is bounded by cache
lifetime; see [DAI] §Caching.
Appendix D. Agent Platform Walkthrough
This appendix is non-normative. It walks through how the framework
prevents an unauthorized provider from impersonating users in a
customer's email namespace. Protection rests on a single deliberate
choice by the customer: publishing an Issuer Authorization Policy
that lists the specific agent platforms permitted to assert
identities about its users.
*Cast:* customer example.com (owns the email domain); agent platform
https://agentprovider.example (mints ID-JAGs after federated SSO from
the customer's primary Identity Provider); tool provider
https://toolprovider.example (the Resource Authorization Server); end
user alice@example.com. The agent platform serves many customers and
gives each its own issuer identifier, here
https://agentprovider.example/example-com. A platform that served
every customer under one issuer identifier would send tenant in every
ID-JAG (Section 6.1), and the customer would list it with that tenant
value in the DNS pointer form ([DAI] §Single-Issuer Multi-Tenant
Identity Providers).
*Publication.* The customer publishes:
_oauth-issuer-policy.example.com. IN TXT (
"v=oauth-issuer-policy1;"
"authority=example.com;"
"issuer=https://agentprovider.example/example-com" )
The tool provider publishes a Trust Policy listing
domain_authorized_issuer. After Alice signs in to the agent platform
(the user-side SSO is out of scope), the agent platform mints an ID-
JAG:
{
"iss": "https://agentprovider.example/example-com",
"aud": "https://toolprovider.example",
"exp": 1780166400, "iat": 1780166100, "jti": "b9c1...",
"sub": "user-3f81a2",
"email": "alice@example.com", "email_verified": true
}
*Verification.* The tool provider authenticates the client
(private_key_jwt), validates the ID-JAG per [ID-JAG], extracts the
Subject Authority example.com from the email claim, queries _oauth-
issuer-policy.example.com, confirms the iss value matches an
authorized issuer in the policy, and issues a token.
*What this protects against.* Suppose attacker.example mints its own
assertion claiming email: alice@example.com, email_verified: true.
The signature validates against the attacker's own JWKS; the audience
is correct; the email claim is self-asserted. The tool provider
extracts Subject Authority example.com, looks up the customer's
policy, and finds that https://attacker.example is not in
authorized_issuers. The Trust Method fails; the tool provider
rejects with invalid_grant. The attacker's email_verified: true
self-claim has no force; trust derives from the iss-vs-policy check,
not from the assertion's own statements. attacker.example has no path
to impersonate users in example.com unless the customer lists it in
its policy.
Appendix E. OpenID Federation Walkthrough
This appendix is non-normative. It expands the high-level
Section 4.3.7 into a concrete walkthrough including 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
}
Item 4 of Section 4.3.4.1 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 }
}
}
}
The Subject Authority publishes a DAI record:
_oauth-issuer-policy.partner.example. IN TXT (
"v=oauth-issuer-policy1;"
"authority=partner.example;"
"issuer=https://idp.partner.example" )
*Verification.* When an ID-JAG arrives with iss:
https://idp.partner.example, email: alice@partner.example, 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 4.3.4.1).* 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).*
Extracts partner.example from the email claim, queries _oauth-
issuer-policy.partner.example, confirms
https://idp.partner.example is an authorized issuer.
4. *Cross-category combination rule.* Both categories succeed; the
Resource Authorization Server issues an access token.
*Selected failure variants.* A chain not terminating at the listed
trust anchor yields invalid_grant. A leaf without the required Trust
Mark yields invalid_grant. A federation-resolved JWKS that doesn't
match the ID-JAG signing key yields invalid_grant (the metadata key
source takes precedence, so there is no fallback to a separate JWKS
referenced by .well-known/oauth-authorization-server). Such a
separate JWKS is eligible only when the policy-applied metadata has
no key source and a supported extension authenticates its binding to
the leaf, as in Appendix E.2. partner.example not listing the
Assertion Issuer in DAI yields invalid_grant even though federation
membership is valid.
E.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. A Trust Mark of the same type issued by
https://assurance.example.net would also satisfy it, provided that
issuer's own trust chain terminates at the same trust anchor (item 4
of Section 4.3.4.1). 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, the requirement would not be
satisfied.
E.2. Well-Known Binding Variant
With the same cast and the Trust Policy shown at the start of this
appendix, a deployment implementing the proposed [OIDF-WKB] mechanism
could instead publish the following leaf Entity Configuration
excerpt. Digest strings are placeholders; the full Entity
Configuration also contains the required timestamps, Federation
Entity Keys, and the same Trust Mark as above. The Entity Type
metadata shown is abbreviated; it carries no key source.
{
"iss": "https://idp.partner.example",
"sub": "https://idp.partner.example",
"authority_hints": ["https://sector.example.org"],
"metadata": {
"oauth_authorization_server": {
"issuer": "https://idp.partner.example"
}
},
"well_known_bindings": {
"oauth-authorization-server": {
"digest_alg": "sha-256",
"digests": [""],
"jwks_digests": [""]
}
}
}
The covered [RFC8414] document at https://idp.partner.example/.well-
known/oauth-authorization-server identifies
https://idp.partner.example as its issuer and references
https://idp.partner.example/jwks in jwks_uri. In this variant, the
Intermediate does not supply a protocol key source or require one
through metadata_policy; the openid_provider policy shown above does
not apply to this variant's oauth_authorization_server type. The
Entity Type metadata carries no key source, so item 3 selects the
extension-defined source: the JWK Set at the covered document's
jwks_uri, which jwks_digests binds.
The consumer verifies the covered metadata and its JWK Set by the
extension's rules, which include validating the trust chain, and
checks that the metadata's issuer equals the leaf's Entity
Identifier. Item 3 then permits the bound JWK Set for assertion
verification. The Trust Mark and DAI checks are unchanged. Metadata
policy does not constrain members carried only in the covered
document.
If the Intermediate's policy instead marked jwks_uri essential, the
leaf would carry it in Entity Type metadata, and item 3 would select
that source. The binding covers that source only when it names the
same URL as the covered document's jwks_uri; otherwise the key set
relies on HTTPS alone. A key mismatch never authorizes fallback. An
absent binding, digest mismatch, or unsupported extension with no
other qualifying key source yields Indeterminate and invalid_grant.
Appendix F. Client Recognition Walkthrough
This appendix is non-normative. It walks through
openid_federation_client (Section 4.3.6.1) from a client's first
token request to later requests. It also shows how a Resource
Authorization Server runs federation clients beside clients it
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 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.2 step 1).
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. 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,
domain_authorized_issuer for partner.example, and
openid_federation_client for the client. Every category is
satisfied, so it issues an access token.
*Rejections:*
* The request carries no client authentication: invalid_client
(Section 5.2 step 5f).
* The client_id is not an Entity Identifier: the method is Negative,
the request has no accepted client authentication, and the result
is invalid_client.
* The trust chain ends at a trust anchor that is not listed:
invalid_client.
* The client assertion is signed with a key that is not in the
federation key set, even one published in a client metadata
document: invalid_client.
* The Entity Configuration fetch times out or returns a 5xx status:
the method is Indeterminate, and the result is invalid_client.
* The policy required a Trust Mark that the client does not hold:
the client is authenticated but not recognized, and the result is
access_denied, the code [ID-JAG] §4.4.3 defines for a client the
Resource Authorization Server does not authorize.
* The client lacks a required Trust Mark and the ID-JAG has expired:
invalid_grant, because access_denied applies only to a valid ID-
JAG.
* The ID-JAG's client_id claim names a different client:
invalid_grant ([ID-JAG] §4.4.1).
* The client is recognized, but the Assertion Issuer fails an issuer
method: invalid_grant.
*Later requests.* The Resource Authorization Server caches the trust
chain no longer than its earliest exp (Section 4.3.4.1), and the key
set no longer than the chain. Later requests from the client use the
cached chain, and each request is still evaluated against the policy.
When 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.2 step 1). 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 policy above and is admitted only through the
client method. The published policy is the one above.
Appendix G. 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) for this document, which holds the
details of that change.
-01
* Rename the Trust Mark requirement member id to trust_mark_type,
and align with OpenID Federation 1.1, including federation-bound
key sources (#20).
* Remove signed_policy and the trust-policy+jwt media type from the
Trust Policy; signed-policy processing moves to [DAI] (#21).
* Forbid waivers that an Authority Holder publishes, such as a
monitoring mode, and define how methods in one category combine
(#22).
* Require an Assertion Issuer that serves several tenants under one
issuer identifier to send tenant in every ID-JAG (#26).
* Return invalid_grant for a rejection in steps 1 through 5 of
Resource Authorization Server processing, and recommend client
authentication before Trust Method lookups (#28).
* Add outbound-fetch requirements, UTS #46 processing for
internationalized domains, and a key-binding security
consideration (#27).
* Add a client_recognition category, a client_trust_methods Trust
Policy member, and the openid_federation_client method (#32).
* Expand the motivation, and add tables and explanations for readers
(#29).
* Editorial changes for readability.
-00
* initial draft
Author's Address
Karl McGuinness
Independent
Email: public@karlmcguinness.com