Internet-Draft Domain-Authorized Issuer Trust Method October 2026
McGuinness Expires 12 April 2027 [Page]
Workgroup:
Web Authorization Protocol
Internet-Draft:
draft-mcguinness-oauth-domain-authorized-issuer-latest
Published:
Intended Status:
Standards Track
Expires:
Author:
K. McGuinness
Independent

OAuth Domain-Authorized Issuer Trust Method

Abstract

This document defines the Domain-Authorized Issuer (DAI) Trust Method: a subject_namespace_authorization Trust Method for the OAuth Identity Assertion Trust Framework in which the owner of a subject namespace (typically a DNS domain) publishes a policy listing the OAuth authorization servers it authorizes to assert identities in that namespace. The mechanism uses the DNS-based authority-publication pattern operators already deploy for CAA, MTA-STS, SPF, and DKIM. A Resource Authorization Server uses the published policy to verify that an identity assertion's issuer is authorized for the asserted subject namespace.

The lookup defined by this document is verifier-side: given an identity assertion in hand, the Resource Authorization Server locates the Subject Authority's issuer authorization policy. Client-side discovery of which Assertion Issuer to use before an assertion exists is a separate use case and is deferred to future work.

This document also defines the Issuer Authorization Policy wire format that the Trust Method consumes. The parent trust framework specification owns the generic Trust Policy document, Trust Method category structure, cross-category combination rule, and Subject Authority Determination concept.

Discussion Venues

This note is to be removed before publishing as an RFC.

Discussion of this document takes place on the Web Authorization Protocol Working Group mailing list (oauth@ietf.org), which is archived at https://mailarchive.ietf.org/arch/browse/oauth/.

Source for this draft and an issue tracker can be found at https://github.com/mcguinness/draft-mcguinness-oauth-id-assertion-framework.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 12 April 2027.

▲

Table of Contents

1. Introduction

OAuth deployments using identity-assertion grants need to answer "is this Assertion Issuer authorized to assert about subjects in this namespace?". Such grants include the Identity Assertion JWT Authorization Grant (ID-JAG) and generic JWT-bearer assertions carrying an identity claim (see [TRUST-FRAMEWORK]). An issuer authenticated by federation membership is not, by that membership alone, entitled to assert about subjects in any particular namespace. The namespace owner is the only authoritative source of that delegation.

The Domain-Authorized Issuer (DAI) Trust Method lets the owner of a DNS-namable subject namespace publish, in DNS, the set of Assertion Issuers it authorizes for its namespace. The DNS record can carry the authorized issuers inline (for simple deployments) or point at an HTTPS-hosted JSON document containing richer policy (validity windows, format restrictions, tenant binding, multiple issuers). A Resource Authorization Server that does not take issuers or a policy location from DNS can instead fetch the policy from a dedicated HTTPS host, oauth-issuer-policy.{domain}. In both cases the DNS record is the Subject Authority's explicit opt-in. A namespace that publishes no record is not covered.

Authority is established by control of the publication channel. Whoever can publish at _oauth-issuer-policy.{domain} is itself the Subject Authority for {domain}. The pattern follows CAA [RFC8659], MTA-STS [RFC8461], SPF, and DKIM (Appendix A.1).

DAI is consumed by Resource Authorization Servers at assertion verification time: given an identity assertion, the RAS uses the Subject Authority's published policy to decide whether the asserting issuer is authorized for the subject's namespace.

DAI is non-transitive by design. The Issuer Authorization Policy is a flat list of Assertion Issuer identifiers; a Subject Authority that wants to authorize an Assertion Issuer publishes its identifier directly. The depth-1 bound and its security implications are covered in [TRUST-FRAMEWORK] §Open-World Delegation and Bounded Transitivity and §Transitive Authorization is Bounded.

DAI is also independent of OpenID Federation: a Subject Authority can publish DAI records and a Resource Authorization Server can evaluate them without any federation infrastructure.

1.1. Relationships

DAI is a concrete profile of [TRUST-FRAMEWORK] for OAuth identity assertions:

  • the Subject Authority is the Authority Holder;

  • the Issuer Authorization Policy is the Delegation Artifact;

  • the DNS record (or DNS pointer plus HTTPS document) is one publication channel; and

  • the Assertion Issuer is the Delegate.

Lookup state classification and fail-closed requirements follow [TRUST-FRAMEWORK] §Lookup States and Fail-Closed.

DAI extends [TRUST-FRAMEWORK], which owns the Trust Policy document format, Trust Method machinery, Subject Authority Determination, and OAuth grant-profile bindings. This document defines the Issuer Authorization Policy document (Section 3), the DNS and HTTPS publication channels (Section 4.1), the lookup procedure (Section 5), the verification rules (Section 6), the domain_authorized_issuer Trust Method, and an HTTPS-only deployment variant (Section 8.2). A bridge to the Email Verification Protocol's DNS records and a client-side discovery use case are sketched as future extensions in Appendix B.

1.2. Conventions

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

2. Terminology

This document uses terminology from [TRUST-FRAMEWORK], which defines each term. In brief:

Subject Identifier formats follow [RFC9493].

Two terms are specific to this document:

Domain-Authorized Issuer (DAI):

The Trust Method defined by this document, in which a Subject Authority publishes, over DNS and HTTPS, the set of Assertion Issuers it authorizes for its namespace.

Publisher:

The Subject Authority, or a policy host acting for it, when it publishes a DNS record or an Issuer Authorization Policy.

3. Issuer Authorization Policy Document

The Issuer Authorization Policy is a Delegation Artifact: a Subject Authority (Authority Holder for a subject namespace) uses it to delegate the right to assert identities in its namespace to one or more named Assertion Issuers. Each authorized_issuers entry is a delegation; valid_from and valid_until bound the delegation in time; tenant constrains the delegation to a specific tenant of a shared issuer; subject_identifier_formats constrains the delegation to specific Subject Identifier formats. The verification procedure (Section 6) validates whether a given identity assertion is covered by a current delegation; absent a matching delegation, the Assertion Issuer is not authorized for the asserted namespace regardless of any other property of the assertion.

The Issuer Authorization Policy is a JSON object served over HTTPS. Publishers MUST serve it with media type application/json; consumers additionally accept any media type using the structured +json suffix (Section 5.1). It has the following members:

subject_authority

REQUIRED. String. The Subject Authority identifier this policy applies to. For DNS-domain Subject Authorities the publisher MUST write this value in A-label (ASCII) form per [RFC5891], mirroring the authority= directive (Section 4.3). Consumers MUST verify this value matches the Subject Authority computed in [TRUST-FRAMEWORK] §Subject Authority Determination after applying the comparison rules for that Subject Authority form.

authorized_issuers

REQUIRED. JSON array of authorized issuer objects, which MAY be empty. An empty array is an explicit denial: the Subject Authority authoritatively authorizes no issuer. The retrieval of such a policy is Affirmative (Section 5.1); the denial takes effect at verification, where no entry can match (Section 6). Consumers MUST NOT fall through to any other channel on encountering a denial. Each object has:

issuer

REQUIRED. String. The Assertion Issuer identifier. For OAuth authorization server issuer identifiers, this value MUST be an absolute HTTPS URL with no fragment component. The URL MAY contain a path component.

No normalization is applied before comparison. The value and the JWT iss claim are compared by exact case-sensitive string equality (octet-for-octet), consistent with [RFC8414] issuer-identifier comparison. Consequently https://a and https://a/ are distinct issuers, and no trailing-slash or percent-encoding normalization is performed.

Query components are NOT RECOMMENDED because many issuer metadata profiles do not use them. Issuer identifiers whose string form contains a ; cannot be expressed in the inline DNS form (Section 4.3) and MUST be published via the HTTPS document instead.

tenant

OPTIONAL. Non-empty string. The issuer-side tenant identifier authorized for this Subject Authority, corresponding to a top-level tenant claim carried by the assertion (in ID-JAG, [ID-JAG] §6.1). When present, the assertion's top-level tenant claim MUST be present and MUST exactly match this value using case-sensitive string comparison. An assertion that lacks the tenant claim or carries a different value does not match this entry.

When absent, the entry matches only assertions that carry no top-level tenant claim. Consequently, under a grant profile that carries tenant, listing a shared issuer without tenant authorizes none of its tenants. Grant profiles that do not carry a tenant claim (e.g., the generic JWT-bearer grant of [RFC7523]) match only entries that omit tenant, as Section 9.9 discusses.

Tenant values are issuer-specific and MUST NOT be compared across issuers. To authorize multiple tenants of the same shared issuer, publish one entry per (issuer, tenant) pair. Guidance for shared-issuer multi-tenant Identity Providers is in Section 9.9.

subject_identifier_formats

OPTIONAL. JSON array of Subject Identifier format names ([RFC9493]) this Assertion Issuer is authorized for. If omitted, the Assertion Issuer is authorized for any format that resolves to this Subject Authority, including formats whose extraction procedures are registered after the policy is published; a Subject Authority that wants to exclude future formats lists the formats it authorizes.

valid_from

OPTIONAL. [RFC3339] date-time. The delegation MUST NOT be treated as valid before this time. A consumer MAY apply a small clock-skew tolerance (at most 5 minutes), consistent with JWT nbf conventions ([RFC7519] Section 4.1.5). This tolerance applies only to valid_from; it MUST NOT be applied to valid_until to extend a delegation past its stated end.

valid_until

OPTIONAL. [RFC3339] date-time. The delegation MUST NOT be treated as valid at or after this time. No clock-skew tolerance is permitted on this bound.

last_updated

OPTIONAL. [RFC3339] date-time at which the policy was last published. It is not decision-affecting ([TRUST-FRAMEWORK] §Terminology).

signed_policy

OPTIONAL. Signed JWT containing policy members as claims (Section 3.1). This member follows the signed metadata pattern used by [RFC8414] and [RFC9728]. Its presence does not by itself require all consumers to support signed policy processing; consumers apply Section 3.1 and any local policy that requires object-level integrity. A Subject Authority that needs to force signature processing lists signed_policy in crit.

crit

OPTIONAL. Array of member names a consumer MUST understand to process the policy safely, as defined in [TRUST-FRAMEWORK] §Critical Members. A consumer that fails to recognize, or does not implement processing for, one or more listed members MUST treat the policy as malformed.

Publishers MUST place crit in the outer (unsigned) document. A crit present only in a signed_policy JWT payload is invisible to consumers that do not process signatures and therefore has no effect on them. When the document carries signed_policy, publishers MUST also include the same crit as a claim in the signed JWT, so that a party that can alter the outer document cannot remove it (Section 3.1). The DNS record form does not carry crit (Appendix B.2).

Consumers MUST ignore unrecognized members, except those named in crit. A document containing duplicate member names (at the top level or within an authorized_issuers entry object) is malformed and MUST be rejected. The following validation rules apply; a policy failing any of them is malformed:

Table 1
Member Required type / structure Additional rule
subject_authority string, required matches the computed Subject Authority
authorized_issuers array of objects, required (MAY be empty for explicit denial) each element has issuer
issuer string, required syntactically valid issuer identifier for the applicable grant profile
tenant string, optional non-empty (see member definition)
subject_identifier_formats array of strings, optional  
valid_from, valid_until, last_updated [RFC3339] date-time, optional  
signed_policy string, optional signed JWT as defined in Section 3.1
crit array of strings, optional non-empty; every listed member recognized and implemented, else malformed ([TRUST-FRAMEWORK] §Critical Members)

For OAuth authorization server issuer identifiers, a non-HTTPS URL, a relative URL, or a URL with a fragment component is a malformed issuer value.

Example:

{
  "subject_authority": "example.com",
  "authorized_issuers": [
    {
      "issuer": "https://idp.example.com",
      "subject_identifier_formats": ["email"],
      "valid_until": "2027-01-01T00:00:00Z"
    },
    {
      "issuer": "https://accounts.shared.example",
      "tenant": "example.com",
      "subject_identifier_formats": ["email"]
    }
  ],
  "last_updated": "2026-05-01T00:00:00Z"
}

3.1. Signed Policy

The signed_policy member provides cryptographic integrity for the policy members it carries as claims. When the signed JWT contains every decision-affecting member ([TRUST-FRAMEWORK] §Terminology), it provides object-level integrity for the whole document. It follows the signed metadata pattern defined for authorization server metadata in [RFC8414] and protected resource metadata in [RFC9728].

A consumer processes signed_policy only when it has an acceptable verification key for it: the key a key= directive pins, or a key configured out of band for the Subject Authority. A consumer without one MUST treat the policy as malformed if crit lists signed_policy or its local policy requires object-level integrity for the Subject Authority; otherwise it ignores signed_policy and evaluates the unsigned members. Such a consumer gets no object-level integrity from the signature: it cannot detect a modified outer document, an expired signed_policy, or a replayed older one. The requirements on consumers in the rest of this section apply to a consumer that processes signed_policy.

The signed_policy value is a JWT [RFC7519] in JWS Compact Serialization [RFC7515] containing policy members as claims. The JWT MUST be digitally signed using an asymmetric algorithm. It MUST contain an iss claim identifying the party attesting to the signed policy claims, and MUST contain iat. It MUST contain exp, so that a superseded signed policy cannot be replayed indefinitely (relevant when the policy is hosted on shared infrastructure, Section 9.5). Consumers MUST reject an expired signed_policy.

Publishers SHOULD keep exp close to iat (for example, a few days), because a policy host can replay a superseded signed policy until its exp to a consumer that holds no cached copy. A consumer that holds a cached signed policy for the same Subject Authority MUST reject a signed_policy whose iat is earlier than the cached one's. This ensures that an older signed policy cannot be replayed within its validity period.

The JOSE header SHOULD contain a kid identifying the signing key. The JWT payload SHOULD NOT contain a signed_policy claim. The outer document still carries subject_authority and authorized_issuers (Section 3) when the JWT repeats them.

Algorithms: [RFC8725] (JWT Best Current Practices) applies unchanged. In addition, the JWT MUST NOT use a MAC algorithm (HS256/384/512); verification keys are widely distributed and a MAC scheme would require sharing the signing key with every Validator, defeating the authority binding. Implementations MUST support ES256 and SHOULD support EdDSA and ES384; RS256 with >=2048-bit keys MAY be supported for compatibility.

Per [RFC8725] §3.11 (cross-context confusion), the JWT typ header MUST be issuer-authorization-policy+jwt. This is the registered media subtype with the application/ prefix omitted, per the [RFC8725] §3.11 convention; the corresponding media type is registered in Section 12.6.

The JWT payload MUST contain subject_authority. When a key= directive pins the verification key, a signature that verifies with that key binds the signer to the Subject Authority, and the JWT iss claim is not further constrained. Otherwise the JWT iss claim MUST either equal the subject_authority value (for example, acme.example, not https://acme.example) or identify a signing authority that local policy or an applicable Trust Method establishes as controlled by the Subject Authority. Consumers MUST NOT treat a signature by an Assertion Issuer the policy authorizes as proof of Subject Authority authorization unless such a relationship is explicitly established.

The verification key MUST be resolved through a channel independent of the one that carried the policy document, and MUST be one of:

  • a key whose thumbprint the Subject Authority publishes in a key= directive of its DNS pointer record (Section 4.3). A key= thumbprint binds the document to what the consumer already trusts DNS for: it defeats substitution by the policy host or a shared edge in front of it, not compromise of DNS, which already selects the policy host; DNSSEC raises that bound.

  • a key configured out of band at the consumer, which rests on the consumer's own key-provisioning process.

Under the HTTPS-only lookup mode, a key= directive in the opt-in record applies as it does to any pointer record (Section 8.2). An attacker who controls the publication channel can substitute both the policy and, if the key is fetched over that same channel, the key. Absent an independent channel, the signature provides integrity no stronger than channel control (which already establishes authority), and consumers MUST NOT rely on it to defend against compromise of that channel.

If both unsigned policy members and signed_policy are present, the signed policy claims MUST be used as the policy values for all claims present in the JWT. Unsigned members that are not represented as claims in the JWT MAY be used subject to the normal processing rules for unrecognized members.

A conflict exists when a member name appears in both the unsigned outer document and the signed JWT payload AND the two values are not equal when compared as parsed JSON values. The comparison ignores member order and insignificant whitespace. Equivalently, the values are unequal when their JSON Canonicalization Scheme [RFC8785] serializations differ. Consumers MUST reject a policy that contains any such conflict. Otherwise, an attacker who can modify the outer document but not the signed JWT has a lever to inject visible-but-ignored members that may mislead operators or downstream tooling.

A Subject Authority that needs to require signed_policy processing by all conforming consumers lists signed_policy in crit. A consumer that does not implement signed_policy processing then rejects the document rather than silently ignoring the signature. Absent a crit entry, the presence of signed_policy provides integrity only:

  • for consumers that support and verify it;

  • for deployments where local policy requires signed policy processing; or

  • for lookups where a key= directive requires it (Section 4.3).

If a consumer's local policy requires object-level integrity through signed_policy, the consumer MUST verify the signed JWT before acting on the policy, and the JWT payload MUST contain every recognized decision-affecting member used by that consumer. The consumer MUST NOT use unsigned recognized decision-affecting members that are absent from the JWT payload. This includes crit. The consumer takes crit from the JWT payload, so removing the outer copy does not remove a critical requirement. An outer crit with no signed counterpart makes the policy malformed. The consumer MUST reject the policy as malformed if any of the following holds:

  • signature verification fails;

  • the verification key is unacceptable;

  • the JWT is malformed;

  • the required issuer binding above is not satisfied; or

  • the JWT omits a recognized decision-affecting member required for evaluation.

4. Publication

A Subject Authority publishes the Issuer Authorization Policy through one of the publication channels defined in Section 4.1. Throughout this document, {A} denotes the Subject Authority rendered as a DNS name (A-label form, Section 4.3). DNS publication uses the TXT record at _oauth-issuer-policy.{A}, following the pattern of CAA, MTA-STS, SPF, and DKIM (Appendix A.1). For Resource Authorization Servers that take no issuers or policy location from DNS, the policy is also served at the default URL on a dedicated policy host, oauth-issuer-policy.{A} (Section 4.4); a TXT record whose uri= names that URL is the opt-in.

4.1. Publication Channels

This document defines three publication channels. A Subject Authority chooses based on operational constraints; all carry the same document model (Section 3), although the inline form expresses only part of it (Section 9.7). The canonical lookup procedure (Section 5) consults only DNS and the uri= target a DNS record names, which can be the dedicated policy host; the HTTPS-only lookup mode (Section 8.2) fetches only from the dedicated policy host.

Table 2
Channel DNS form Document Authority binding When to use
1: Inline TXT with issuer= (Section 4.3) None (carried in TXT) DNS control of {A} Common case: authorize an issuer that has its own issuer identifier, with no rich policy; cannot carry tenant (Section 9.7)
2: Pointer TXT with uri=, consumed by canonical lookup HTTPS-hosted JSON under Subject Authority's operational control DNS control of {A} AND TLS on the authority-operated host Rich policy (validity windows, format restrictions, tenant binding) at a controlled origin
3: Dedicated Policy Host TXT with uri= naming the default URL, consumed by the HTTPS-only lookup mode as the opt-in HTTPS-hosted JSON at https://oauth-issuer-policy.{A}/.well-known/oauth-issuer-policy DNS control of {A} (opt-in record) AND of oauth-issuer-policy.{A}, AND TLS on that host Serving Resource Authorization Servers that use the HTTPS-only lookup mode

4.2. Dedicated Policy Host

A Subject Authority that serves Resource Authorization Servers using the HTTPS-only lookup mode publishes the policy at the default URL on the dedicated policy host oauth-issuer-policy.{A} (Section 4.4). The opt-in to the HTTPS-only lookup mode is a recognized record at _oauth-issuer-policy.{A} (Section 4.3) whose uri= value is exactly the default URL. That mode requires such a record before it fetches from the dedicated host (Section 8.2). The same record directs canonical lookups to the same document.

The host name alone is not an opt-in. Some domains let untrusted users claim subdomains or serve content on them, and an attacker could claim oauth-issuer-policy ([RFC8461] Section 10.3). Subject Authorities whose domains let others claim subdomains SHOULD also reserve the oauth-issuer-policy label, in addition to publishing the opt-in record. Not every TXT record at _oauth-issuer-policy.{A} is an opt-in either. A Subject Authority that publishes only an inline record, or a pointer to another host, has not set up the dedicated host.

Unlike the apex, the dedicated host can be delegated to a hosting provider (for example, by a CNAME record) without giving that provider control of the Subject Authority's web origin. A key= directive in the opt-in record keeps that provider from altering the policy (Section 9.5).

4.3. DNS Record

The Subject Authority publishes one or more DNS TXT records at _oauth-issuer-policy.{A}, where {A} is the Subject Authority rendered as a DNS name. Internationalized names are converted to A-labels by the procedure of [TRUST-FRAMEWORK] §Subject Authority Determination before the prefix is prepended. DNS lookup names are formed without a trailing dot for comparison purposes; the wire-format root label is not part of the Subject Authority value.

The string segments of a TXT record ([RFC1035]) are concatenated without separator and interpreted as ASCII text (a record containing a non-ASCII octet is malformed, since all defined directive values are ASCII by construction).

A record is recognized if the version token v=oauth-issuer-policy1 (case-sensitive) appears at the start, terminated by end of record, by optional whitespace, or by a ; separator; leading whitespace before the token is permitted. The version token matches only that exact string: a different token (for example, a future v=oauth-issuer-policy2) is not recognized, so the record is treated as unrecognized (not malformed) and is ignored by the recognition rule. Records that do not begin with a supported version token MUST be ignored. A v= directive appearing anywhere other than the start of a recognized record makes the record malformed (Section 5.1).

The remainder of a recognized record is a sequence of name=value directives separated by ;. Parsing rules:

  • Whitespace (space and horizontal tab) immediately before and after each directive is ignored. A value MUST NOT contain whitespace or non-ASCII characters; the directive values defined here (domain names in A-label form and absolute HTTPS URLs) are ASCII by construction.

  • Directive names are case-insensitive ASCII. Values are case-sensitive and preserved as written.

  • A directive splits into name and value at the first =. Subsequent = characters are part of the value. A directive with no = makes the record malformed (Section 5.1).

  • The value runs to the next ; or end of record. The character ; MUST NOT appear in a value (see the issuer-identifier constraint in Section 3).

  • CR, LF, and NUL MUST NOT appear in a value.

  • An empty directive (two consecutive ; separators with no intervening name=value) makes the record malformed (Section 5.1).

  • Unrecognized directives MUST be ignored.

The parsing rules above are summarized in the following ABNF ([RFC5234] with the case-sensitive string extension of [RFC7405]) for implementer convenience; the prose above is normative if any disagreement exists.

record        = OWS version OWS *( ";" directive ) [ ";" OWS ]
version       = %s"v=oauth-issuer-policy1"
directive     = OWS name "=" value OWS
name          = 1*( ALPHA / DIGIT / "_" / "-" )
value         = *vchar-no-semi
vchar-no-semi = %x21-3A / %x3C-7E   ; VCHAR (%x21-7E) minus ";"
OWS           = *( SP / HTAB )

The following directives are defined:

authority=A

REQUIRED. The Subject Authority identifier this record claims to bind. The publisher MUST write this value in A-label (ASCII) form per [RFC5891]; consumers compare it against the Subject Authority computed from the query name (also in A-label form) using the case-insensitive ASCII comparison rules in [TRUST-FRAMEWORK] §Subject Authority Determination. Records whose authority= value does not match are discarded (see the lookup procedure in Section 5). A recognized record containing more than one authority= directive is malformed (Section 5.1).

uri=URL

OPTIONAL. An HTTPS URL identifying an Issuer Authorization Policy document. The URL MAY be on a different host than A. MUST use the https:// scheme and MUST NOT contain a fragment component.

issuer=ISSUER_URL

OPTIONAL. An Assertion Issuer identifier authorized by the Subject Authority for A. For OAuth authorization server issuer identifiers, the value MUST be an absolute HTTPS URL and MUST NOT contain a fragment component. MAY appear multiple times within a record and across records.

key=THUMBPRINT

OPTIONAL. The JWK SHA-256 thumbprint [RFC7638], base64url-encoded without padding, of the key that signs the signed_policy of the document named by uri=. The thumbprint is a hash of the public key's JSON Web Key form. That key is the Subject Authority's policy-signing key, not an Assertion Issuer's assertion-signing key.

The directive is valid only in a record that carries uri=. In any other record it is malformed. At most two distinct key= values may appear across the remaining records, so that a Subject Authority can publish an old and a new key during a rollover. More than two is malformed.

When key= is present:

  • the fetched document MUST carry a signed_policy whose JWS header carries the signing key in its jwk parameter ([RFC7515] Section 4.1.3);

  • the thumbprint of that key MUST equal one of the key= values; and

  • the signature MUST verify with that key (Section 3.1).

A document that fails any of these checks is malformed, and so Indeterminate (Section 5.1).

A key= directive also makes the consumer process the document as one whose object-level integrity its local policy requires (Section 3.1). When key= is present, the signed JWT MUST contain every decision-affecting member the consumer uses, and the consumer MUST NOT use unsigned decision-affecting members that are absent from it, including crit (Section 3.1).

A recognized record MUST contain at least one uri= directive or at least one issuer= directive. Recognized records containing neither MUST be treated as malformed (see Section 5.1).

A Subject Authority MUST publish records for at most one version of this mechanism at a time. This document defines only oauth-issuer-policy1. Future versions that are not understood by a consumer are ignored by the recognition rule above.

4.4. HTTPS Document URL

The default Issuer Authorization Policy URL is:

https://oauth-issuer-policy.{A}/.well-known/oauth-issuer-policy

where {A} is the Subject Authority rendered as a DNS name (A-label form). The URL uses the https scheme, the host oauth-issuer-policy.{A}, the default HTTPS port (443), and the well-known path [RFC8615]; it has no userinfo, port, query, or fragment component. A Subject Authority whose form has no DNS-name representation (none is defined in this document beyond the email-derived DNS domain) cannot use the dedicated host. Consumers fetch this URL with an HTTP GET over HTTPS with TLS server authentication and interpret the response body as the JSON document defined in Section 3.

A URL obtained from a DNS uri= directive is fetched the same way; the host serving the URL is responsible for TLS server authentication of itself, not of A.

Every policy fetch defined here (the default URL and a uri= target) is an outbound fetch subject to [TRUST-FRAMEWORK] §Outbound Fetches; see also Section 9.10.

Consumers MUST NOT follow HTTP redirects when fetching a policy, as in MTA-STS ([RFC8461] Section 3.3): a 3xx response other than a 304 validating a held cached policy is Indeterminate (Section 5.1). Policy hosting on another host is expressed only through the uri= pointer, where the delegation is published in DNS and visible to the Subject Authority. The response MUST have HTTP status 200 and a media type of application/json or any media type using the structured +json suffix (media type parameters ignored); any other status is classified per Section 5.1.

4.5. HTTPS Policy Document Contract

The document retrieved from either the default URL or a DNS uri= pointer is the Issuer Authorization Policy defined in Section 3; consumers MUST NOT interpret any other JSON shape as an Issuer Authorization Policy. Consumers MUST validate the complete policy as a unit; a malformed entry makes the whole policy malformed, not just the offending entry.

The following bounds apply. A response exceeding any bound is classified per Section 5.1.

  • Consumers MUST accept a policy document of at least 64 KiB and MAY reject one larger. Publishers MUST keep the document within 64 KiB.

  • Consumers MUST accept at least 100 authorized_issuers entries and MAY reject more. Publishers MUST NOT publish more than 100.

  • Consumers SHOULD limit JSON nesting depth (the defined document has a fixed shallow structure).

  • Fetch timeouts follow [TRUST-FRAMEWORK] §Outbound Fetches.

Consumers SHOULD send a conditional request (for example, If-None-Match) when they hold a cached policy, treating a 304 response per Section 5.1. A consumer MUST NOT treat a 304 as renewing a held policy unless:

  • the current record's uri= and key= values equal those under which the held policy was retrieved and verified; and

  • any signed_policy in the held policy has not expired.

The consumer stores those values with the cached policy. If either condition does not hold, it fetches without a conditional request.

The document's shape and members are defined, with an example, in Section 3.

5. Lookup Procedure

To retrieve the Issuer Authorization Policy for a Subject Authority A, a Resource Authorization Server performs the following steps. The procedure consults DNS only, plus the uri= target a DNS record names. The TXT record is the Subject Authority's opt-in: its absence is Negative, and no other channel is consulted.

This is the canonical procedure used by the domain_authorized_issuer Trust Method. The HTTPS-only lookup mode defined in Section 8.2 uses the DNS record as the opt-in and for any key= pin, and fetches the policy only from the dedicated policy host.

  1. Query the DNS TXT resource record set at _oauth-issuer-policy.{A}. Classify the response as:

    negative-authoritative

    NXDOMAIN, or NOERROR with an empty answer section or with no recognized records after parsing.

    indeterminate

    SERVFAIL, REFUSED, timeout, truncation with no successful retry, or any other failure that prevents a definitive negative result.

    affirmative

    NOERROR with at least one recognized record after parsing.

  2. If the DNS response is affirmative:

    a. Discard recognized records whose authority= directive does not match A under the Subject Authority comparison rules in [TRUST-FRAMEWORK] §Subject Authority Determination. If any recognized record is missing an authority= directive, treat the response as malformed. If all recognized records are discarded because of authority= mismatch, treat the response as malformed. (A malformed outcome is classified as Indeterminate, Section 5.1.) Finding a record's authority= directive requires only splitting the record into directives at ;; a record discarded for authority= mismatch is not otherwise validated.

    Before continuing, validate the remaining recognized records against the directive rules in Section 4.3. This includes rejecting malformed uri= or issuer= values, and records with neither uri= nor issuer=. Any such condition is a malformed outcome.

    b. If any remaining record contains a uri= directive:

    • If more than one distinct uri= value is present across the remaining records, treat as malformed.

    • Otherwise fetch the JSON policy from that URL per Section 4.4. The fetched document is the Issuer Authorization Policy. All issuer= directives across all records are ignored: their values do not contribute to the policy, but the directive-validity rules of Section 4.3 were already applied in step 2a, so a record set malformed under those rules never reaches this step. If a key= directive is present, the document is verified as that directive requires.

    c. Otherwise (no uri= present), construct a virtual Issuer Authorization Policy, one built from the records rather than fetched, with subject_authority set to A and one entry in authorized_issuers for each distinct issuer= value across the remaining records. Entry order carries no semantics (Section 6); the deduplicated values form a set. Entries have no tenant, subject_identifier_formats, valid_from, or valid_until. The virtual policy is processed identically to one fetched over HTTPS, except that its cache lifetime is derived from DNS TTLs as described in Section 7.

  3. If the DNS response is negative-authoritative, the lookup is Negative (Section 5.1): the Subject Authority has not published a policy for this mechanism. Consumers MUST NOT fetch the policy from any HTTPS location in this case.

  4. If the DNS response is indeterminate, lookup has failed (Indeterminate). Consumers MUST NOT consult another channel, since an attacker who suppresses DNS responses could otherwise force the consumer onto a path the attacker has compromised separately.

Under the HTTPS-only lookup mode, a Subject Authority is found only if it publishes both a record whose uri= is the default URL and a policy on the dedicated host (Section 8.3). A Resource Authorization Server that cannot resolve DNS (resolver failure, untrusted resolution path) classifies the lookup as Indeterminate (Section 5.1).

5.1. Failure Handling

DAI lookup outcomes map onto the Affirmative / Negative / Indeterminate lookup states of the Authority Delegation Model ([TRUST-FRAMEWORK] §Lookup States and Fail-Closed). The normative requirements (fail closed on Negative and Indeterminate; no fallback to a different Authority Source; bounded cache reuse on transient Indeterminate) apply unchanged; this section maps the concrete DAI outcomes onto those states.

Table 3
State DAI outcomes
Affirmative A well-formed Issuer Authorization Policy was retrieved (inline DNS, DNS pointer plus HTTPS fetch, or the dedicated host under the HTTPS-only lookup mode), its subject_authority matches A, and its structural validation succeeds; this includes a policy whose authorized_issuers array is empty (explicit denial, evaluated in Section 6). HTTPS responses, when applicable, are 200 OK with a media type of application/json or a +json-suffixed type. A 304 (Not Modified) response to a conditional request validating a held cached policy within the absolute ceiling of Section 7, under the conditions of Section 4.5, renews its freshness and is classified as the held policy's state; it does not reset the absolute cache-entry age.
Negative Under canonical lookup, DNS negative-authoritative. Under the HTTPS-only lookup mode (Section 8.2), DNS negative-authoritative for the opt-in record, or no remaining record whose uri= is the default URL. No policy is published at the location the lookup consults.
Indeterminate Any other outcome, fail-closed by default. See enumeration below.

The Indeterminate state covers:

  • DNS-side: SERVFAIL, REFUSED, timeout, truncation with no successful retry.

  • HTTPS transport: TLS error, connection failure, or a policy host that cannot be resolved, including a dedicated host name that does not exist.

  • HTTPS response:

    • 5xx;

    • any 4xx, including 404 and 410, since the Subject Authority published a record naming the location and a missing document there is not an authoritative absence;

    • 2xx other than 200;

    • any 3xx other than a 304 validating a held cached policy (redirects are not followed, Section 4.4);

    • unsupported media type;

    • a body larger than the size limit, or containing more authorized_issuers entries than the consumer's entry limit (Section 4.5).

  • DNS record validation:

    • authority= missing from any recognized record;

    • all recognized records discarded for authority= mismatch;

    • more than one authority= in a record;

    • a recognized record with neither uri= nor issuer=;

    • multiple distinct uri= values;

    • a key= directive in a record without uri=, or more than two distinct key= values;

    • an empty or otherwise malformed directive.

  • HTTPS document validation:

    • a body that is not a syntactically valid Issuer Authorization Policy;

    • a subject_authority that does not match A;

    • a document that fails the verification a key= directive requires.

Any outcome not explicitly mapped to Affirmative or Negative above MUST be treated as Indeterminate.

The following deterministic conflict rules apply:

  • Multiple recognized TXT records containing no uri= directive are merged into a single virtual policy. issuer= values across records are deduplicated into a set; order carries no semantics (Section 5, step 2c).

  • If any recognized record contains a uri= directive after authority= filtering, the HTTPS document at the single uri= target is authoritative and all issuer= directives across all records are ignored (Section 5, step 2b). More than one distinct uri= value is malformed.

  • Canonical lookup takes the policy from the DNS record and the uri= target it names; the HTTPS-only lookup mode requires a record whose uri= is the default URL and takes the policy only from that URL. Because the opt-in record directs canonical lookup to the same URL, both modes retrieve the same document (Section 4.2).

  • Multiple authorized_issuers entries for the same issuer value but different tenant values are independent authorizations. Entries with tenant do not shadow entries without tenant for the same issuer.

  • Only the Subject Authority computed by the extraction procedure for the assertion's Subject Identifier applies. Another Subject Authority's policy cannot grant authority over that subject.

Consumers MUST NOT treat a Negative or Indeterminate outcome as satisfying the Trust Method, except that a cached Affirmative policy MAY be used during an Indeterminate live retrieval within the stale-if-error bound of Section 7. Whether the assertion is then rejected follows [TRUST-FRAMEWORK] §Multiple Authority Sources Within a Category. An Indeterminate outcome, like a policy that does not authorize the issuer, leaves the subject_namespace_authorization category unsatisfied whatever other methods yield. A Negative outcome, by contrast, lets another method in that category supply evidence.

6. Verification

When the domain_authorized_issuer Trust Method is evaluated, the Resource Authorization Server MUST:

  1. Determine the Subject Authority from the assertion's Subject Identifier per [TRUST-FRAMEWORK] §Subject Authority Determination. If the format is not registered in [TRUST-FRAMEWORK] §Subject Authority Extraction Procedures Registry, reject the assertion.

  2. Retrieve the Issuer Authorization Policy by applying the procedure in Section 5. Negative and Indeterminate outcomes (Section 5.1) MUST NOT satisfy the Trust Method, except as Section 7 permits for a cached Affirmative policy during an Indeterminate live retrieval.

  3. Verify the policy's subject_authority matches the computed Subject Authority. (Virtual policies satisfy this by construction.)

  4. Determine whether any entry in authorized_issuers matches. An entry matches when all of the following hold:

    a. issuer equals the JWT iss claim under case-sensitive URL string comparison (the comparison rule fixed in Section 3).

    b. If the entry contains a tenant member, its value exactly matches the assertion's top-level tenant claim (in ID-JAG, [ID-JAG] §6.1) under case-sensitive string comparison. An entry with tenant does not match an assertion that lacks the tenant claim; an entry without tenant does not match an assertion that carries a tenant claim. Under a grant profile that carries no tenant claim, any tenant claim physically present in the assertion MUST be ignored for entry matching.

    c. If the entry contains subject_identifier_formats, the Subject Identifier format of the assertion's subject is listed.

    d. If valid_from or valid_until are present, the current time is within the validity window (with the skew rules of Section 3).

    The Trust Method is satisfied when step 3 succeeds and at least one entry matches under (a)-(d). Entry order in authorized_issuers carries no semantics: the outcome is the boolean "does any entry match," so two consumers evaluating the same policy against the same assertion reach the same result regardless of array order or of which matching entry they examine first.

If step 1 fails, the assertion is rejected ([TRUST-FRAMEWORK] §Resource Authorization Server Processing, step 5c). If step 2 does not yield a policy, the Trust Method is not satisfied, with the category-level effect stated in Section 5.1. When the Trust Method is not satisfied and, as a result, the cross-category combination rule ([TRUST-FRAMEWORK] §Cross-Category Combination Rule) is not met, the Resource Authorization Server MUST reject the assertion with an OAuth invalid_grant error.

Step 4b, for a grant profile that carries tenant (such as ID-JAG):

Table 4
Entry has tenant Assertion has tenant Match
No No Yes
No Yes No: an entry without tenant is not a wildcard
Yes No No
Yes Yes Only if the values are equal

Under a grant profile that carries no tenant claim, an assertion is treated as carrying none, so only entries without tenant match.

6.1. Observing Before Enforcing

This document defines no mode in which a published policy is evaluated without being enforced. Under fail-closed evaluation, a namespace with no policy gets no authorization from this Trust Method (Section 5.1), so a Subject Authority's first publication withdraws nothing that this method granted. A mode that accepted assertions despite a mismatch would instead admit more issuers than publishing nothing.

A Resource Authorization Server introducing domain_authorized_issuer can observe before it enforces: it evaluates the Trust Method for incoming assertions and logs the outcome (Subject Authority, Assertion Issuer, matched or not) while its Trust Policy does not yet list the method. Because only listed methods are applicable ([TRUST-FRAMEWORK] §Category Applicability), observation does not affect acceptance. The Resource Authorization Server can share what it observes with affected Subject Authorities out of band; a reporting mechanism is sketched in Appendix B.

7. Caching

Freshness and cache limits for the Issuer Authorization Policy:

After a Subject Authority removes an issuer, each cached entry at a consumer remains usable for its remaining freshness lifetime plus up to 1 hour of stale-if-error use, never beyond the absolute ceiling. The overall revocation window is longer than one entry's lifetime. The change has to reach every authoritative server. Upstream caches can also keep serving the old authorization when a consumer refreshes: recursive resolvers for the old record's full advertised TTL ([RFC1035] Section 4.1.3), and HTTP caches for the document's freshness lifetime. The window is therefore up to the propagation time plus those upstream lifetimes, plus one consumer freshness lifetime and the stale-if-error hour. Steady-state lifetimes of 1 hour or less, as recommended above, keep it to a few hours.

8. Trust Methods

This document defines domain_authorized_issuer as a subject_namespace_authorization Trust Method of [TRUST-FRAMEWORK]. DNS at _oauth-issuer-policy.{A} is the publication channel for canonical lookup; under the HTTPS-only lookup mode the record is an opt-in and a dedicated HTTPS host serves the policy. The Trust Method registers in the Identity Assertion Issuer Trust Methods registry ([TRUST-FRAMEWORK] §Identity Assertion Issuer Trust Methods Registry).

8.1. domain_authorized_issuer

The domain_authorized_issuer method indicates that the Assertion Issuer is acceptable if the Subject Authority identified by the assertion's Subject Identifier authorizes the Assertion Issuer to assert identities in that namespace. The method uses the publication channels (Section 4.1), lookup procedure (Section 5), and verification rules (Section 6) of this document.

This Trust Method natively expresses authorization for either form of multi-tenant Assertion Issuer:

  • Per-tenant issuer identifiers (for example, https://login.microsoftonline.com/{tenant-id}/v2.0): the authorized_issuers[].issuer field accepts any absolute HTTPS URL issuer identifier, and case-sensitive comparison against the JWT iss claim distinguishes tenants under the same host. Each authorized tenant is one authorized_issuers entry. If such an issuer also sends a tenant claim, the entry carries the same tenant value (Section 6, step 4b), which only the pointer form can express.

  • Shared issuer with a tenant claim (for example, https://accounts.google.com serving every Google Workspace tenant via the top-level tenant claim of [ID-JAG] §6.1): the authorized_issuers[].tenant field binds the authorization to a specific tenant of the shared issuer, with the security properties described in Section 9.9.

{
  "method": "domain_authorized_issuer"
}

With no additional members, the Resource Authorization Server retrieves the Issuer Authorization Policy by applying the canonical lookup procedure in Section 5: a DNS query at _oauth-issuer-policy.{A}, with no HTTPS fallback. The optional lookup member is used only for the HTTPS-only deployment variant in Section 8.2.

8.2. HTTPS-Only Deployment Variant

Some deployments will not take issuers or a policy location from DNS. Those deployments can use the same Issuer Authorization Policy document format, retrieved over HTTPS from the Subject Authority's dedicated policy host (Section 4.2), with the DNS record serving as the Subject Authority's opt-in. This is a deployment variant of the DAI mechanism, not a second Trust Method registered by this document.

Under this variant, the Assertion Issuer is acceptable if the Subject Authority identified by the assertion's Subject Identifier publishes the opt-in record and an Issuer Authorization Policy on its dedicated policy host authorizing the Assertion Issuer.

{
  "method": "domain_authorized_issuer",
  "lookup": "https_only"
}

The lookup member is OPTIONAL. If present, its value MUST be https_only.

This variant reuses:

This variant takes no issuers or policy location from DNS.

When evaluated, the Resource Authorization Server MUST:

  1. Determine the Subject Authority A from the assertion's Subject Identifier per [TRUST-FRAMEWORK] §Subject Authority Determination. If the format is not registered in [TRUST-FRAMEWORK] §Subject Authority Extraction Procedures Registry, reject the assertion.

  2. Query _oauth-issuer-policy.{A} and classify the response as in steps 1 and 2a of Section 5; more than one distinct uri= value, or more than two distinct key= values, across the remaining records is malformed. A negative-authoritative response is Negative. The Subject Authority has opted in to this mode only if a remaining record carries a uri= whose value is exactly the default URL (Section 4.2); otherwise the outcome is Negative. An indeterminate or malformed response is Indeterminate. The records' issuer= values are not used.

  3. Fetch the Issuer Authorization Policy from the default URL https://oauth-issuer-policy.{A}/.well-known/oauth-issuer-policy per Section 4.4. The Resource Authorization Server MUST NOT take issuers or a policy location from the DNS records: it checks that the opt-in record's uri= is the default URL rather than following it. If the opt-in record carries a key= directive, the document is verified as that directive requires (Section 4.3). Because the Subject Authority has opted in, a dedicated host name that does not exist (NXDOMAIN, or no address records) is Indeterminate (Section 5.1).

  4. Classify HTTPS retrieval and document validation outcomes per Section 5.1. Negative and Indeterminate states MUST NOT satisfy the Trust Method, except as Section 7 permits for a cached Affirmative policy during an Indeterminate live retrieval.

  5. Verify the fetched policy and match the Assertion Issuer against authorized_issuers using steps 3 and 4 of Section 6.

A Resource Authorization Server uses this variant when it requires the policy itself to come over HTTPS and does not accept policy content published in DNS (inline or DNS pointer). Compared to canonical DNS-first lookup, this mode:

  • Removes the TXT record's issuers and policy location from the trust path. The record remains the opt-in and can pin the policy's signing key with key=. DNS integrity still matters, because the dedicated host is still located through DNS and issuance of its TLS certificate typically relies on DNS-based validation. What changes is that an attacker must also obtain a certificate for the host, not only answer a TXT query.

  • Ignores inline issuers and any uri= other than the default URL. Using either would require trusting DNS to select the issuers or the policy host.

  • Requires the Subject Authority to provision the dedicated host, which it can delegate to a hosting provider without giving up control of its apex web origin.

8.3. Choosing the Lookup Mode

Within domain_authorized_issuer, a Resource Authorization Server selects one lookup mode:

  • Canonical DNS-first lookup is the default. The Resource Authorization Server queries _oauth-issuer-policy.{A} and consults nothing else except the uri= target that record names (Section 5).

  • HTTPS-only lookup is an explicit deployment variant. Use it when local policy distrusts issuers or policy locations published in DNS and requires the policy itself to come over TLS-authenticated HTTPS from the dedicated host. The DNS record is still required, as the opt-in, and its uri= names the default URL; its inline issuers are not used.

A Trust Policy MUST NOT list more than one domain_authorized_issuer object; a Resource Authorization Server treats a policy that does as listing a malformed Trust Method object ([TRUST-FRAMEWORK] §Resource Authorization Server Processing, step 5a) and rejects. Resource Authorization Servers MUST NOT evaluate both lookup modes as alternatives for the same assertion. Doing so creates an availability-driven fallback: an attacker who can drive the DNS lookup to indeterminate (resolver denial-of-service, BGP disruption) could force fallthrough to HTTPS-only evaluation, defeating the fail-closed property of the DNS-first lookup.

9. Security Considerations

The Issuer Authorization Policy is a security-critical document. Its integrity determines which Assertion Issuers can assert identities in the Subject Authority's namespace.

9.1. Namespace Authority Bootstrap

DAI's authority binding is DNS control of the registrable domain and, under the HTTPS-only lookup mode, of the dedicated policy host name under it. This follows the bootstrap model of CAA [RFC8659] and MTA-STS [RFC8461]: an explicit DNS opt-in, a dedicated policy host, and no redirects. Pre-existing DNS realities (typosquatting, expired-domain takeover, registrar account compromise) apply unchanged and are not introduced by this document. The registrable-domain default contains subdomain-takeover impact ([TRUST-FRAMEWORK] §Subject Authority Determination); identity binding beyond DNS control (legal-entity verification) requires out-of-band mechanisms.

DNS control is also, in practice, control of the domain's mail. Whoever controls the zone can change its MX records and receive password-reset and account-recovery messages for its addresses. Where email-based recovery alone is enough to take over an account at a Resource Authorization Server, an attacker who controls the domain's DNS gains little from this Trust Method that it did not already have. [I-D.hardt-email-verification] makes the same observation about its own DNS delegation. Where accounts are protected by stronger recovery (for example, phishing-resistant authenticators or administrator-approved recovery), DNS control is not equivalent to account takeover. For such accounts, this Trust Method makes DNS control a direct route to asserting identities in the namespace.

9.2. Transport Integrity

HTTPS retrieval integrity rests on TLS server authentication of the policy host; the inline DNS form rests on DNS resolution alone; the pointer form rests on both. Subject Authorities concerned about TLS misissuance are encouraged to publish CAA records [RFC8659] for the policy-hosting domain and to monitor Certificate Transparency logs.

9.3. HTTPS-Only Authority Trust Model

The HTTPS-only lookup mode (Section 8.2) substitutes TLS-server authentication for DNS-published authority. The threat surfaces differ from the canonical DNS-first lookup of domain_authorized_issuer:

  • DNS-record attacks (Section 9.4) can create or remove the opt-in, or publish a key= that makes retrieval fail (Indeterminate), but cannot choose the policy or its host: the opt-in record's uri= is the default URL, and its issuer= values are not used.

  • A domain that lets untrusted users claim subdomains could lose the dedicated host name to an attacker ([RFC8461] Section 10.3). Only a record whose uri= is the default URL opts in, so a domain that publishes only an inline record, or a pointer to another host, is not exposed; a domain that opts in has set up the dedicated host itself (Section 4.2).

  • Resolution of the dedicated host still uses DNS. A DNS redirect of that host combined with TLS misissuance substitutes the policy; CAA records and Certificate Transparency monitoring are the primary defenses (Section 9.2).

  • The policy is served from the Subject Authority's dedicated host, so the risk is that of whoever operates that host (Section 9.5), unless a key= directive pins the policy's signing key.

  • Because the dedicated host is a separate name, a Subject Authority whose apex is hosted on a marketing site or CDN it does not control can still participate, by provisioning or delegating that name.

The trade-off between the two lookup modes is discussed in Appendix A.4.

9.4. DNS Integrity and Compromise

An adversary who can substitute a forged DNS response can substitute the Subject Authority's policy. Such responses come from off-path resolver spoofing, authoritative nameserver hijack, registrar account compromise, BGP hijack, or recursive cache poisoning. The adversary can:

  • add an attacker-controlled Assertion Issuer to the inline form;

  • redirect a uri= pointer; or

  • force indeterminate outcomes to benefit a cached attacker-friendly policy.

The pointer form additionally depends on TLS authentication of the pointed-at host: TLS does not mitigate the DNS compromise that selected that host.

Absent DNSSEC or an authenticated resolver path, the inline DNS form's integrity is no stronger than the recursive resolver path between consumer and authoritative server. Deployments needing a stronger guarantee SHOULD sign the zone with DNSSEC or use the pointer form with the controls of [TRUST-FRAMEWORK] §Shared Infrastructure and Hosted Well-Known Paths. The inline form's "common case" simplicity (Section 4.1) is an operability tradeoff, not an integrity guarantee.

Required framework defenses:

  • Consumers MUST discard records whose authority= does not match the queried Subject Authority. This is the wildcard mitigation: a permissive parent-zone wildcard cannot authorize subdomains because consumers reject records lacking the matching authority= directive.

  • Consumers MUST verify TLS for any host named by uri=.

  • Consumers MUST bound cache lifetimes (Section 7). A spoofed answer that was not DNSSEC-validated stays fresh for at most 1 hour, and can be served for at most 1 more hour while the live channel is Indeterminate.

  • Consumers performing DNSSEC validation MUST treat validation failure as indeterminate, not negative-authoritative, so that a stripped or broken signature produces a retryable failure rather than a cacheable Negative.

  • Subject Authorities SHOULD sign _oauth-issuer-policy.{A} with DNSSEC, and consumers that do not validate DNSSEC SHOULD use a trustworthy resolver path (DNS over HTTPS or DNS over TLS to a vetted resolver).

Forged negative answers: a negative-authoritative DNS result is Negative (Section 5). When domain_authorized_issuer is the only subject_namespace_authorization method the Trust Policy lists, an attacker who spoofs a negative answer can deny service for the namespace but cannot substitute a policy. Because Negative caching is capped (Section 7), the denial ends soon after the spoofing does.

When the Trust Policy also lists another namespace method, a Negative lets that method supply evidence ([TRUST-FRAMEWORK] §Multiple Authority Sources Within a Category). A spoofed negative answer can then suppress a published policy that does not authorize the issuer and let the other method authorize it. In that configuration a consumer protects the Subject Authority's denial only if it authenticates the absence, for example by validating DNSSEC. Signing the zone does not help a consumer that accepts unvalidated negative answers. The cache cap limits reuse of one forged answer, not an attacker who keeps forging fresh ones.

Operational defenses Subject Authorities are encouraged to apply: registrar account lock; monitoring of the record set and policy document for unexpected changes; cross-region/cross-resolver checks to detect localized substitution; avoiding wildcard TXT records in zones participating in this mechanism.

9.5. Policy Hosts

The DNS pointer form lets the Subject Authority move rich policy from DNS into an HTTPS document. In this version, the pointed-to host is expected to be under the Subject Authority's operational control. General shared-infrastructure risks (multi-tenant CDNs, cache rules, dangling origins) are covered in [TRUST-FRAMEWORK] §Shared Infrastructure and Hosted Well-Known Paths. DAI-specific points:

  • The pointer target is trusted fully for the policy contents and is appropriate only when the host is operated for, or otherwise controlled by, the Subject Authority.

  • Both the DNS-side authority= directive and the JSON-side subject_authority member MUST match the queried Subject Authority. Each binding is published through a different control path; one missing check would let a compromise of either party claim arbitrary namespaces.

  • The uri= pointer is a long-lived trust delegation. Subject Authorities SHOULD reduce DNS TTLs in advance of any planned change of policy host.

  • A Subject Authority whose policy host is shared infrastructure, or is operated by a provider, can publish a key= thumbprint (Section 4.3) so that the host cannot alter the policy, provided the Subject Authority, not the host, holds the signing key. The host can still withhold the policy, and can replay an older signed policy whose exp has not passed to a consumer that holds no cached copy, since the iat check of Section 3.1 needs one. A short exp bounds that replay; removing a hostile host takes a key= rotation or a new uri=.

A Subject Authority that hosts its Issuer Authorization Policy on shared infrastructure it does not control end to end SHOULD publish signed_policy with a signing key held outside that infrastructure and resolvable through a channel independent of it, such as a key= thumbprint (Section 3.1).

Publisher-side criticality does not defend against stripping by an on-path or edge attacker. The crit member is itself carried in the unsigned document, so an attacker who can strip signed_policy can strip crit with it. A signature is effective against such an attacker only if consumers require it, through local configuration or a key= directive. Such consumers take crit from the signed JWT (Section 3.1), so the attacker cannot remove a critical requirement either.

A consumer configured to require signed_policy for a Subject Authority:

  • MUST verify signed_policy before acting on that Subject Authority's policy;

  • MUST reject a policy whose signature is missing or invalid; and

  • MUST NOT treat a valid TLS connection to a shared edge as sufficient by itself.

9.6. Policy Conflicts and Determinism

The lookup procedure (Section 5) is deterministic across the common conflict scenarios that arise when multiple records or sources coexist. Determinism is a security property: two verifiers receiving the same DNS and HTTPS responses, using the same Public Suffix List snapshot ([TRUST-FRAMEWORK] §Public Suffix List Versioning), and within the limits of Section 4.5, reach the same conclusion about what (if any) policy applies. An attacker with partial control of one publication channel cannot exploit interpretive ambiguity at the consumer.

Common conflict scenarios and their deterministic dispositions are specified in Section 5.1.

9.7. Mechanism Limits

  • Authentication. The inline DNS form has no signing mechanism; its authority binding is DNS control. The pointer form relies on DNS selection plus TLS to the selected policy host.

  • Scope. A Resource Authorization Server MUST NOT use a matched Issuer Authorization Policy to establish trust for subjects outside that Subject Authority's namespace.

  • Inline-form features. The inline DNS form expresses only "issuer X is authorized for Subject Authority A." Deployments needing tenant, subject_identifier_formats, valid_from, valid_until, or explicit denial (an empty authorized_issuers array, Section 3) MUST use the pointer form. A recognized inline record with no issuer= is malformed, so the inline form cannot publish an empty delegation set. An inline record that names a shared multi-tenant issuer authorizes none of its tenants under a grant profile that carries tenant (Section 9.9).

9.8. Email Local-Part Is Not Authenticated

domain_authorized_issuer evaluates only the email's registrable domain. The local-part is unauthenticated by this Trust Method: it attests that the Assertion Issuer may assert about emails in the namespace, not that any specific local-part is correct. Resource Authorization Servers that normalize local-parts (case folding, plus-address stripping, alias collapsing) inherit those assumptions from the Assertion Issuer; an attacker controlling an issuer-accepted alias can land on a different normalized user. Either disable local-part normalization or verify the local-part through a mechanism outside this document. See also [TRUST-FRAMEWORK] §Scope of Namespace Authorization.

9.9. Single-Issuer Multi-Tenant Identity Providers

The shared-issuer case and its tenant binding are demonstrated in the Shared Issuer Variant of the End-to-End Example. The following security points apply:

  • Shared issuers are authorized per tenant. Under a grant profile that carries tenant, an entry without tenant matches only assertions that carry no tenant claim (Section 6). Under such a profile, listing a shared issuer without tenant, including in the inline DNS form, authorizes none of its tenants. Instead, a Subject Authority authorizes a tenant by listing the (issuer, tenant) pair. This relies on the Identity Provider sending the tenant claim whenever it is multi-tenant, which [TRUST-FRAMEWORK] §ID-JAG requires of every shared issuer. A shared issuer that omits the claim anyway would again match an entry without tenant, so Subject Authorities SHOULD list a shared issuer only with tenant.

  • Tenant-isolation dependency. The tenant binding is a wire-format expression of trust, not a cryptographic guarantee. The Resource Authorization Server verifies match against the Subject Authority's chosen tenant value, but cannot verify the Identity Provider's tenant-isolation implementation. A tenant-isolation defect (cross-tenant minting bug, misconfigured admin operation) defeats the wire-format check. Subject Authorities SHOULD prefer per-tenant issuer identifiers where offered and treat shared-issuer listings as long-lived delegations requiring due diligence on the Identity Provider's tenant-isolation guarantees.

  • Grant profiles without a tenant claim. Under a grant profile that carries no tenant claim, only entries that omit tenant can match, so tenant-scoped authorization is not expressible. The generic JWT-bearer grant ([TRUST-FRAMEWORK] §Generic JWT-Bearer Assertion Grant) is such a profile. Any tenant claim in an assertion under such a profile is ignored for matching, because the grant profile does not attest it. So an entry without tenant for a shared issuer matches assertions from every one of its tenants, and the default above does not help here. A Subject Authority relying on a shared multi-tenant Assertion Issuer SHOULD NOT authorize that issuer for such a grant unless per-tenant issuer identifiers are used.

9.10. Denial of Service, Amplification, and SSRF

The domain_authorized_issuer lookup can be triggered before the Assertion Issuer is known to be trustworthy: the assertion signature validates against the issuer's own key, which an attacker operating their own authorization server controls. An attacker can therefore drive lookups at will, creating three risks:

  • Reflection/amplification and cache exhaustion. A flood of assertions carrying distinct Subject Authorities (email: x@{random}.example) makes the Resource Authorization Server issue a live DNS query per distinct authority (and an HTTPS fetch when the record names a uri= target). The flood turns the Resource Authorization Server into a request amplifier aimed at third-party DNS/HTTPS infrastructure and fills its own cache with distinct-authority entries. Consumers MUST bound lookup work: enforce per-Subject-Authority and global rate limits and bound concurrent outstanding lookups. Consumers SHOULD cache Negative outcomes, and MAY cache Indeterminate outcomes, per Section 7. Consumers MAY impose a maximum number of distinct-authority lookups per unit time, shedding load by treating excess as Indeterminate (fail-closed).

  • Server-Side Request Forgery. Every HTTPS policy fetch resolves a host the attacker may control: the uri= target named by a Subject Authority under the attacker's control, or the dedicated host under the HTTPS-only mode. For the dedicated host, the attacker presents an assertion whose namespace is a domain it owns, then points the host's A/AAAA records at an internal address. The fetch occurs regardless of whether the body validates, enabling blind internal probing through timing and error differentials. Every such fetch follows [TRUST-FRAMEWORK] §Outbound Fetches, which forbids connecting to addresses that are not globally routable and requires timeouts and size bounds. Because redirects are not followed (Section 4.4), the target is always the host the lookup named.

  • Cost asymmetry. A single small assertion can cause a full DNS+HTTPS round trip. Consumers SHOULD prefer cached results and SHOULD NOT perform a live lookup until the client is authenticated and the assertion has passed the cheaper grant-profile validation checks (signature, audience, expiry; [TRUST-FRAMEWORK] §Resource Authorization Server Processing).

10. Privacy Considerations

The lookup is verifier-side and per-verification, so it leaks metadata in two directions, and the policy itself is public:

11. Operational Considerations

Publishing a DAI record makes DNS/HTTPS control a real-time input to sign-in authorization: a lapse in the record or its host can stop legitimate assertions from being accepted, and an unauthorized change can authorize an attacker. Subject Authorities SHOULD operate the record and any policy host with the same rigor as other sign-in-path infrastructure. Specific guidance:

12. IANA Considerations

12.1. Well-Known URI for Issuer Authorization Policy

Registers the following well-known URI in the IANA "Well-Known URIs" registry [RFC8615], for use by this document:

URI Suffix:

oauth-issuer-policy

Change Controller:

IETF

Specification Document:

This document

Status:

permanent

Related Information:

None

The suffix names the document rather than the consuming framework; see Appendix A.2.

12.2. Underscored DNS Node Name

Registers the following entry in the IANA "Underscored and Globally Scoped DNS Node Names" registry per [RFC8552] and [RFC8553], for use by this document:

RR Type:

TXT

_NODE NAME:

_oauth-issuer-policy

Reference:

This document, Section 4.3

12.3. Trust Method Registrations

This document registers the following entry in the Identity Assertion Issuer Trust Methods registry ([TRUST-FRAMEWORK] §Identity Assertion Issuer Trust Methods Registry):

Identifier:

domain_authorized_issuer

Categories:

subject_namespace_authorization

Parameters:

lookup (string, OPTIONAL; the value https_only selects the HTTPS-only lookup mode, Section 8.2)

Change Controller:

IETF

Reference:

This document

12.4. Issuer Authorization Policy Directives Registry

IANA is requested to establish a new registry titled "OAuth Issuer Authorization Policy DNS Directives" under the "OAuth Parameters" registry group, for the name=value directives carried in the DNS TXT record (Section 4.3).

Registration policy: Specification Required [RFC8126].

Each entry contains a Directive Name (character set [a-z0-9_-]), a Description, a Change Controller, and a Reference.

Designated Expert instructions: the expert verifies that:

  • the directive name is unique;

  • its value syntax is specified within the ABNF value production of Section 4.3 (ASCII, no ;, no whitespace); and

  • its multiplicity and duplicate-handling rules are stated.

A directive that narrows what a record authorizes, so that a consumer ignoring it would accept more than the Subject Authority intended, MUST NOT be registered unless its specification also defines a new version token (Section 4.3). This way, consumers that do not implement the directive ignore the record rather than the directive.

Initial entries:

Table 5
Directive Name Description Change Controller Reference
v Version token; appears first IETF This document
authority Subject Authority this record binds (A-label) IETF This document
uri HTTPS URL of an Issuer Authorization Policy document IETF This document
key Thumbprint of the signed_policy signing key (pointer records only) IETF This document
issuer An authorized Assertion Issuer identifier IETF This document

12.5. Issuer Authorization Policy Members Registry

IANA is requested to establish a new registry titled "OAuth Issuer Authorization Policy Members" under the "OAuth Parameters" registry group, for the JSON members of the Issuer Authorization Policy document (Section 3).

Registration policy: Specification Required [RFC8126].

Each entry contains a Member Name, a Description, whether the member is decision-affecting, a Change Controller, and a Reference.

Designated Expert instructions: the expert verifies that:

  • the member name does not collide with an existing member;

  • its JSON type and semantics are specified;

  • the registration states whether the member is decision-affecting ([TRUST-FRAMEWORK] §Terminology); and

  • any decision-affecting member states how a consumer that does not recognize it behaves.

The default is to ignore unrecognized members. A member requiring fail-closed handling uses the crit mechanism of [TRUST-FRAMEWORK] §Critical Members.

A member that narrows what a policy authorizes, so that a consumer ignoring it would accept more than the Subject Authority intended, MUST NOT be registered unless publishers can list it, or a top-level member its specification defines alongside it, in crit. The crit member does not reach members of authorized_issuers entries.

Initial entries; all are decision-affecting except last_updated and signed_policy:

Table 6
Member Name Description Change Controller Reference
subject_authority Subject Authority this policy applies to IETF This document
authorized_issuers Array of authorized issuer objects IETF This document
issuer Authorized Assertion Issuer identifier (within an entry) IETF This document
tenant Issuer-side tenant identifier (within an entry) IETF This document
subject_identifier_formats Permitted Subject Identifier formats (within an entry) IETF This document
valid_from Delegation start time (within an entry) IETF This document
valid_until Delegation end time (within an entry) IETF This document
last_updated Policy publication time IETF This document
signed_policy Signed JWT of the policy members IETF This document
crit Names decision-affecting members that a consumer has to understand to process the document IETF This document; [TRUST-FRAMEWORK] §Critical Members

12.6. Media Type Registration

IANA is requested to register the following media type in the "Media Types" registry for the signed Issuer Authorization Policy (Section 3.1). Following [RFC8725] §3.11, the JWT typ header value is the media subtype with the application/ prefix omitted (issuer-authorization-policy+jwt), as required in Section 3.1.

Type name:

application

Subtype name:

issuer-authorization-policy+jwt

Required parameters:

N/A

Optional parameters:

N/A

Encoding considerations:

8bit; the value is a JWT in JWS Compact Serialization, a sequence of base64url-encoded values separated by periods ([RFC7519] Section 10.3.1).

Security considerations:

See Section 3.1 and Section 9 of this document.

Interoperability considerations:

N/A

Published specification:

This document (Section 3.1)

Applications that use this media type:

Subject Authorities that sign Issuer Authorization Policies, and Resource Authorization Servers that verify them

Fragment identifier considerations:

N/A

Additional information:

Deprecated alias names for this type: N/A; Magic number(s): N/A; File extension(s): N/A; Macintosh file type code(s): N/A

Person and email address to contact for further information:

Karl McGuinness, public@karlmcguinness.com

Intended usage:

COMMON

Restrictions on usage:

none

Author:

Karl McGuinness

Change controller:

IETF

13. References

13.1. Normative References

[ID-JAG]
"Identity Assertion JWT Authorization Grant", <https://datatracker.ietf.org/doc/draft-ietf-oauth-identity-assertion-authz-grant/>.
[RFC1035]
Mockapetris, P., "Domain names - implementation and specification", STD 13, RFC 1035, DOI 10.17487/RFC1035, , <https://www.rfc-editor.org/rfc/rfc1035>.
[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/rfc/rfc2119>.
[RFC3339]
Klyne, G. and C. Newman, "Date and Time on the Internet: Timestamps", RFC 3339, DOI 10.17487/RFC3339, , <https://www.rfc-editor.org/rfc/rfc3339>.
[RFC5234]
Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax Specifications: ABNF", STD 68, RFC 5234, DOI 10.17487/RFC5234, , <https://www.rfc-editor.org/rfc/rfc5234>.
[RFC5891]
Klensin, J., "Internationalized Domain Names in Applications (IDNA): Protocol", RFC 5891, DOI 10.17487/RFC5891, , <https://www.rfc-editor.org/rfc/rfc5891>.
[RFC7405]
Kyzivat, P., "Case-Sensitive String Support in ABNF", STD 68, RFC 7405, DOI 10.17487/RFC7405, , <https://www.rfc-editor.org/rfc/rfc7405>.
[RFC7515]
Jones, M., Bradley, J., and N. Sakimura, "JSON Web Signature (JWS)", RFC 7515, DOI 10.17487/RFC7515, , <https://www.rfc-editor.org/rfc/rfc7515>.
[RFC7519]
Jones, M., Bradley, J., and N. Sakimura, "JSON Web Token (JWT)", RFC 7519, DOI 10.17487/RFC7519, , <https://www.rfc-editor.org/rfc/rfc7519>.
[RFC7638]
Jones, M. and N. Sakimura, "JSON Web Key (JWK) Thumbprint", RFC 7638, DOI 10.17487/RFC7638, , <https://www.rfc-editor.org/rfc/rfc7638>.
[RFC8126]
Cotton, M., Leiba, B., and T. Narten, "Guidelines for Writing an IANA Considerations Section in RFCs", BCP 26, RFC 8126, DOI 10.17487/RFC8126, , <https://www.rfc-editor.org/rfc/rfc8126>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/rfc/rfc8174>.
[RFC8414]
Jones, M., Sakimura, N., and J. Bradley, "OAuth 2.0 Authorization Server Metadata", RFC 8414, DOI 10.17487/RFC8414, , <https://www.rfc-editor.org/rfc/rfc8414>.
[RFC8552]
Crocker, D., "Scoped Interpretation of DNS Resource Records through "Underscored" Naming of Attribute Leaves", BCP 222, RFC 8552, DOI 10.17487/RFC8552, , <https://www.rfc-editor.org/rfc/rfc8552>.
[RFC8553]
Crocker, D., "DNS Attrleaf Changes: Fixing Specifications That Use Underscored Node Names", BCP 222, RFC 8553, DOI 10.17487/RFC8553, , <https://www.rfc-editor.org/rfc/rfc8553>.
[RFC8615]
Nottingham, M., "Well-Known Uniform Resource Identifiers (URIs)", RFC 8615, DOI 10.17487/RFC8615, , <https://www.rfc-editor.org/rfc/rfc8615>.
[RFC8725]
Sheffer, Y., Hardt, D., and M. Jones, "JSON Web Token Best Current Practices", BCP 225, RFC 8725, DOI 10.17487/RFC8725, , <https://www.rfc-editor.org/rfc/rfc8725>.
[RFC9111]
Fielding, R., Ed., Nottingham, M., Ed., and J. Reschke, Ed., "HTTP Caching", STD 98, RFC 9111, DOI 10.17487/RFC9111, , <https://www.rfc-editor.org/rfc/rfc9111>.
[RFC9493]
Backman, A., Ed., Scurtescu, M., and P. Jain, "Subject Identifiers for Security Event Tokens", RFC 9493, DOI 10.17487/RFC9493, , <https://www.rfc-editor.org/rfc/rfc9493>.
[TRUST-FRAMEWORK]
"OAuth Identity Assertion Trust Framework", <https://datatracker.ietf.org/doc/draft-mcguinness-oauth-id-assertion-framework/>.

13.2. Informative References

[EDUGAIN]
GEANT, "What is eduGAIN", <https://edugain.org/about-edugain/what-is-edugain/>.
[FASTFED]
OpenID Foundation, "FastFed Core 1.0", <https://openid.net/specs/fastfed-core-1_0.html>.
[I-D.hardt-email-verification]
"Email Verification Protocol", <https://datatracker.ietf.org/doc/draft-hardt-email-verification/>.
[I-D.sanz-openid-dns-discovery]
Bertola, V. and M. Sanz, "OpenID Connect DNS-based Discovery", , <https://datatracker.ietf.org/doc/draft-sanz-openid-dns-discovery/>.
[OIDC-DISCOVERY]
"OpenID Connect Discovery 1.0", n.d., <https://openid.net/specs/openid-connect-discovery-1_0.html>.
[OIDF-WKB]
Hardt, D., "OpenID Federation Well-Known Binding 1.0", , <https://dickhardt.github.io/well-known-binding/main.html>.
[RFC2308]
Andrews, M., "Negative Caching of DNS Queries (DNS NCACHE)", RFC 2308, DOI 10.17487/RFC2308, , <https://www.rfc-editor.org/rfc/rfc2308>.
[RFC7033]
Jones, P., Salgueiro, G., Jones, M., and J. Smarr, "WebFinger", RFC 7033, DOI 10.17487/RFC7033, , <https://www.rfc-editor.org/rfc/rfc7033>.
[RFC7523]
Jones, M., Campbell, B., and C. Mortimore, "JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants", RFC 7523, DOI 10.17487/RFC7523, , <https://www.rfc-editor.org/rfc/rfc7523>.
[RFC8461]
Margolis, D., Risher, M., Ramakrishnan, B., Brotman, A., and J. Jones, "SMTP MTA Strict Transport Security (MTA-STS)", RFC 8461, DOI 10.17487/RFC8461, , <https://www.rfc-editor.org/rfc/rfc8461>.
[RFC8659]
Hallam-Baker, P., Stradling, R., and J. Hoffman-Andrews, "DNS Certification Authority Authorization (CAA) Resource Record", RFC 8659, DOI 10.17487/RFC8659, , <https://www.rfc-editor.org/rfc/rfc8659>.
[RFC8785]
Rundgren, A., Jordan, B., and S. Erdtman, "JSON Canonicalization Scheme (JCS)", RFC 8785, DOI 10.17487/RFC8785, , <https://www.rfc-editor.org/rfc/rfc8785>.
[RFC9728]
Jones, M.B., Hunt, P., and A. Parecki, "OAuth 2.0 Protected Resource Metadata", RFC 9728, DOI 10.17487/RFC9728, , <https://www.rfc-editor.org/rfc/rfc9728>.
[RFC9989]
Herr, T., Ed. and J. Levine, Ed., "Domain-Based Message Authentication, Reporting, and Conformance (DMARC)", RFC 9989, DOI 10.17487/RFC9989, , <https://www.rfc-editor.org/rfc/rfc9989>.
[RFC9990]
Brotman, A., Ed., "Domain-Based Message Authentication, Reporting, and Conformance (DMARC) Aggregate Reporting", RFC 9990, DOI 10.17487/RFC9990, , <https://www.rfc-editor.org/rfc/rfc9990>.
[SHIBMD]
Shibboleth Consortium, "ShibMetaExt V1.0", <https://shibboleth.atlassian.net/wiki/spaces/SC/pages/1843887946/ShibMetaExt+V1.0>.

Appendix A. Design Rationale

This appendix is non-normative.

A.1. Following Existing DNS Authority Patterns

The Domain-Authorized Issuer Trust Method applies the same authority-publication pattern that domain owners already use for CAA [RFC8659], MTA-STS [RFC8461], SPF, DKIM, DMARC, and the Email Verification Protocol [I-D.hardt-email-verification]. [TRUST-FRAMEWORK] §Authority Delegation Model covers the abstract pattern; this document chooses DNS at _oauth-issuer-policy.{domain} as the authoritative publication channel. The name=value record syntax is closest to DMARC's, and DMARC's operational experience with the organizational-domain boundary informs the Subject Authority Determination approach in [TRUST-FRAMEWORK] §Subject Authority Determination. DMARC itself has since replaced its use of the Public Suffix List with a DNS tree walk ([RFC9989]); see the Public Suffix List discussion there.

Unlike CAA (deployment-time), SPF/DKIM (spam-score signal), and MTA-STS (inbound mail), the _oauth-issuer-policy record is consumed during user sign-in; the operational consequences of that are covered normatively in Section 11.

Relationship to issuer discovery. WebFinger [RFC7033] and OpenID Connect Discovery answer a different question: given a user identifier, where does a client go to authenticate the user? This Trust Method is verifier-side and authorization-oriented: given an assertion already in hand, is its issuer authorized for the subject's namespace? DAI is published per namespace (not per user), over a DNS channel whose control establishes the authority binding. It also carries authorization semantics (validity windows, tenant binding, format restrictions) that a discovery record does not.

An earlier proposal, [I-D.sanz-openid-dns-discovery], published a domain's OpenID issuer in a DNS TXT record of similar shape, also for discovery. A deployment could layer client-side discovery on top (see Appendix B.6), but that is out of scope here.

Relationship to federation-scoped and bilateral mechanisms. SAML federations such as InCommon constrain the namespaces an Identity Provider may assert with the scope metadata extension [SHIBMD]. Interfederation services such as eduGAIN [EDUGAIN] carry that metadata between federations. There, scope is attested by the federation operator and distributed in trusted federation metadata. DAI's authorization is instead published by the namespace owner, where any verifier can retrieve it.

Software-as-a-service providers commonly have a customer prove control of its domain with a one-time DNS challenge and then configure the customer's Identity Provider. FastFed [FASTFED] automates establishing and maintaining such a federation relationship between an Identity Provider and an application provider, with administrator approval on both sides. Both are bilateral configuration, held by the parties to one relationship, not an authorization that any verifier can retrieve.

Relationship to the Email Verification Protocol. EVP [I-D.hardt-email-verification] also publishes, in DNS, the issuer for an email domain. Its relying party also checks that record at verification time. The relying party resolves _email-verification.{domain} itself and rejects a token whose iss does not match. The two records differ in role and in scope.

In role, EVP names the issuer that verifies control of an email address, while DAI names the issuers authorized to assert identities in a namespace. A domain that uses one provider for mail and another for single sign-on can rightly give different answers to the two questions.

In scope, EVP allows exactly one issuer, identified by an HTTPS origin with no path, for the raw email domain and for EVP tokens only. DAI, in contrast:

  • allows several issuers with full issuer identifiers (including path components);

  • binds them to tenants;

  • carries authorization constraints; and

  • normalizes to the registrable domain.

Convergence with EVP on a shared record or node name is possible future work. Appendix B.5 sketches a bridge.

A.2. Why a Generic Record Name

The DNS node name, well-known URI suffix, and version token name the document they locate (the Issuer Authorization Policy), not the identity framework consuming it. The wire format is subject-class-agnostic: no member or directive is specific to email or identity assertions. The subject class is expressed through subject_identifier_formats ([RFC9493]). The identity-specific machinery lives in [TRUST-FRAMEWORK], whose own well-known URI is identity-scoped for that reason.

A future Subject Identifier format with a DNS-publishable Subject Authority reuses domain_authorized_issuer and this same record ([TRUST-FRAMEWORK] §Future Extensions). An identity-scoped name would force a second record at a second DNS name. One per-domain policy surface, extended through registered members rather than new names, follows the oauth-authorization-server metadata precedent.

A.3. Why First-Class Tenant Binding

Shared-issuer multi-tenant Identity Providers (Google Workspace, Auth0 in some configurations, Microsoft Entra B2B in some flows) serve many customer tenants under a single issuer URL. The deployment reality is that these Identity Providers are common; authorizing them without tenant binding effectively authorizes every tenant of the Identity Provider for the namespace, which is almost never the intent. An entry without tenant therefore matches only assertions that carry no tenant claim.

The tenant member on authorized_issuers[] entries binds authorization to the specific tenant identifier the Identity Provider populates in the top-level tenant claim ([ID-JAG] §3.1, §6.1). The binding makes the Subject Authority's choice of authorized tenant observable on the wire and verifiable per assertion. It does not eliminate the trust assumption on the Identity Provider's tenant-isolation enforcement; it makes the assumption explicit and auditable. See Section 9.9.

A generic claim-matching mechanism (matching arbitrary JWT claims against publisher-specified values) was considered as an alternative. First-class tenant was preferred because the claim name is standardized in [ID-JAG], the deployment intent is unambiguous, and the wire-format expression is simpler than a generic claim-matching object.

A.4. Choosing Between DNS-Published and HTTPS-Only Authority

Canonical DNS-first lookup and HTTPS-only lookup are not strictly ordered by security strength; they trade different risks. HTTPS-only lookup is resilient to substitution of the TXT record's issuers or policy location but depends on resolution of the dedicated host plus the public CA trust system; a DNS redirect combined with TLS misissuance defeats it. domain_authorized_issuer in the inline form is resilient to TLS misissuance because the authority artifact is the TXT record itself; an attacker needs DNS-write or DNSSEC-bypass capability. The DNS pointer form inherits TLS-misissuance risk on the pointed-at host while also depending on DNS for selection.

A Subject Authority with strong DNSSEC and weak TLS-issuance controls favors the inline DNS form. A Subject Authority with strong CAA/CT monitoring that prefers to keep its issuer list out of DNS favors the dedicated host and HTTPS-only lookup.

A.5. Why a DNS Opt-In and a Dedicated Policy Host

Fetching a well-known URL on the Subject Authority's apex whenever DNS reports no record would make every domain DAI-covered unless it opted out. An attacker who could serve content on a domain's apex could publish a policy for a domain that never adopted DAI, with no DNS forgery at all. That ability can come from:

  • a dangling address record;

  • a site builder that lets customers place files at arbitrary paths; or

  • a takeover of a host the apex redirects to.

This document follows MTA-STS [RFC8461] instead. The TXT record is the opt-in in both lookup modes, and for the HTTPS-only lookup mode its uri= names the dedicated host's default URL; a policy for that mode lives on the dedicated host; and redirects are not followed. A host name alone would not be an opt-in, since domains that let users claim subdomains could lose it ([RFC8461] Section 10.3). The cost is that a Subject Authority with no control of its DNS cannot participate. The full JSON policy remains available to every Subject Authority through the uri= pointer.

Appendix B. Future Extensions

This appendix is non-normative. It sketches features intentionally deferred from this document; future specifications may register them.

B.1. Federation-Bound Issuer Authorization Policy

For deployments where a Subject Authority is a federation Entity, a future extension could authenticate the Issuer Authorization Policy on the dedicated policy host. It would do so through a digest in the Entity Configuration of the Entity that serves the policy, using a mechanism such as the proposed Well-Known Binding specification [OIDF-WKB]. The Subject Authority would still author and publish the policy under {A}. Federation would add integrity protection, not transfer namespace authority to a trust anchor. The added protection depends on federation enrollment and key control being independent of the domain publication channel.

Such an extension would need to define all of the following:

  • Coverage of the HTTPS-only lookup mode. Inline DNS TXT policies would not be covered; a uri= pointer would be covered only if it names the default URL.

  • An exact mapping from Subject Authority {A} to Entity Identifier https://oauth-issuer-policy.{A}, the dedicated host, without a path or explicit port. A binding keyed to an Entity's own well-known URIs ([OIDF-WKB]) covers documents only on the Entity Identifier's host, and the fixed label keeps any other subdomain Entity from speaking for the registrable domain. [OIDF-WKB] requires such a mapping from any protocol whose peer identifier is not an https URL.

  • A separate trust-anchor parameter on domain_authorized_issuer, independent of any openid_federation.trust_anchors configuration for the issuer-authentication category.

  • Indeterminate outcomes for a missing binding, digest mismatch, or trust-chain failure, with no fallback to an unbound policy.

  • A cache lifetime bounded by the minimum of this document's caching limits, the Entity Configuration's exp, and the trust chain's expiry.

  • Revocation handling: overlapping old and new digests lets an origin attacker replay a policy that still authorizes a revoked issuer. Emergency revocations should omit that overlap, as [OIDF-WKB] specifies for any replacement that is a revocation, while accounting for residual exposure from cached Entity Configurations.

This document does not define that extension or change DAI's lookup, authority binding, or integrity mechanisms to depend on federation.

B.2. Critical Directives for the DNS Record Form

The JSON document carries a crit member (Section 3). An extension that adds a decision-affecting top-level member to the Issuer Authorization Policy can therefore mark it critical and have already-deployed consumers honor it. The crit member does not reach members of authorized_issuers entries. An extension that narrows entries (for example, a permitted_audiences member) therefore also defines a top-level member for publishers to list in crit (Section 12.5).

The DNS record form has no analogous per-directive criticality mechanism today. Its version token (Section 4.3) prevents misinterpretation of incompatible future syntax by making unrecognized versions ignored. As a result, a Subject Authority that publishes only an unrecognized version is Negative to an older consumer. A future extension that needs true per-directive fail-closed semantics in the DNS form would define a crit= directive and its recognition rules at that time.

B.3. Evaluation Reports

A Subject Authority learns which assertions Resource Authorization Servers reject for its namespace only out of band (Section 6.1). A future extension can define an aggregate reporting mechanism, analogous to DMARC aggregate reports [RFC9990]: a policy member naming a reporting endpoint, a report format (observed issuers, match and mismatch counts, time window), and delivery requirements. It is deferred because report formats and transport carry privacy and abuse considerations (a reporting endpoint learns which Resource Authorization Servers a namespace's users sign in to, concentrating the metadata discussed in Section 10) that deserve their own document.

B.4. Audience-Scoped Delegations

An authorized_issuers entry authorizes an issuer for a namespace without constraining which Resource Authorization Servers may accept the resulting assertions. A compromised-but-listed issuer can assert the namespace's users to any consumer ([TRUST-FRAMEWORK] §Scope of Namespace Authorization). A future permitted_audiences member on entries would let a Subject Authority bound that blast radius by enumerating or pattern-matching acceptable audiences. It is deferred because audience identifiers are grant-profile-specific and an enumerable audience set does not exist for the open-world deployments this mechanism targets. A workable design likely needs audience patterns and an interaction rule with the assertion's aud claim.

B.5. Email Verification Protocol Bridge

The Email Verification Protocol [I-D.hardt-email-verification] defines a DNS TXT record at _email-verification.{domain} whose iss= value names an authorized issuer for the namespace. The record carries a bare hostname; the issuer identifier derived from it is an HTTPS origin with no path, not a full HTTPS issuer identifier. A future Trust Method (provisionally email_verification_dns) could let a Resource Authorization Server honor those records without requiring the Subject Authority to also publish an _oauth-issuer-policy record.

The bridge is deferred because it forces the reader to learn:

  • a second record format;

  • a different issuer-identifier shape (bare-origin only, no path component); and

  • a different email-domain semantics: the Email Verification Protocol parses the email's raw domain part, whereas this document normalizes to the registrable domain via the Public Suffix List.

It is also deferred because [I-D.hardt-email-verification] is progressing on its own timeline independent of this document. Deployments wanting the bridge can either publish both records or wait for the future Trust Method specification. Publishing both means an _oauth-issuer-policy record satisfying domain_authorized_issuer, plus the deployment's existing _email-verification record for other consumers.

B.6. Assertion Issuer Discovery (Client-Side)

The same DAI records that let a Resource Authorization Server verify an assertion can also let a client discover which Assertion Issuer is authoritative for a subject identifier's namespace before any assertion exists. Given alice@acme.example, a client can:

  • query _oauth-issuer-policy.acme.example;

  • retrieve the Issuer Authorization Policy; and

  • resolve an authorized issuer's authorization server metadata to find its token endpoint.

Entry order carries no semantics, so issuer selection would need to be specified by the profiling document.

This client-side use case is deferred from the first version of DAI for three reasons:

  • It adds a second mental model: back-channel discovery versus verification at token exchange.

  • It introduces privacy concerns distinct from verification. The discovery query reveals the queried Subject Authority to DNS resolvers and to the policy host before any user interaction.

  • It is not on the Resource Authorization Server implementer's critical path.

A future specification can profile the discovery flow with appropriate privacy guidance and integration with OAuth Authorization Server Metadata [RFC8414] and OpenID Connect Discovery [OIDC-DISCOVERY].

Appendix C. DNS-Based Domain-Authorized Issuer End-to-End Example

This appendix is non-normative.

This example walks through an end-to-end verification flow: the Subject Authority publishes a DAI record, an Assertion Issuer issues an identity assertion, and the Resource Authorization Server uses the record to verify that the issuer is authorized for the asserted namespace.

C.1. Cast

  • Subject Authority, acme.example. A small organization that owns its DNS but does not operate an authorization server capable of issuing identity assertions.

  • Assertion Issuer, https://idp.example.net. A managed authorization server service acme.example has contracted with.

  • Resource Authorization Server, https://api.resource.example.

  • Client, a backend SaaS integration.

  • End user, Alice (alice@acme.example).

C.2. Publication

The Subject Authority publishes a single DNS TXT record:

_oauth-issuer-policy.acme.example. IN TXT ( "v=oauth-issuer-policy1;"
    "authority=acme.example;"
    "issuer=https://idp.example.net" )

The quoted segments are concatenated without a separator, yielding one record whose directives are v=oauth-issuer-policy1, authority=acme.example, and issuer=https://idp.example.net. No HTTPS endpoint is operated on acme.example.

The Resource Authorization Server publishes a Trust Policy that lists domain_authorized_issuer with canonical lookup:

{
  "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": "domain_authorized_issuer"
    }
  ]
}

C.3. Issuance and Token Request

  1. The Client is configured, by a deployment-specific mechanism outside DAI, to use https://idp.example.net for Acme users. It authenticates Alice at that issuer and requests an ID-JAG with audience https://api.resource.example carrying Alice's email:

    {
      "iss": "https://idp.example.net",
      "aud": "https://api.resource.example",
      "exp": 1780166400,
      "iat": 1780166100,
      "jti": "5a17...",
      "sub": "user-9241ab",
      "email": "alice@acme.example",
      "email_verified": true
    }
    
  2. The Client posts to the Resource Authorization Server's token endpoint with private_key_jwt client authentication:

    POST /token HTTP/1.1
    Host: api.resource.example
    Content-Type: application/x-www-form-urlencoded
    
    grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer
    &assertion=eyJhbGciOiJSUzI1NiIs...
    &client_assertion_type=
    urn:ietf:params:oauth:client-assertion-type:jwt-bearer
    &client_assertion=eyJhbGciOiJFUzI1NiIs...
    

    Line breaks in the request body are for display only.

C.4. Verification (Resource Authorization Server Side)

  1. The Resource Authorization Server validates private_key_jwt client authentication, then the ID-JAG: signature (via https://idp.example.net/.well-known/openid-configuration JWKS), aud, exp, iat, replay protection.

  2. The Resource Authorization Server evaluates the domain_authorized_issuer Trust Method.

    a. It extracts the Subject Authority from the top-level email claim (with email_verified=true): acme.example.

    b. Applying the canonical lookup procedure (Section 5), the Resource Authorization Server queries DNS TXT at _oauth-issuer-policy.acme.example and parses the record published earlier in this example.

    c. The authority=acme.example directive matches. No uri= is present. The Resource Authorization Server constructs a virtual policy for acme.example with one authorized_issuers entry for https://idp.example.net.

    d. The ID-JAG iss value https://idp.example.net matches the single entry's issuer value. Verification succeeds.

  3. The Resource Authorization Server issues an access token in the response body.

C.5. Migration Variant: Pointer Form

If acme.example later wants to express validity windows, format restrictions, or tenant binding, it can switch to the pointer form without changing any consumer behavior:

_oauth-issuer-policy.acme.example. IN TXT ( "v=oauth-issuer-policy1;"
    "authority=acme.example;"
    "uri=https://oauth-issuer-policy.acme.example"
    "/.well-known/oauth-issuer-policy" )

and publish the richer JSON document at that URL, the default URL on its dedicated policy host, which also serves Resource Authorization Servers that use the HTTPS-only lookup mode:

{
  "subject_authority": "acme.example",
  "authorized_issuers": [
    {
      "issuer": "https://idp.example.net",
      "subject_identifier_formats": ["email"],
      "valid_until": "2027-05-30T00:00:00Z"
    },
    {
      "issuer": "https://idp-backup.example.net",
      "subject_identifier_formats": ["email"]
    }
  ],
  "last_updated": "2026-05-29T00:00:00Z"
}

Resource Authorization Servers transparently follow the uri= directive and consume the JSON document. No verifier software changes are required.

C.6. Shared Issuer Variant: Multi-Tenant Identity Provider

The simple example above uses a per-tenant issuer identifier (https://idp.example.net is dedicated to Acme). Some Identity Providers serve every tenant under a single shared issuer (for example, https://accounts.google.com) and distinguish tenants via the ID-JAG top-level tenant claim ([ID-JAG] §6.1). For these, the authorized_issuers[].tenant member binds the authorization to a specific tenant of the shared issuer.

Suppose Acme uses a multi-tenant Identity Provider with shared issuer https://accounts.shared.example and Acme's tenant identifier in that Identity Provider is acme-corp. Acme publishes the pointer form pointing at the richer JSON:

{
  "subject_authority": "acme.example",
  "authorized_issuers": [
    {
      "issuer": "https://accounts.shared.example",
      "tenant": "acme-corp",
      "subject_identifier_formats": ["email"]
    }
  ],
  "last_updated": "2026-05-29T00:00:00Z"
}

Verification adds one check to the simple flow: in addition to matching iss, the Resource Authorization Server requires the ID-JAG's top-level tenant claim to equal "acme-corp". An assertion from https://accounts.shared.example with a different tenant value (or no tenant) does not match this entry. The security properties and operational guidance for this case are in Section 9.9.

C.7. Failure Variants

  • A DNS SERVFAIL at _oauth-issuer-policy.acme.example is classified as indeterminate (Section 5.1). The Resource Authorization Server consults no HTTPS location; it returns invalid_grant.

  • If acme.example published no TXT record, the lookup would be Negative and the assertion rejected, even if a document existed at the default URL on oauth-issuer-policy.acme.example: the TXT record is the opt-in.

  • A wildcard record at *.example covering acme.example would have to carry authority=acme.example to be accepted. A wildcard with a different authority= is discarded; if no other recognized record remains, the response is malformed (Indeterminate) and the assertion is rejected.

  • If acme.example rotates its authorized Assertion Issuer and the Resource Authorization Server has a cached virtual policy, the Resource Authorization Server may continue accepting assertions from the old issuer until its cache expires. Subject Authorities are encouraged to use short DNS TTLs during rotation; consumers enforce a local cache ceiling per Section 7.

Appendix D. Document History

This appendix is non-normative and will be removed before publication. A number in parentheses is a closed issue in the issue tracker for this document, which holds the details of that change.

-01

-00

Author's Address

Karl McGuinness
Independent