| Internet-Draft | Domain-Authorized Issuer Trust Method | October 2026 |
| McGuinness | Expires 12 April 2027 | [Page] |
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.¶
This note is to be removed before publishing as an RFC.¶
Discussion of this document takes place on the Web Authorization Protocol Working Group mailing list (oauth@ietf.org), which is archived at https://mailarchive.ietf.org/arch/browse/oauth/.¶
Source for this draft and an issue tracker can be found at https://github.com/mcguinness/draft-mcguinness-oauth-id-assertion-framework.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 12 April 2027.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
OAuth 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.¶
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.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
This document uses terminology from [TRUST-FRAMEWORK], which defines each term. In brief:¶
Subject Authority: the owner of a subject namespace, such as
the DNS domain acme.example for alice@acme.example.¶
Assertion Issuer: the authorization server that issues identity assertions, typically an organization's Identity Provider.¶
Resource Authorization Server: the authorization server that receives an identity assertion and decides whether to accept it.¶
Trust Policy: the document in which a Resource Authorization Server states the Trust Methods it requires.¶
Trust Method: a procedure for evaluating evidence about an Assertion Issuer. This document defines one.¶
Issuer Authorization Policy: the document in which a Subject Authority lists the Assertion Issuers it authorizes (Section 3).¶
Consumer: a party that retrieves and processes a policy document.¶
Decision-affecting member: a policy member whose value can change whether a consumer accepts an assertion.¶
Authority Holder, Delegate, Delegation Artifact, and Validator: the framework's general names for the Subject Authority, Assertion Issuer, Issuer Authorization Policy, and Resource Authorization Server.¶
Subject Identifier formats follow [RFC9493].¶
Two terms are specific to this document:¶
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.¶
The Subject Authority, or a policy host acting for it, when it publishes a DNS record or an Issuer Authorization Policy.¶
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_authorityREQUIRED. 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_issuersREQUIRED. 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:¶
issuerREQUIRED. 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.¶
tenantOPTIONAL. 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_formatsOPTIONAL. 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_fromOPTIONAL. [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_untilOPTIONAL. [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_updatedOPTIONAL. [RFC3339] date-time at which the policy was last published. It is not decision-affecting ([TRUST-FRAMEWORK] §Terminology).¶
signed_policyOPTIONAL. 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.¶
critOPTIONAL. 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:¶
| 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"
}
¶
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:¶
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.¶
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.¶
| 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 |
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).¶
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=AREQUIRED. 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=URLOPTIONAL. 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_URLOPTIONAL. 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=THUMBPRINTOPTIONAL. 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.¶
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.¶
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.¶
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.¶
Query the DNS TXT resource record set at
_oauth-issuer-policy.{A}. Classify the response as:¶
negative-authoritativeNXDOMAIN, or NOERROR with an empty answer section or with no recognized records after parsing.¶
indeterminateSERVFAIL, REFUSED, timeout, truncation with no successful retry, or any other failure that prevents a definitive negative result.¶
affirmativeNOERROR with at least one recognized record after parsing.¶
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.¶
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.¶
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).¶
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.¶
| 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:¶
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.¶
When the domain_authorized_issuer Trust Method is evaluated, the
Resource Authorization Server MUST:¶
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.¶
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.¶
Verify the policy's subject_authority matches the computed
Subject Authority. (Virtual policies satisfy this by
construction.)¶
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):¶
| 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.¶
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.¶
Freshness and cache limits for the Issuer Authorization Policy:¶
Freshness lifetime.¶
The inline form's virtual policy is fresh for the minimum TTL of the records that construct it.¶
A policy fetched through a uri= pointer is fresh for the lesser
of the pointer record's TTL and the document's HTTP freshness
lifetime ([RFC9111]).¶
A policy fetched from the dedicated host under the HTTPS-only lookup mode is fresh for the lesser of the opt-in record's TTL and its HTTP freshness lifetime.¶
A document without explicit freshness information (no max-age
and no Expires) is fresh for a local default that MUST NOT
exceed 1 hour. Consumers MUST NOT treat a cached policy as fresh
beyond these lifetimes, except that they MAY apply a minimum
freshness lifetime of up to 5 minutes even when a TTL or HTTP
lifetime is shorter. That minimum coarsens the timing signal
discussed in Section 10.¶
Unvalidated DNS. Consumers MUST NOT treat a DNS result that was not DNSSEC-validated as fresh for more than 1 hour, whatever its TTL: a spoofed answer chooses its own TTL (Section 9.4).¶
Steady-state lifetimes. Subject Authorities SHOULD publish records and HTTPS policies with a freshness lifetime of at most 1 hour, reducing it further during an active revocation.¶
Absolute ceiling. Consumers MUST enforce an absolute local
ceiling of at most 24 hours on the age of any cached policy entry,
regardless of TTL or Cache-Control. A cached entry older
than the ceiling MUST NOT be used and MUST be re-fetched with an
unconditional request.¶
Stale-if-error. When a live retrieval is Indeterminate, a consumer MAY continue to use a cached Affirmative policy for at most 1 hour after its freshness lifetime ended, and never past the absolute ceiling. Repeated Indeterminate retrievals MUST NOT extend this window; a successful live retrieval (Affirmative or Negative) replaces the cached entry. The bound keeps an attacker who can sustain denial of service against the publication channel from extending revocation latency toward the absolute ceiling.¶
Negative results SHOULD be cached, to bound lookup work under
load (Section 9.10). Negative results MUST NOT be cached for longer
than the lesser of 1 hour and the lifetime of the DNS answer that
produced them. A cache lifetime of 5 minutes is RECOMMENDED for
Negative results. The lifetime of the DNS answer is the negative
TTL ([RFC2308]) for an NXDOMAIN or NODATA answer. For an answer
that contains records but none that yields a policy, it is the
remaining TTL of the TXT record set. Such an answer has no
recognized record or, under the HTTPS-only lookup mode, no record
whose uri= is the default URL. The short cap makes a Subject
Authority's first publication, and its recovery from a brief
publication-channel takeover, visible promptly. The same cap
SHOULD apply to a cached explicit-denial policy (Section 3).¶
Indeterminate outcomes MAY be cached for a short period (no more than 5 minutes is RECOMMENDED) to absorb retry storms; an Indeterminate cache entry MUST NOT be treated as a policy and never satisfies the Trust Method.¶
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.¶
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 Trust Methods registry
([TRUST-FRAMEWORK] §Identity Assertion Trust Methods Registry).¶
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.¶
The Issuer Authorization Policy is a security-critical document. Its integrity determines which Assertion Issuers can assert identities in the Subject Authority's namespace.¶
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.¶
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.¶
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.¶
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:¶
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.¶
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).¶
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.¶
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.¶
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).¶
The lookup is verifier-side and per-verification, so it leaks metadata in two directions, and the policy itself is public:¶
To the resolver path. A DNS query for
_oauth-issuer-policy.{A} exposes the Subject Authority {A} being
evaluated (and its timing) to every resolver and on-path observer.
It does not carry the full subject identifier for formats such as
email, but the authority plus timing can reveal organizational
relationships and login activity. Resource Authorization Servers
SHOULD use a privacy-preserving resolver path (DNS over HTTPS or
DNS over TLS to a vetted resolver) and SHOULD NOT perform the lookup until it is needed for a
concrete verification decision.¶
To the Subject Authority. For the dedicated-host and uri=
channels, the Subject Authority's own server (or its chosen policy
host) observes the Resource Authorization Server's egress IP address
and the timing of each fetch. That server or host thereby learns
which Resource Authorization Servers the namespace's users are
authenticating to. The authoritative DNS operator for {A}
observes per-lookup timing over DNS. An employer acting as its own
Subject Authority can thereby obtain a near-real-time signal of
where employees sign in. Caching
(Section 7) is the primary mitigation: it coarsens timing and
collapses repeated lookups, so consumers SHOULD cache to the bounds
permitted rather than re-fetching per verification. A consumer
that applies the minimum freshness lifetime of Section 7
keeps a Subject Authority from observing every sign-in through a
very short TTL.¶
Policy contents. A published policy is public. It reveals the
Subject Authority's Identity Providers, tenant identifiers, and,
through valid_until, when its contracts end. Subject Authorities
that consider these sensitive publish only what verification needs.¶
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:¶
Rollout. A first publication withdraws no acceptance that this Trust Method granted, since a namespace without a policy is Negative (Section 5.1). At a Resource Authorization Server that also lists another namespace method, however, the new policy becomes final for the namespace ([TRUST-FRAMEWORK] §Multiple Authority Sources Within a Category). There, the policy therefore needs to list every issuer that method accepted. Check the issuer list for completeness before publishing. Forgotten regional tenants and departing Identity Providers are the usual omissions, and they surface as rejections at such servers. Subject Authorities SHOULD sign the zone with DNSSEC or publish via the pointer form, since every published decision carries the full weight of the publication channel's integrity (Section 9.4).¶
Change management and TTLs. Reduce DNS TTLs in advance of any
planned change to the record or uri= pointer (Section 9.5),
and choose steady-state TTLs balancing propagation speed against
resolver load and the consumer cache bounds of Section 7.¶
Rotation. To rotate an authorized issuer, publish the new
authorized_issuers entry alongside the old one and remove the old
entry only after the old issuer is decommissioned and caches have
expired; overlapping validity windows (valid_from/valid_until)
make the transition observable and bounded.¶
Signing-key rollover. To roll over a key=-pinned signing
key, first publish the new thumbprint beside the old one. Keep
signing with the old key until the record carrying both thumbprints
has reached every authoritative server and the full TTL the old
record advertised has then passed, plus any minimum freshness
lifetime consumers apply. Recursive resolvers can serve the old
record for its whole TTL ([RFC1035] Section 4.1.3), whatever cap
a consumer places on its own cache. Then re-sign the policy with
the new key, and remove the old thumbprint once cached copies of
the policy signed with the old key have expired.¶
Withdrawal. To withdraw every authorization, remove the TXT
record (Negative) or publish an empty authorized_issuers array
(explicit denial). Deleting the policy document instead makes
lookups Indeterminate, so consumers can keep using a cached policy
within the stale-if-error bound of Section 7.¶
Monitoring. Monitor the record set and any HTTPS policy document for unexpected changes, and perform cross-region/cross-resolver checks to detect localized substitution (Section 9.4).¶
Availability. Because Negative and Indeterminate outcomes fail closed (Section 5.1), loss of the record or policy host blocks sign-in for the namespace; provision the authoritative DNS and any policy host for availability accordingly.¶
Zone hygiene. Avoid wildcard TXT records in zones participating
in this mechanism (Section 9.4); a wildcard
with a non-matching authority= causes recognized-but-discarded
records and can push a lookup to Indeterminate.¶
Media type. Serve the policy document with
Content-Type: application/json. Static hosts often label a file
without an extension application/octet-stream, which consumers
treat as Indeterminate (Section 5.1).¶
Stable issuer identifiers. Issuer comparison is octet-for-octet (Section 3), so an Identity Provider operator that changes an issuer identifier breaks every Subject Authority that lists it until each republishes. Identity Provider operators keep issuer identifiers stable and announce changes ahead of time.¶
Many domains. Each registrable domain is its own Subject
Authority with its own policy (subject_authority names exactly
one). An organization with many domains publishes a record, and
for the pointer form a document, for each.¶
Users from other namespaces. An assertion about a user whose
email is in another organization's namespace (for example, a guest
at partner.example signing in through the host organization's
Identity Provider) is accepted only if partner.example authorizes
that Identity Provider. This follows from namespace authorization
and is not a defect.¶
Consumer mail domains. This Trust Method is designed for
organizational namespaces. A consumer mail provider is unlikely to
authorize the Identity Providers its users sign in with elsewhere,
so under a Trust Policy whose only namespace method is
domain_authorized_issuer, assertions about those users are
rejected.¶
Registers the following entry in the IANA "Underscored and Globally Scoped DNS Node Names" registry per [RFC8552] and [RFC8553], for use by this document:¶
TXT¶
_oauth-issuer-policy¶
This document, Section 4.3¶
This document registers the following entry in the Identity Assertion Trust Methods registry ([TRUST-FRAMEWORK] §Identity Assertion Trust Methods 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:¶
| 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 |
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:¶
| 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 |
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.¶
application¶
issuer-authorization-policy+jwt¶
N/A¶
N/A¶
8bit; the value is a JWT in JWS Compact Serialization, a sequence of base64url-encoded values separated by periods ([RFC7519] Section 10.3.1).¶
See Section 3.1 and Section 9 of this document.¶
N/A¶
This document (Section 3.1)¶
Subject Authorities that sign Issuer Authorization Policies, and Resource Authorization Servers that verify them¶
N/A¶
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¶
Karl McGuinness, public@karlmcguinness.com¶
COMMON¶
none¶
Karl McGuinness¶
IETF¶
This appendix is non-normative.¶
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.¶
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.¶
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.¶
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.¶
This appendix is non-normative. It sketches features intentionally deferred from this document; future specifications may register them.¶
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.¶
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.¶
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.¶
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.¶
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].¶
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¶
Make the DNS TXT record an explicit opt-in with no HTTPS fallback;
fetch HTTPS-only policies from the dedicated host
oauth-issuer-policy.{A}; stop following redirects (#23).¶
Remove monitor mode: the mode member and mode= directive
(#22).¶
An entry without tenant no longer matches an assertion that
carries tenant (#26).¶
Allow at most one domain_authorized_issuer object per Trust
Policy and 100 entries per published policy, and constrain
narrowing extensions (#27).¶
Add the key= directive, which pins the signed-policy key and
allows rollover (#24).¶
Bound every cache lifetime, and state the overall revocation window (#25).¶
Define signed-policy processing and register the
issuer-authorization-policy+jwt media type here, moved from the
framework (#21).¶
Sketch a federation-bound Issuer Authorization Policy as a non-normative future extension (#20).¶
Correct the relationship to the Email Verification Protocol, add related mechanisms, and gloss terms borrowed from the framework (#29).¶
Editorial changes for readability.¶
-00¶
initial draft¶