| Internet-Draft | Identity Assertion Trust Framework | November 2026 |
| McGuinness | Expires 20 May 2027 | [Page] |
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. Its Identity Assertion Issuer Trust Policy is 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 specifications. The policy can also require evidence about the OAuth client that presents the assertion, through client-recognition methods. At the token endpoint, the Resource Authorization Server requires evidence from each category of method that the policy lists, and fails closed when it cannot obtain that evidence.¶
The Domain-Authorized Issuer Trust Method is defined separately as one subject-namespace authorization method usable by this framework.¶
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.¶
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 (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.¶
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 [I-D.ietf-oauth-identity-chaining] specifies cross-domain delivery. These documents define how an assertion is constructed, presented, and consumed. They leave to local policy whether the Resource Authorization Server accepts an assertion's issuer for subject resolution, account linking, or delegated access.¶
The set of acceptable Assertion Issuers is often large, dynamic, or governed by external trust frameworks, so it cannot be enumerated in advance. A static allowlist also cannot express the conditions for acceptance, such as membership in a recognized federation or authority for the asserted subject namespace.¶
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.¶
Each copy of that configuration goes stale when the customer changes Identity Providers, and none extends to issuers, such as agent platforms, that have no prior relationship with the customer.¶
Without that configuration, a Resource Authorization Server that trusts a multi-tenant issuer can accept an assertion from a tenant that has no authority over the subject's domain. In the nOAuth account takeover [NOAUTH], an attacker set an email address on a user in the attacker's own tenant, and an application linked accounts by that address.¶
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 Resource Authorization Server's own account-linking defenses (Section 6.7).¶
This is an open-world issuer-trust problem: the Resource Authorization Server receives assertions from issuers it did not configure in advance. This document defines an Identity Assertion Issuer Trust Policy, in which a Resource Authorization Server publishes the conditions an Assertion Issuer must satisfy, not a list of trusted Assertion Issuers, and evaluates each condition from 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 an Assertion Issuer. A Subject Authority authorizes issuers in a separate document, the Issuer Authorization Policy ([DAI]).¶
[DAI] defines one Subject-Authority publication mechanism (Section 1.4). This document adds a trust-evaluation layer to the assertion-bearer grant and chaining mechanics of [ID-JAG] and [I-D.ietf-oauth-identity-chaining]. Where that layer narrows a dependency, Section 5 says so. The layer requires client authentication under a policy with client methods, fixes the key source for the generic JWT-bearer binding, and limits which claims resolve the subject.¶
A client presents an ID-JAG for alice@acme.example at a Resource
Authorization Server's token endpoint. The Resource Authorization
Server answers two separate questions about it:¶
Issuer authentication: who signed it? The server checks that the
issuer named by iss is a recognized signer, for example through
an OpenID Federation trust chain
(Section 3.3.4.1), and that the signature
verifies under a key that this method permits.¶
Namespace authorization: is that issuer authorized for
acme.example? Only the owner of acme.example, its Subject
Authority, can say. Under [DAI], it publishes through DNS an
Issuer Authorization Policy that lists the Assertion Issuers it
authorizes. A recognized signer can name any domain, so a yes to
the first question does not answer the second.¶
The Resource Authorization Server publishes a Trust Policy (Section 3.2) that names the Trust Methods it requires. When the policy lists methods in both categories, as below, both must pass:¶
{
"resource_authorization_server": "https://api.resource.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"
}
]
}
¶
Section 4.2 gives the procedure. Step 2 verifies the signature, step 5b
requires a satisfied method in each category that the policy lists,
and step 5c determines acme.example from the email claim and
limits subject resolution to that claim and issuer-scoped
identifiers. A policy can also list client_recognition methods,
which evaluate the client (Section 3.3.2).
Section 3.3.7 walks through this exchange.¶
The gap between issuer authentication and namespace authorization matters in:¶
Workforce SSO into multi-vendor SaaS, where per-customer issuer configuration has no wire-format check that the customer authorizes the configured Assertion Issuer.¶
AI agent platforms acting across tool boundaries, where 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, which today accept any authenticated Assertion Issuer or maintain manual allowlists.¶
Shared-issuer multi-tenant Identity Providers, where the customer's choice of authorized tenant becomes observable on the wire rather than implicit ([DAI] §Single-Issuer Multi-Tenant Identity Providers).¶
Appendix A.1 relates this framework to OpenID Federation. This framework is also distinct from issuer discovery mechanisms such as WebFinger [RFC7033] and OpenID Connect Discovery [OIDC-DISCOVERY]. They 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?" [DAI] §Following Existing DNS Authority Patterns compares DAI with CAA, MTA-STS, SPF, DKIM, the Email Verification Protocol, federation-scoped attestation, and setup-time domain verification.¶
This document and [DAI] form a two-document set:¶
This document defines the Trust Policy (Section 3.2), which states the conditions for accepting an Assertion Issuer and, optionally, the client that presents its assertion, and the token-endpoint procedure that evaluates them (Section 4.2). Section 1.5 lists its full contents.¶
[DAI] defines the domain_authorized_issuer Trust Method, one
class of evidence that satisfies those conditions, and the wire
format and integrity protection of the Issuer Authorization Policy
that the method consumes.¶
The scope of this document is:¶
The Trust Policy document (Section 3.2).¶
The Trust Method machinery (categories, registry), including the
client_recognition category.¶
The openid_federation and openid_federation_client Trust
Methods.¶
The Subject Authority Determination concept and registry.¶
The token-endpoint procedure (Section 4.2) and the rules it applies (Section 4.3): combination rule, lookup states, and fail-closed handling.¶
The OAuth grant-profile bindings.¶
Other Trust Methods, and the publication mechanisms they use, live in dedicated specifications such as [DAI].¶
This document registers no Trust Methods for attribute authorities that are not namespace owners (government-issued credentials, professional certifications, employment attestations, decentralized credentials). W3C Verifiable Credentials, OpenID for Verifiable Credentials, and domain-specific frameworks address attribute attestation. Where such attestations are conveyed as OAuth identity assertions whose subject is namespace-bound, this document's issuer-trust evaluation still applies.¶
The email Subject Identifier extraction registered in this
document is user-identity-oriented. Workload, agent, and other
non-user subjects can be supported by registering additional
extractions (Appendix B).¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
This document uses OAuth 2.0 [RFC6749] terminology. Subject Identifier formats follow [RFC9493]; Trust Method identifiers are registered in Section 9.1.5. This document defines the following terms.¶
The OAuth authorization server that receives an identity assertion as a grant, evaluates the Trust Policy, and issues access tokens for a protected resource. It is not a new OAuth protocol role.¶
A signed statement that an Assertion Issuer makes about a subject, presented to a Resource Authorization Server as an authorization grant. It is typically a JWT [RFC7519].¶
The service issuing an identity-bearing assertion, identified by
the JWT iss claim. The same string is the issuer value in
[RFC8414] and [OIDC-DISCOVERY] metadata and the federation entity
identifier in [OIDF-FEDERATION]. It is a separate role from the
client that presents the assertion, but one party, such as an agent
platform, can play both.¶
The OAuth assertion-grant specification under which an identity assertion arrives, such as [ID-JAG] (Section 5).¶
The party that holds authority over a Subject Identifier namespace
and can authorize Assertion Issuers to assert identities in it. The
term also names the identifier of that authority, which for email
is the registrable domain.¶
The JSON document defined in Section 3.2, published by a Resource Authorization Server to declare its trust criteria.¶
A registered, named evaluation procedure by which a Resource Authorization Server tests one category of trust evidence about an Assertion Issuer or about the client presenting an identity assertion (Section 3.3). A Trust Policy names the Trust Methods it requires.¶
The document by which a Subject Authority declares the Assertion
Issuers it authorizes for its namespace. Its wire format,
publication channel, and integrity protection are defined by each
subject_namespace_authorization Trust Method specification.¶
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.¶
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 unless it only records when the document was published, carries a signature over other members, or has a registration that says otherwise.¶
A Resource Authorization Server publishes the location of its Trust Policy in its authorization server metadata [RFC8414]:¶
identity_assertion_trust_policy_uriOPTIONAL. HTTPS URI of the Trust Policy document.¶
A Resource Authorization Server that applies different Trust Policies to different clients publishes the one for clients without a prior relationship with it. How a registered client learns its own policy is out of scope.¶
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 both metadata documents carry the
member, the authorization server metadata value is authoritative.¶
A Resource Authorization Server may also publish the Trust Policy at
the well-known URI registered in Section 9.1.3. The
URI is derived from its issuer identifier as in [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.
For an issuer with no path component this yields
https://{host}/.well-known/identity-assertion-trust-policy. If the
metadata member and the well-known URI identify different documents,
the metadata member is authoritative.¶
A consumer fetches a Trust Policy document, from either source, by HTTP GET over HTTPS with TLS server authentication, under the rules below. The consumer MUST NOT act on a policy it could not retrieve and validate. A retrieval failure differs from a 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 beyond the hop limit, is a retrieval failure.¶
Any other status, a TLS failure, an unparseable body, or a body exceeding the consumer's limit is a retrieval failure. That limit MUST allow at least 64 KiB.¶
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"
}
¶
The Identity Assertion Issuer Trust Policy is a JSON object. 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 3.5).¶
The policy MAY include a crit member (Section 3.5). It
carries no signature (Section 6.10). Members are registered in
Section 9.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"
}
]
}
¶
resource_authorization_serverREQUIRED. The issuer identifier of the Resource Authorization Server.
MUST exactly match the authorization server metadata issuer value
[RFC8414].¶
authorization_grant_profiles_supportedREQUIRED. JSON array of identity assertion grant profile identifiers
this policy supports, in the identifier space of the same-named
metadata parameter ([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_supportedOPTIONAL. JSON array of Subject Identifier format names, defined by
[RFC9493] or other specifications, that the Resource Authorization
Server accepts. 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 9.2.¶
issuer_trust_methodsREQUIRED. Non-empty JSON array of Trust Method objects
(Section 3.3). It 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 4.2 against the methods listed here. An issuer that satisfies a
method not listed here is not acceptable. Local policy may add
requirements per client, subject, or scope (Section 6.12). An object
in this member counts only toward the issuer categories,
issuer_authentication and subject_namespace_authorization. A
method that belongs to no issuer category is malformed here.¶
client_trust_methodsOPTIONAL. Non-empty JSON array of Trust Method objects
(Section 3.3) whose methods belong to the
client_recognition category (Section 3.3.2). When
present, it states the trust requirements the Resource Authorization
Server enforces against the client presenting an identity assertion.
An assertion is rejected unless the authenticated client satisfies
the Trust Method combination rule in Section 4.2 against the methods
listed here. An object in this member counts only toward the
client_recognition category. A method outside that category is
malformed here. Listing this member in crit (Section 3.5)
prevents a client that does not implement the member from reading
the policy as placing no requirement on clients.¶
A Trust Method object is a JSON object with a string-valued method
member naming a Trust Method identifier registered in
Section 9.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.¶
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 4.2 step 5a and reject the assertion.¶
Each Trust Method belongs to one or more of the categories below (registered in Section 9.1.4) and is itself registered in Section 9.1.5. Evidence is combined across categories per Section 4.3.1.¶
issuer_authenticationIs the entity identified by the JWT iss claim authentically a
member of a recognized ecosystem?¶
subject_namespace_authorizationIs this Assertion Issuer entitled to assert about subjects in the named namespace?¶
client_recognitionIs the OAuth client presenting the assertion, as authenticated at
the token endpoint, recognized by an authority the Resource
Authorization Server accepts? Methods in this category are listed in
client_trust_methods. They evaluate the authenticated client, never
a claim in the assertion (Section 4.2 step 5f). Recognition does not
authorize the client to act for a particular user. The grant
profile's client binding does that (for ID-JAG, [ID-JAG] §4.4.1).¶
Deployments accepting assertions about namespace-bound subjects
SHOULD list at least one subject_namespace_authorization method.
Future specifications MAY register additional categories
(Section 9.1.4).¶
A specification defining a new Trust Method (in this document or a companion such as [DAI]) MUST provide all of the following, so that the framework's deferral to the method is testable:¶
The Trust Method identifier and its categories (Section 9.1.5).¶
The evidence consumed and the exact procedure by which a Resource
Authorization Server decides the method is satisfied for an (issuer,
subject) pair or, for client_recognition, an authenticated client,
precise enough for interoperable implementation.¶
The mapping of retrieval and evaluation outcomes onto the Affirmative / Negative / Indeterminate lookup states (Section 4.3.3), including which conditions fail closed.¶
For subject_namespace_authorization methods, the deterministic
binding from the Subject Identifier to the Subject Authority
consulted, consistent with the single-source-selection rule
(Section 4.3.2).¶
Cache-lifetime bounds for retrieved evidence, including any bound on serving cached evidence during an Indeterminate state, or an explicit statement that the method caches nothing.¶
For signed evidence, how the signer and the verification key are bound to the party that holds the authority the evidence expresses (such as the Subject Authority for its namespace), through a channel independent of the signed evidence, so that an attacker who controls the evidence or the channel that carries it cannot substitute either.¶
Method-specific parameters, their JSON types, and whether each is REQUIRED or OPTIONAL.¶
Evidence that a Trust Method consumes about an Assertion Issuer MUST carry enough information to identify the party that holds the authority it expresses (such as the Subject Authority, or the superior that issued a federation Subordinate Statement), the Assertion Issuer, the claim type or scope it covers, and, when applicable, its validity bounds.¶
issuer_authentication-category methods are satisfied by evidence
that the Assertion Issuer belongs to a recognized ecosystem.
Membership alone does not establish authority over any particular
subject namespace.¶
Under the openid_federation method, the Assertion Issuer is
acceptable if its OpenID Federation [OIDF-FEDERATION] trust chain
validates to a listed trust anchor and the leaf holds any Trust Marks
the policy requires.¶
{
"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_anchorsREQUIRED. Non-empty JSON array of OpenID Federation trust anchor entity identifiers.¶
trust_marksOPTIONAL. Non-empty JSON array of Trust Mark requirement objects. When present, each requirement object listed MUST be satisfied by at least one Trust Mark in the leaf's Entity Configuration. Each requirement object has:¶
trust_mark_typeREQUIRED. String. The Trust Mark type identifier.¶
issuerOPTIONAL. String. The Entity Identifier of the Trust Mark
Issuer expected to have signed the Trust Mark. When absent, the
Trust Mark's iss claim MUST appear in the non-empty array that
the terminal trust anchor's trust_mark_issuers claim gives for
that Trust Mark type. If the trust anchor gives no such array,
or an empty one, the requirement is not satisfied. This
deliberately narrows OpenID Federation, which allows any issuer
when no issuer restriction is published.¶
The Trust Policy governs Trust Mark requirements for identity assertions. A Resource Authorization Server that also advertises Trust Mark requirements through discovery metadata SHOULD keep those advertisements consistent with this policy. Discovery advertisements do not replace enforcement of its Trust Method requirements.¶
Trust chain validation, metadata policy resolution, and validation
of the Trust Marks that requirement 4 relies on follow
[OIDF-FEDERATION] §10.2 and §7.3. If any fails, this Trust Method
fails. Federation metadata_policy constrains Entity Type metadata
in Entity Statements, not members carried only in documents that an
extension binds by digest. [OIDF-WKB] is such an extension and
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
then selects that value.¶
Lookup states (Section 4.3.3):¶
Affirmative: a fully validated chain from the leaf to a listed trust anchor.¶
Negative: any of these:¶
Indeterminate: any other failure to obtain or validate the chain, such as:¶
Neither Negative nor Indeterminate satisfies this Trust Method
(Section 4.3.3.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, or more than 24 hours after it was
obtained. The same 24-hour limit applies to a key set obtained through
requirement 3. A Trust Mark that requirement 4 relies on is re-validated
whenever the chain is, and is not used past its own exp. A Trust Mark
without exp is re-validated at its Trust Mark Status endpoint
([OIDF-FEDERATION] §8.4) when the Trust Mark Issuer publishes one.¶
The framework-specific requirements below are evaluated against an Affirmative chain. Every requirement MUST hold on that one chain: the metadata, key source, and Trust Marks used are those of the chain that satisfies requirement 1. 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, namely a retrieval of:¶
the permitted key source;¶
a Trust Mark Issuer's chain; or¶
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:¶
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 4.3.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.¶
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 per that
specification. If both openid_provider and
oauth_authorization_server metadata carry a key source, a key from
either satisfies this requirement.¶
For jwks_uri, the trust chain authenticates the URI, not the key
set it returns. The returned key set relies on HTTPS to that
endpoint unless an extension, such as [OIDF-WKB], also binds the
key set. When the metadata's jwks_uri names the URL whose key set
an extension binds, a consumer that applies the binding treats a
failed binding as failure to validate that key source.¶
Specifications that extend this Trust Method MAY define additional key sources that satisfy it. If the policy-applied metadata carries a key source, that source is the only one permitted. An extension-defined source is used only when the metadata carries none. Failure to retrieve or validate the metadata's key source MUST NOT trigger fallback to an extension-defined source.¶
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 4.3.3).¶
Trust Mark satisfaction. If the Trust Method object contains
trust_marks, each requirement object MUST be satisfied by at
least one Trust Mark that appears in the trust_marks claim of
the leaf's Entity Configuration and meets all of the following:¶
It validates per [OIDF-FEDERATION] §7.3.¶
Its trust_mark_type equals the requirement's trust_mark_type.¶
Its iss claim equals the requirement's issuer, or, when
issuer is absent, satisfies the rule in the issuer member
definition 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. [OIDF-FEDERATION]
§7.3 requires trust in the Trust Mark Issuer before validation.
That trust MUST be established through a trust chain terminating
at the same trust anchor as the leaf's chain. That is the trust
anchor whose trust_mark_issuers claim applies when issuer is
absent.¶
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 (Appendix E.2). This document does not require support for it. A consumer without a supported qualifying key source returns Indeterminate.¶
See Appendix A.1 for positioning against OpenID Federation.¶
client_recognition-category methods are satisfied by evidence
about the OAuth client that presents an identity assertion at the
token endpoint. These methods evaluate the client that the grant
profile's client authentication identifies (Section 4.2 step 5f). For
ID-JAG, the assertion's client_id claim, set by the Assertion
Issuer, identifies the same client ([ID-JAG] §4.4.1). Under the
generic JWT-bearer binding (Section 5.2), the assertion
names no client. Any client that satisfies the category can then
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 leaves the trust decision to that
server. A client recognition method could use it as a key source
only together with evidence that the Resource Authorization Server
trusts.¶
Under the openid_federation_client method, the client is acceptable
if it is an OpenID Federation [OIDF-FEDERATION] Entity whose trust
chain validates to a listed trust anchor and that holds any Trust
Marks the policy requires.¶
{
"method": "openid_federation_client",
"trust_anchors": ["https://federation.example.org"]
}
¶
The method has the members trust_anchors and trust_marks, defined
as for openid_federation (Section 3.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. This method defines the case §12.1 does not
describe: a client whose first request is a token request. This
method places none of the obligations of [OIDF-FEDERATION-CONNECT]
§12.1 on the client toward the Resource Authorization Server. This
method 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,
if the leaf declares no oauth_client type, the
openid_relying_party metadata. [OIDF-FEDERATION-CONNECT] §12
uses oauth_client for OAuth 2.0 profiles other than OpenID
Connect. Metadata from the two types is never combined.¶
Federation-bound client authentication key. Client
authentication MUST verify under a key in a key set that the client
metadata designates through jwks, jwks_uri, or signed_jwks_uri
([OIDF-FEDERATION] §5.2.1), processed as that section specifies.
For jwks_uri, the trust chain authenticates the URI, not the key
set it returns. That key set relies on HTTPS to that endpoint. The
permitted client authentication methods are:¶
JWT client authentication ([RFC7523] Sections 2.2 and 3) with a
JWT, signed by such a key, whose aud claim is the Resource
Authorization Server's issuer identifier, as a string or as an
array with only that 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.¶
[OIDF-FEDERATION-CONNECT] §12.1.1.2 (see also §12.1.1.2.1) names
these two methods for a Pushed Authorization Request. There, as on
a first token request, the client authenticates before any
registration exists. The methods are narrower than
[OIDF-FEDERATION-CONNECT] §12.1.4, under which a server should
accept any mutually supported method. They are also narrower than
[RFC7523] Section 3, which further 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.¶
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:¶
invalid_client ([RFC6749] Section 5.2) when any of the
following holds:¶
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.¶
unauthorized_client ([RFC6749] Section 5.2) when the client is
authenticated but not recognized:¶
Any failure of the assertion or of an issuer method gets the error that Section 4.2 specifies.¶
Any token request can name an https client_id, and so cause these
fetches before the client is authenticated. They include a fetch for
every Entity in the client's authority_hints ([OIDF-FEDERATION]
§18.1). Before the client is authenticated, the Resource
Authorization Server:¶
MUST limit the number of authority_hints it follows;¶
MUST apply a global rate limit to trust chain resolution for unauthenticated requests;¶
SHOULD cache a Negative or Indeterminate outcome per client_id
for a bounded period; and¶
SHOULD also rate-limit trust chain resolution per client_id.¶
A client that does not publish its Entity Configuration
([OIDF-FEDERATION] §9) can send its trust chain in a trust_chain
header parameter of its client assertion ([OIDF-FEDERATION]
§4.3). The Resource Authorization Server MAY use that chain in place
of resolving one, after validating it per [OIDF-FEDERATION] §10.2.
It resolves the chain itself instead if any Entity Statement in the
supplied chain was issued more than 24 hours earlier. Without a
published Entity Configuration or a valid supplied chain, the client
does not satisfy this method.¶
The Resource Authorization Server caches the client's key set no
longer than the trust chain (Section 3.3.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 can apply a Trust Policy without
client_trust_methods to a request that authenticates as a client the
server registered itself, against that registration (Section 4.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. One example is
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.¶
This non-normative example expands Section 1.1. A SaaS Resource
Authorization Server (api.saas.example) accepts identity
assertions from federation member Assertion Issuers about users in
any customer namespace; each customer authorizes the Assertion
Issuer that 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, a member of
https://federation.example.org, as its authorized Assertion
Issuer. A client presents an ID-JAG carrying
email: alice@acme.example, email_verified: true, and
iss: https://idp.example.net:¶
The Resource Authorization Server authenticates the client
(private_key_jwt). The Trust Policy lists a method in each
issuer category, so both categories apply.¶
Issuer authentication (issuer_authentication): the Resource
Authorization Server validates the trust chain from
https://idp.example.net to https://federation.example.org.
This shows that the Assertion Issuer is an authentic federation
member, not that it has authority over acme.example.¶
Namespace authorization (subject_namespace_authorization):
the Resource Authorization Server extracts acme.example from
the email claim, looks up the DAI record at
_oauth-issuer-policy.acme.example, and finds
https://idp.example.net in authorized_issuers.¶
One Trust Method succeeded in each category, so the combination rule (Section 4.3.1) is met and access-token issuance proceeds.¶
If Acme had not listed the issuer, step 2 would succeed, step 3 would
fail, and the Resource Authorization Server would reject the request
with invalid_grant. Appendix E extends this
example with trust-chain validation and Trust Mark satisfaction.¶
The Trust Policy MAY include a crit member. It is 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.
crit names members of the object that carries it, not members of
nested objects.¶
When present, crit MUST be a non-empty array of strings. Each
string SHOULD name a member that is 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. JWS uses the same fail-closed pattern for critical header
parameters ([RFC7515] Section 4.1.11).¶
This document defines crit but names no member critical by
default. Defining it here lets a future extension mark a new
decision-affecting member critical and have already-deployed
consumers honor it.¶
The Trust Policy governs whether an Assertion Issuer's identity assertion is acceptable to the Resource Authorization Server. It is necessary but not sufficient: it does not, by itself, authorize any particular access, scope, role, or attribute. Local policy decides which scopes an accepted assertion receives and how its subject is linked to an account, within the limits of Section 4.2 step 5c.¶
A client that wants to obtain an identity assertion JWT for a Resource Authorization Server:¶
Discovers the Resource Authorization Server metadata [RFC8414].¶
Confirms that the authorization server metadata lists the desired
grant profile in authorization_grant_profiles_supported
([ID-JAG] §7.2).¶
Fetches the identity_assertion_trust_policy_uri document.¶
Determines whether an available Assertion Issuer can satisfy the
Trust Method combination rule in Section 4.2. 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.¶
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.¶
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 following procedure is the Resource Authorization Server's trust decision. Section 4.3 states the rules it applies to each Trust Method's evidence.¶
When evaluating an identity assertion JWT presented in a token request, the Resource Authorization Server MUST:¶
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 4.3.1.1). It selects one by client only when the request's client authentication verifies against a registration it holds. Section 3.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 3.1). If the policy document is malformed, reject the assertion. Step 5a handles recognition of individual Trust Method objects.¶
Validate the assertion per the applicable grant profile
([RFC7521], [RFC7523], [ID-JAG]). The validation's
signing-key resolution is provisional. 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 3.3.4.1).¶
The Resource Authorization Server MUST NOT accept the assertion
until it has verified the signature with a key permitted by each
key-source-constraining Trust Method it relies on to satisfy the
combination rule in step 5. Under the or-semantics of
Section 4.3.1, a listed method that is not relied on
imposes no key-source constraint. A signature verified 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.¶
Verify that the applicable grant profile is listed in
authorization_grant_profiles_supported.¶
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.¶
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
(Section 3.3.2). A Trust Method registered with
multiple categories belongs to each category that its member
allows (Section 3.2). A method listed in the wrong
member is malformed (Section 3.2). The Resource
Authorization Server MUST reject the assertion if any object in
either member is not recognized, is malformed, or cannot be
assigned to a category it knows. Silently ignoring the object
would evaluate a strict subset of the requirements the operator
declared: 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, and nothing in the
assertion can waive it (Section 4.3.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 4.3.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 3.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.¶
When the category is satisfied, the Resource Authorization
Server MUST resolve and link the subject only from the
Subject Identifier the category evaluated or from
issuer-scoped identifiers, unless local configuration trusts
the Assertion Issuer for another subject claim.
Issuer-scoped identifiers are iss and sub, with tenant
for a multi-tenant issuer. Claims such as aud_sub and
sub_id ([ID-JAG] §3.1) are outside the namespace check.¶
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 9.2), so
the Resource Authorization Server can recognize one 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).¶
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, and evaluate the client_recognition
category (step 5f), before step 2. Before authenticating the client,
the Resource Authorization Server MUST NOT perform any lookup except
those a client_recognition method needs to obtain the client's
authentication keys. An example is the trust chain and key set that
openid_federation_client resolves. Every fetch in this processing
follows Section 4.4.¶
Rejection at any of steps 1 through 5 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. This rule covers a malformed Trust Policy (step 1) and an
unlisted grant profile (step 3). An error from step 5f or from a
client_recognition method takes precedence over any other error.
Detailed trust-evaluation failure state MUST NOT be returned to
public clients in the OAuth error response. That state is a
reconnaissance target.¶
A specification that registers a new Trust Method category states where in this procedure its checks run and how its errors rank against those defined here.¶
The procedure in Section 4.2 and every Trust Method specification follow the rules below. A Trust Method's evidence is what it consults, such as an Issuer Authorization Policy or a federation trust chain. Its evidence source is the trust anchor, registry, publication channel, or configured source from which the Resource Authorization Server accepts that evidence, such as a Subject Authority's DNS zone or a federation trust anchor. Evaluating evidence from parties the Resource Authorization Server did not configure in advance does not mean accepting any party: the server publishes or locally configures which evidence sources it accepts.¶
Step 5b of Section 4.2 states the cross-category combination rule: and across categories, or within a category. An evidence item is the outcome of evaluating one Trust Method that the Trust Policy lists. Each category that the policy lists needs at least one satisfying evidence item, subject to the finality rule of Section 4.3.2.¶
Satisfying one category MUST NOT be treated as satisfying another. Federation membership does not authorize an Assertion Issuer for a namespace, and a Subject Authority's authorization does not authenticate the Assertion Issuer beyond what the Issuer Authorization Policy attests.¶
Category applicability is a property of the Resource Authorization Server's published Trust Policy, not of the incoming identity assertion. A Resource Authorization Server that holds more than one Trust Policy never selects one from properties of the identity assertion (Section 4.2 step 1). The identity assertion itself MUST NOT be able to waive a listed category.¶
Trust Method specifications MUST NOT define applicability conditions
that depend on properties of the identity assertion under
evaluation. The prohibition is directional: assertion properties
never relax what the policy requires, but rejection rules keyed on
them, such as Section 4.2 step 5e, only tighten it and are permitted.
Nor can published evidence waive the category. A Trust Method
specification MUST NOT define a published state, such as a
monitoring mode, under which an identity assertion whose issuer the
evidence does not authorize satisfies the category. Under step 5c,
omitting a Subject Identifier does not make the
subject_namespace_authorization category inapplicable
(Section 6.3).¶
A Resource Authorization Server MAY accept evidence from multiple
evidence sources within the same category (multiple Subject
Authorities for different namespaces, multiple federation trust
anchors). For subject_namespace_authorization, a Trust Method
specification MUST define deterministic source selection: a binding
function from the identity assertion and request context to exactly
one evidence source or a deterministic failure, invariant under
attacker-controlled inputs outside the binding function
(Section 6.2).¶
For issuer_authentication and client_recognition, every evidence
source the Trust Policy lists is equally trusted, so a Trust Method
specification MAY accept evidence from any of them. For
openid_federation, this means a chain to any listed trust anchor
(Section 3.3.4.1).¶
Within one Trust Method's evaluation, a Resource Authorization Server MUST NOT fall through to a different evidence source if the originally-applicable evidence source's evaluation fails or is indeterminate (Section 4.3.3).¶
Across Trust Methods in the same category, or-semantics apply, with
one exception, the finality rule. When a
subject_namespace_authorization method retrieves Affirmative
evidence from the Subject Authority that does not authorize the
Assertion Issuer, or explicitly denies it, the category is not
satisfied, whatever other methods in the category yield: the Subject
Authority's published decision is final for its namespace. An
Indeterminate state from such a method that consults the Subject
Authority's own publication has the same effect, because it may hide
that decision. A Negative state, in which the Subject Authority has
published nothing through that method's channel, does not: other
methods in the category can still supply evidence. If that channel
does not authenticate negative answers, as with 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).¶
For a subject_namespace_authorization method that consults the
Subject Authority's own publication:¶
| Outcome of that method | Effect on the category |
|---|---|
| Affirmative, issuer authorized | Satisfies it, unless another method in the category yields one of the next two outcomes |
| Affirmative, issuer not authorized (including an explicit denial) | Final: the category is not satisfied, whatever other methods yield |
| Indeterminate | Final, as above: it may hide a published decision |
| Negative: nothing published through that channel | None: other methods in the category decide |
Every lookup of a Trust Method's evidence, in any category, produces exactly one of three states. Trust Method specifications MUST map every concrete outcome of the lookup operation onto exactly one of these states and enumerate the concrete signals on their publication channel that map to each state.¶
Affirmative: well-formed evidence was retrieved through the authoritative publication channel, its signature (where applicable) verified, and its validity bounds hold at evaluation time. The Resource Authorization Server then evaluates the identity assertion against that evidence.¶
Negative: the publication channel authoritatively reports the
absence of evidence. Examples: DNS NXDOMAIN or NODATA with a valid
(possibly DNSSEC-signed) authoritative answer where DNS is the
Trust Method's sole or final publication channel; for
openid_federation, HTTP 404 for the leaf's Entity Configuration.
A Trust Method with several publication channels for the same
evidence source reaches Negative only when the channels its lookup
procedure consults authoritatively report no authorization. A
Trust Method specification MAY additionally define an explicitly
published denial. Its state mapping decides whether such a denial
maps to Negative or to an Affirmative retrieval that authorizes
nothing. A Negative state records that no authorization is in
effect through that channel and is final for that Trust Method;
Section 4.3.2 states its effect on other methods.¶
Indeterminate: the lookup did not produce an authoritative Affirmative or Negative result, for example on DNS SERVFAIL, a resolver timeout, a network partition, HTTPS 5xx, a TLS handshake failure, a malformed publication-channel response, or a structural validation failure on retrieved evidence (invalid signature, unparseable payload, validity bounds of the evidence as a whole outside the acceptable window). The Trust Method evaluates bounds on individual entries inside the evidence. An Indeterminate state carries no information about the intent of the party whose evidence the Trust Method consults.¶
A Resource Authorization Server MUST classify every lookup outcome into exactly one of the three states above before producing an accept-or-reject decision. It MUST fail closed on both Negative and Indeterminate states: neither state satisfies the Trust Method that produced it. Section 4.2 step 5b and Section 4.3.2 then decide the category. Trust Method specifications MUST NOT permit any condition under which an Indeterminate state is treated as Affirmative.¶
A Resource Authorization Server MAY rely on cached Affirmative evidence during a transient Indeterminate state on the live publication channel, but only within the stale-serving bound the Trust Method specification sets. Repeated Indeterminate states across consecutive lookups MUST NOT extend the effective cache lifetime beyond that specification's stated maximum. Once the cache expires, a live channel that remains Indeterminate does not satisfy the Trust Method. Treating Indeterminate as Affirmative, extending a cache across Indeterminate states, and falling through to another evidence source within one Trust Method's evaluation are the same downgrade: each lets an adversary who controls the availability of the publication channel turn a hard denial into a soft one.¶
Trust Method specifications MAY define additional lookup states (for example, a "stale-but-signed" state for transparency-log-bound evidence) but MUST place any such state on the Affirmative-or-reject side of the decision boundary. Trust Method specifications MUST NOT introduce a state that relaxes the Indeterminate-rejects-hard requirement.¶
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. A lookup that would exceed the bound is Indeterminate.¶
Trust Method specifications MAY add requirements; for example, [DAI] forbids following redirects for policy fetches.¶
This section defines bindings for ID-JAG (Section 5.1) and
the generic JWT-bearer assertion grant (Section 5.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. A binding under which a
subject_namespace_authorization method can apply MUST name a Subject
Identifier-bearing claim from which a Subject Authority is
determinable.¶
Both bindings use
grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer at the
token endpoint. The Resource Authorization Server uses the
assertion's JWT typ header to choose the binding. It evaluates an
assertion typed per [ID-JAG] under Section 5.1, and any
other JWT-bearer assertion under Section 5.2.¶
For ID-JAG [ID-JAG], authorization_grant_profiles_supported
contains 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 3.4. When the Trust Policy contains
a subject_namespace_authorization method, Section 4.2 step 5c
requires the ID-JAG to carry that Subject Identifier and requires
rejection if it is absent or unresolvable.¶
A namespace method can bind authorization to a tenant using the
tenant claim that [ID-JAG] §6.1 requires of a multi-tenant
issuer. [DAI] §Single-Issuer Multi-Tenant Identity Providers gives
an example. A match on tenant establishes that the Subject
Authority authorized that (iss, tenant) pair for its namespace.
It does not establish the trust in iss and tenant for the
recipient tenant that [ID-JAG] §4.4.1 requires. That trust remains
the Resource Authorization Server's own configuration.¶
[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 4.2
rejects such a request with invalid_client. This narrows
[ID-JAG] §4.4.1.¶
In addition to the processing in Section 4.2, the Resource Authorization Server MUST:¶
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.¶
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.¶
This binding applies to the JWT-bearer authorization grant of [RFC7523] Section 2.1 when the assertion carries an identity claim to which Subject Authority Determination applies. ID-JAG has its own binding (Section 5.1).¶
A Resource Authorization Server that accepts the generic JWT-bearer
grant of RFC 7523 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 4.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 client authentication
(Section 4.2 step 5f).¶
[RFC7523] Section 5 leaves the exchange of verification keys out of scope. Under this binding, when no Trust Method the Resource Authorization Server relies on constrains the key source (Section 4.2 step 2), it MUST verify the assertion with an asymmetric key from either:¶
the jwks_uri of the Assertion Issuer's [RFC8414] metadata
whose issuer equals the assertion's iss; or¶
local configuration for that issuer.¶
It MUST NOT use a key or a key location carried in the assertion's
JOSE header, such as jwk, jku, or x5u ([RFC8725] Section
3.10).¶
As with ID-JAG, the Subject Identifier for this binding is the
top-level email claim, accompanied by email_verified=true,
extracted per Section 3.4. The sub claim is
not a Subject Identifier source under this binding, even when its
value is in email form. It is an issuer-scoped identifier
([RFC7519]) that can merely resemble an email, and
email_verified attests only the email claim. A single source
keeps selection deterministic (Section 4.3.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 9.2) for other claim sources.¶
In addition to the processing in Section 4.2, the Resource Authorization Server MUST:¶
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.¶
Treat the identity claim only as input to Subject Authority evaluation. Issuer acceptability is established only by evaluating the Trust Methods.¶
The generic JWT-bearer grant carries no tenant claim, so
tenant-scoped authorization is not expressible under it. [DAI]
§Single-Issuer Multi-Tenant Identity Providers specifies the
resulting constraint on Subject Authorities that rely on shared
multi-tenant Assertion Issuers.¶
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 ([RFC7523]
Section 3) and no external namespace-owner delegation exists.¶
This document complements the OAuth 2.0 Security Best Current Practice ([RFC9700]) and does not override it.¶
The subject_namespace_authorization category is the wire-format
analog of [RFC9700] §4.4.2 (mix-up countermeasures): a Resource
Authorization Server does not accept an assertion from an
authorization server that the Subject Authority has not listed. The
guarantee is only as strong as the integrity of the Subject
Authority's publication channel. An attacker who controls that
channel, such as unauthenticated DNS or a compromisable HTTPS
origin, can defeat it. See the per-Trust-Method analysis (for
example, [DAI]) and Section 4.3.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.¶
Source selection (Section 4.3.2) runs before the identity assertion's claims are validated against any Trust Method's evidence, so it acts on an untrusted payload. A Trust Method whose selection considers multiple claims, applies preference ordering, or falls back from one input to another gives an attacker a selection lever. The attacker constructs an identity assertion whose claims satisfy several bindings, so that selection picks the weakest or most attacker-favorable evidence source. The identity assertion is then evaluated against evidence that the legitimate Subject Authority for the target namespace never authorized.¶
For example, an identity assertion carries
sub: alice@victim.example and
tenant_context: attacker-tenant.example, and a Trust Method selects
the evidence source by tenant context when present, falling back to
subject domain. The Resource Authorization Server validates the
identity assertion against the attacker-controlled Issuer
Authorization Policy of attacker-tenant.example and accepts a claim
about a victim.example subject.¶
The mitigation is deterministic source selection (Section 4.3.2): a binding function from identity assertion + request context to exactly one evidence source. Trust Method specifications 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 evidence 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 evidence source.¶
The email extraction registered by this document derives the
Subject Authority deterministically from a single claim and does
not fall back; specifications registering additional extractions
MUST preserve this property.¶
The combination rule (Section 4.3.1) requires the Resource Authorization Server to evaluate every applicable category. If a Trust Method specification or local configuration lets applicability depend on the incoming identity assertion, an attacker can waive a category by constructing a matching identity assertion. For example, if namespace authorization does not apply to an assertion from a legacy issuer, or to one carrying a legacy-flag claim, the attacker sends such an assertion. The Resource Authorization Server then relies on issuer authentication alone, which the combination rule forbids as sufficient.¶
The mitigation: category applicability MUST be a property of the Resource Authorization Server's published Trust Policy, not of the incoming identity assertion. Traffic that legitimately predates a category's availability is handled at the policy layer, not by waiving the category. Policy per deployment phase is a configuration boundary, while a waiver driven by the identity assertion is a boundary the attacker controls.¶
The two issuer categories make different transitivity choices:¶
issuer_authentication permits chains. Under openid_federation,
a trust anchor's signatures on intermediate Subordinate Statements
transitively authenticate the leaf.¶
subject_namespace_authorization requires depth one. A Subject
Authority lists Assertion Issuers directly and cannot delegate to
whoever an issuer federates. A Resource Authorization Server
therefore evaluates one customer-published policy, never a
multi-hop chain, and no intermediate party can add an issuer that
the Subject Authority did not list. Parties that bind keys to
listed issuers, or host the list, remain trusted (Section 6.6).
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 4.2) enforces this at evaluation time. See Appendix A.1 for positioning against OpenID Federation.¶
A subject_namespace_authorization method authorizes an issuer
identifier, not a key. Which key speaks for that identifier is
decided elsewhere. Every party that can make that decision is
trusted for every namespace that lists the issuer:¶
Under openid_federation, the leaf's policy-applied metadata
supplies the key source (Section 3.3.4.1). 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 ([ID-JAG] §4.4.1; Section 5.2), 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 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 a Subject Authority pin a key thumbprint for each authorized issuer.¶
The client_recognition category evaluates the client identified
by the token request's client authentication (Section 4.2 step 5f), not
by the assertion. An attacker who controls an assertion's claims
therefore cannot choose which client is evaluated
(Section 6.2).
Recognition admits a client to the exchange. It does not authorize
the client to act for a particular user, says nothing about the
subject or the Assertion Issuer, and leaves the other categories in
force. Under the generic JWT-bearer binding, the assertion names no
client, so any recognized client can present an assertion it
obtained (Section 3.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. Naming a
registered client_id without authenticating as that client
therefore does not avoid the client method. A request whose
client_id is an https URL gets the client method even when a
registration exists for that URL. A party holding such a
registration therefore cannot redeem an assertion issued to the
federation Entity of that name
(Section 3.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 6.6). It can therefore authenticate as any client beneath it.¶
Under a client method that lets a client opt in by publishing evidence, such as a DNS record, a client that has published nothing is Negative, as under a namespace method. Under the combination rule, that client is rejected wherever the category is listed unless another listed client method is satisfied. This document defines no mechanism for accepting such clients through local policy instead.¶
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, but does not revoke access or refresh tokens already issued. The framework provides no mechanism to invalidate remote caches, so the Trust Method's cache lifetime bounds the latency of withdrawing any evidence, for planned transfers (provider migrations, acquisitions) and unplanned revocations (security incidents) alike. Subject Authorities that need fast revocation operate with short steady-state cache lifetimes. Synchronous revocation needs OAuth 2.0 Token Revocation [RFC7009], Token Introspection [RFC7662], or short assertion lifetimes at the grant-profile layer.¶
The Trust Policy MUST be served over HTTPS with TLS server authentication, and its integrity rests on TLS. It carries no signature. Mirrored or cached copies of a Trust Policy MUST NOT be relied on beyond their HTTP cache lifetime (Section 6.13). A Resource Authorization Server enforces its Trust Policy from its own configuration, and a client uses the published copy only for discovery (Section 4.1). A substituted Trust Policy can therefore mislead a client's choice of Assertion Issuer but not change what the Resource Authorization Server accepts.¶
An Issuer Authorization Policy decides acceptance. The Trust Method specification that defines it supplies its integrity protection, such as [DAI] §Signed Policy, and its cache and stale-use bounds (Section 3.3.3).¶
Or-semantics apply within a category, and a client cannot observe
per-subject local requirements. A client can therefore choose a
weaker listed Trust Method. That choice is not a protocol violation
the client can be held to but a condition the Resource Authorization
Server rejects. 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. The combination rule in Section 4.2 prevents downgrade
across categories, such as satisfying only an
issuer_authentication method when a
subject_namespace_authorization method also applies.¶
Consumers cache the Trust Policy using HTTP caching ([RFC9111]), 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 6.10.¶
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.¶
Trust policies are typically unauthenticated HTTPS resources. An adversary can scrape them across many Resource Authorization Servers to learn:¶
which RASes participate in which federations;¶
which trust anchors are accepted; and¶
which Subject Identifier formats are honored.¶
This aids targeted attacks, such as 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.¶
The email format can carry an internationalized domain. Consumers
convert the domain to A-label form by UTS #46 nontransitional
processing before Public Suffix List matching, and compare A-labels
using case-insensitive ASCII comparison
(Section 3.4).¶
Because comparison uses the A-label form, Unicode domains that map to different A-labels are different Subject Authorities, however similar they look. A-label comparison does not by itself defend against homograph confusion shown to a human at account-linking or display time, which is out of scope and left to the consuming application. 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, not the full
[RFC5321] Mailbox grammar. Internationalized email addresses
(SMTPUTF8, [RFC6530]) whose local-part requires UTF-8 are outside
its scope. The domain of such an address is handled normally once
isolated. A future Subject Identifier format could define richer
address handling by registering its own extraction procedure
(Section 9.2).¶
Registers the same parameter in the IANA "OAuth Protected Resource Metadata" registry [RFC9728]:¶
Registers the following well-known URI in the IANA "Well-Known URIs" registry [RFC8615]:¶
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.¶
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 distinct from existing categories, so that the cross-category AND semantics of Section 4.3.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 |
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:¶
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.¶
One or more values registered in the Trust Method Categories registry (Section 9.1.4).¶
Additional JSON members defined for this Trust Method, with their JSON types and whether each is REQUIRED or OPTIONAL.¶
The party responsible for change control.¶
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 3.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:¶
openid_federation¶
issuer_authentication¶
trust_anchors (array of string, REQUIRED); trust_marks (array
of object, OPTIONAL; see Section 3.3.4.1)¶
IETF¶
This document¶
openid_federation_client¶
client_recognition¶
trust_anchors (array of string, REQUIRED); trust_marks (array
of object, OPTIONAL; see Section 3.3.6.1)¶
IETF¶
This document¶
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:¶
JSON member name used in the Trust Policy document.¶
A short description of the member's semantics.¶
The party responsible for change control.¶
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.¶
Unrecognized members are ignored by default. A member requiring fail-closed handling needs the criticality mechanism of Section 3.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 |
This appendix is non-normative.¶
OpenID Federation [OIDF-FEDERATION] answers "is this issuer an
authentic ecosystem member?"; this framework adds "is this issuer
authorized for this namespace?". Federation membership feeds the
issuer_authentication category through the openid_federation
Trust Method (Section 3.3.4.1). Namespace
authority comes from the separate subject_namespace_authorization
category. The framework composes with federation rather than
replacing it.¶
The proposed Well-Known Binding mechanism [OIDF-WKB] lets an
[RFC8414] authorization server bind its existing JWK Set by digest
through the extension path in Section 3.3.4.1. It
changes how issuer-authentication evidence is bound, not who holds
authority over a subject namespace. Where [OIDF-WKB] §8.4 has an
Entity return trust_mark_required for a missing Trust Mark, naming
the missing types, a Resource Authorization Server applying this
framework returns the error that Section 4.2 specifies, which keeps
trust-evaluation detail from public clients.¶
This appendix is non-normative. It sketches deferred directions that future specifications may register.¶
This document registers one Subject Authority extraction procedure
(email, Section 3.4). A new Subject
Identifier format would register a procedure in
Section 9.2 that computes its Subject Authority. It
would then reuse domain_authorized_issuer when that Subject
Authority is a DNS-publishable domain, or register a new
subject_namespace_authorization Trust Method. Nothing else in the
framework changes.¶
Candidate formats 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.¶
The subject_namespace_authorization methods defined so far fetch
the Subject Authority's published policy at verification time. In
the alternative, the Subject Authority signs a delegation ("issuer X
may assert for namespace A until time T", optionally
audience-scoped) that the Assertion Issuer presents with the
assertion, as with an x5c chain. Verification then needs no lookup
on the token path, and the credential can express audiences, scopes,
or delegation chains, should a future revision relax the depth-1
bound of Section 6.5. It is deferred as an
assurance-tier extension. Such a method would need:¶
key management and signing automation at the Subject Authority;¶
key discovery through a DNS- or HTTPS-anchored channel;¶
status checking or short-lived credentials for revocation;¶
registration as a subject_namespace_authorization Trust Method
whose evidence is carried in-band, satisfying the checklist in
Section 3.3.3; and¶
composition with existing methods under the combination rule.¶
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. Such a Trust Method would
need to define:¶
its lookup states, including Indeterminate on DNS failure;¶
how its record binds to the queried name, as [DAI]'s
authority= directive does; and¶
how the token is carried in a token request.¶
A method for clients whose Explicit Registration
([OIDF-FEDERATION-CONNECT] §12.2) client_id is not their Entity
Identifier would take the Entity Identifier from the registration.¶
An assertion's act object can name an actor, such as a service
acting for a user. A future extension can apply the trust-evaluation
categories (Section 3.3.2) to actors, so that the
Resource Authorization
Server also evaluates whether the asserting issuer is entitled to
attest the (act.iss, act.sub) pair. That needs a Subject Authority
extraction procedure for actor-carried Subject Identifiers, so it
depends on the separately progressed OAuth Actor Profile. Until
then, local policy at the Resource Authorization Server governs
trust in actor identities.¶
A client reads a Resource Authorization Server's Trust Policy
through its metadata endpoints (Section 4.1), so it needs
the Resource Authorization Server's identity first. In open-world
deployments (agent runtimes, AI tools, cross-organization
integrations), a peer may need the policy before any relationship
exists. A future extension can let a resource operator publish a DNS
pointer to its Trust Policy at _oauth-trust-policy.{resource-domain},
the resource-side dual of [DAI]. It is deferred because such first
contact is not yet a deployed need.¶
This appendix is non-normative.¶
Q: I have OpenID Federation. Why do I need DAI?¶
Federation authenticates ecosystem members but does not limit the namespaces a member can assert about; DAI lets the namespace owner publish that limit (Appendix A.1, Section 3.3.7).¶
Q: What's the difference between Trust Policy and DAI?¶
The Resource Authorization Server publishes the Trust Policy, stating the evidence it requires (Section 3.2). A Subject Authority publishes the Issuer Authorization Policy, naming the Assertion Issuers it authorizes ([DAI]).¶
Q: Why independent trust categories?¶
So that federation membership is never silently treated as authority over a namespace: the combination rule requires evidence from each applicable category (Section 4.3.1, Section 6.5).¶
Q: What if my Subject Authority cannot publish DNS TXT records?¶
It cannot participate in DAI: both lookup modes require the TXT
record at _oauth-issuer-policy.{domain} as its opt-in ([DAI]
§Lookup Procedure and §HTTPS-Only Deployment Variant).¶
Q: Does this work for path-bearing issuer identifiers
(https://login.example.com/{tenant}/v2.0)?¶
Yes. Issuer comparison is a case-sensitive, octet-for-octet string
match, paths included ([DAI] §Issuer Authorization Policy Document). An issuer that also sends a tenant claim is listed 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 its
valid_until to the past. Cache lifetime bounds the latency
([DAI] §Caching).¶
This appendix is non-normative. It shows how a customer's Issuer Authorization Policy, listing the agent platforms it authorizes, keeps an unauthorized provider from impersonating users in the customer's email namespace.¶
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 gives each
customer its own issuer identifier, here
https://agentprovider.example/example-com. A platform using one
issuer identifier for every customer would send tenant in every
ID-JAG (Section 5.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's Trust Policy lists domain_authorized_issuer.
After Alice signs in to the agent platform (out of scope here), 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);¶
extracts the Subject Authority example.com from the email claim;¶
queries _oauth-issuer-policy.example.com and confirms that the
iss value matches an authorized issuer; and¶
issues a token.¶
What this protects against. Suppose attacker.example mints
its own assertion claiming email: alice@example.com,
email_verified: true, with a signature that validates against its
own JWKS and the correct audience. 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, and the tool provider
rejects with invalid_grant. The self-asserted email_verified
has no force: unless the customer lists https://attacker.example,
that issuer cannot impersonate users in example.com.¶
This appendix is non-normative. It expands Section 3.3.7 with 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 3.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:¶
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.¶
Framework-specific checks (Section 3.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.¶
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.¶
Cross-category combination rule. Both categories succeed; the Resource Authorization Server issues an access token.¶
Selected failure variants:¶
The chain does not terminate at the listed trust anchor:
invalid_grant.¶
The leaf lacks the required Trust Mark: invalid_grant.¶
The federation-resolved JWKS does not match the ID-JAG signing key:
invalid_grant. The metadata key source takes precedence, so there
is no fallback to a separate JWKS referenced by
.well-known/oauth-authorization-server; Appendix E.2
shows when such a JWKS is eligible.¶
partner.example does not list the Assertion Issuer in DAI:
invalid_grant, even though federation membership is valid.¶
With the same cast, the Trust Policy could omit issuer from the
requirement object:¶
{
"method": "openid_federation",
"trust_anchors": ["https://federation.example.org"],
"trust_marks": [
{ "trust_mark_type": "https://federation.example.org/tm/loa3" }
]
}
¶
The acceptable issuers then come from the trust anchor's Entity Configuration, which includes (excerpt):¶
"trust_mark_issuers": {
"https://federation.example.org/tm/loa3": [
"https://federation.example.org",
"https://assurance.example.net"
]
}
¶
The leaf's Trust Mark satisfies the requirement because its iss
appears in that array. So would a Trust Mark of the same type issued
by https://assurance.example.net, provided that issuer's own trust
chain terminates at the same trust anchor (item 4 of
Section 3.3.4.1). The requirement would not be
satisfied if the array for this type were empty, which
[OIDF-FEDERATION] §3.1.2 reads as allowing any issuer, or if the
type were absent from trust_mark_issuers.¶
With the same cast and Trust Policy, 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 abbreviated Entity Type metadata 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": ["<digest of authorization server metadata>"],
"jwks_digests": ["<digest of the referenced JWK Set>"]
}
}
}
¶
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. Here the
Intermediate neither supplies a protocol key source nor requires one
through metadata_policy; the openid_provider policy shown above
does not apply to this variant's oauth_authorization_server type.
With no key source in the Entity Type metadata, 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.¶
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.¶
This appendix is non-normative. It follows openid_federation_client
(Section 3.3.6.1) from a client's first
token request to later requests, and shows federation clients beside
clients the Resource Authorization Server registered itself.¶
Cast:¶
Resource Authorization Server https://api.saas.example, with
token endpoint https://api.saas.example/token.¶
Trust anchor https://federation.example.org.¶
Client https://agent.example, an agent platform that is a
federation Entity of type oauth_client. It has never contacted
the Resource Authorization Server.¶
Assertion Issuer https://idp.partner.example, which issues the
client an ID-JAG for alice@partner.example whose client_id
claim is https://agent.example.¶
Trust Policy. The Resource Authorization Server publishes:¶
{
"resource_authorization_server": "https://api.saas.example",
"authorization_grant_profiles_supported": [
"urn:ietf:params:oauth:grant-profile:id-jag"
],
"issuer_trust_methods": [
{
"method": "openid_federation",
"trust_anchors": ["https://federation.example.org"]
},
{ "method": "domain_authorized_issuer" }
],
"client_trust_methods": [
{
"method": "openid_federation_client",
"trust_anchors": ["https://federation.example.org"]
}
],
"crit": ["client_trust_methods"]
}
¶
Client metadata. The client's Entity Configuration, at
https://agent.example/.well-known/openid-federation, includes:¶
{
"iss": "https://agent.example",
"sub": "https://agent.example",
"metadata": {
"oauth_client": {
"grant_types": ["urn:ietf:params:oauth:grant-type:jwt-bearer"],
"token_endpoint_auth_method": "private_key_jwt",
"jwks_uri": "https://agent.example/jwks.json"
}
},
"authority_hints": ["https://federation.example.org"]
}
¶
First contact. The client's first request to the Resource Authorization Server is a token request:¶
POST /token HTTP/1.1 Host: api.saas.example Content-Type: application/x-www-form-urlencoded grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer &assertion=eyJ0eXAiOiJvYXV0aC1pZC1qYWcrand0Ii... &client_id=https%3A%2F%2Fagent.example &client_assertion_type= urn:ietf:params:oauth:client-assertion-type:jwt-bearer &client_assertion=eyJhbGciOiJFUzI1NiIsImtpZCI6...¶
Line breaks in the request body are for display only. The client assertion's claims are:¶
{
"iss": "https://agent.example",
"sub": "https://agent.example",
"aud": "https://api.saas.example",
"exp": 1793880000,
"jti": "c1f0..."
}
¶
Processing. The Resource Authorization Server:¶
Applies the policy above, because the client_id is an https
URL (Section 4.2 step 1).¶
Resolves the client's Entity Configuration and a trust chain to
https://federation.example.org.¶
Checks that the policy-applied metadata declares oauth_client.¶
Fetches the key set at jwks_uri, verifies the client assertion's
signature with a key in it, and checks that its aud is
https://api.saas.example and that private_key_jwt is the
declared method. The client is now authenticated, and because
grant_types lists the request's grant type, it is recognized.
Steps 2 through 4 are the only lookups before the client is
authenticated.¶
Validates the ID-JAG, including that its client_id claim is
https://agent.example ([ID-JAG] §4.4.1).¶
Evaluates openid_federation for https://idp.partner.example
and domain_authorized_issuer for partner.example. With the
client recognized in step 4, every category is satisfied, so it
issues an access token.¶
Rejections:¶
The request carries no client authentication: invalid_client
(Section 4.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
unauthorized_client.¶
The client lacks a required Trust Mark and the ID-JAG has also
expired: unauthorized_client, because client recognition is
evaluated before the 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 3.3.4.1), and the key set no longer than
the chain. Later requests use the cached chain, and each is still
evaluated against the policy. After the client rotates its keys, a
signature with a key the cached key set lacks can prompt one fresh
fetch of the key set, rate-limited per client, before rejection. If
the federation stops recognizing the client, the change takes effect
when the cached chain expires.¶
Coexistence with registered clients. The Resource Authorization
Server also has confidential clients it registered itself, with
opaque client_id values and credentials it holds. A request that
authenticates as one of those clients gets a policy without
client_trust_methods (Section 4.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 published policy above and is admitted only
through the client method.¶
This appendix is non-normative and will be removed before publication. A number in parentheses is a closed issue in the issue tracker 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).¶
Rely on [ID-JAG] §6.1, which requires a multi-tenant Assertion
Issuer 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).¶
Limit subject resolution to the evaluated identifier, fix the key source for the JWT-bearer binding, bound reuse of federation evidence to 24 hours, and evaluate client recognition before the assertion (#34).¶
Editorial changes for readability.¶
-00¶
initial draft¶