The short version
- RFC 9207 gives an OAuth client a narrow receipt: the issuer named in an authorization response must equal the issuer recorded for that request. A mismatch kills the flow before a code or token travels to the wrong endpoint.
- The
issvalue identifies the authorization-server context. It does not authenticate the user, validate the code, prove token issuance, establish audience or scope, or show that a resource server accepted anything. - Safe operation therefore joins separate records: request state, expected issuer, metadata, returned issuer, comparison and abort result, code redemption, token validation, resource decision and recovery.
The most dangerous callback in OAuth looks entirely ordinary.
The browser lands on a registered redirect URI. The state value matches the one the client created. The authorization code is genuine, minted by an honest authorization server. Nobody has been phished; no code has been forged. And yet a client that talks to more than one authorization server is about to hand that honest code to a token endpoint run by the attacker.
The failure sits between two individually plausible records. One says which authorization server the client believed it was using when the request left. The other is a response delivered through the user's browser. OAuth 2.0's original response never explicitly named its sender. Let browser routing, a generic callback or hostile metadata blur the two, and a valid code crosses into the wrong operator's hands.
RFC 9207 is the deliberately small repair. OAuth 2.0 Authorization Server Issuer Identification, published in March 2022 as an IETF Standards Track document, is collective work by Karsten Meyer zu Selhausen and Daniel Fett. It defines an iss parameter for the authorization response. A conforming server includes its issuer identifier in success and error responses. The client compares that string with the issuer it recorded for the server it queried. If they differ, the client rejects the response and does not proceed with the grant.
That is the field's entire authority — and precisely why it matters.
A callback with no return address
OAuth separates roles on purpose. The resource owner uses a user agent. A client asks an authorization server for a grant, then presents that grant to a token endpoint. An access token is finally spent at a resource server. The separation lets many services compose. It also creates routing choices whose safety cannot be inferred from the browser's arrival alone.
RFC 6749 gave the authorization response a code and, when the request asked for it, the same state value. That state is essential: it binds a response to the user's authenticated browser session and helps stop cross-site request forgery. It answers a different question from the one that matters here — which authorization server issued this response?
For a client wired to a single authorization server, the distinction can stay invisible; there is no competing endpoint bundle to confuse. Add a second server and the client must remember more than "a flow is pending." It must remember which issuer owns that flow. RFC 9700, the current OAuth security Best Current Practice, states the rule plainly: a multi-authorization-server client must prevent mix-up attacks and bind the intended issuer to each authorization request.
Daniel Fett and the question of who sent this
This is where Daniel Fett enters the story — not as a lone inventor, but as one of the researchers who kept asking a question the protocol had left unanswered.
Fett's first-party site describes work on identity and web-protocol security, OAuth and OpenID Connect. His IETF record lists RFC 9207 among four RFCs as observed in September 2026. The deeper continuity comes from a 2016 paper with Küsters and Schmitz, A Comprehensive Formal Security Analysis of OAuth 2.0, which treated the protocol as a system to be attacked rather than a diagram to be admired. That habit — formalize, break, repair — is the through-line. RFC 9207 is collective work, and Fett is one of its authors, not the proprietor of the parameter.
The point is not personal mythology. The point is that the fix is small because the question was sharp: when a callback arrives, can the client name the server that sent it?
One issuer, one endpoint bundle
An issuer identifier is not a display name. Under RFC 8414 it is an HTTPS URL without a query or fragment. It anchors an authorization-server metadata document that can identify the authorization endpoint, token endpoint, key locations and other capabilities. A single hostname may host several issuers distinguished by path.
That bundle is the operational object at risk. A client can show the user an honest authorization page and still be configured with an attacker-controlled token endpoint. RFC 9700 warns that storing an authorization endpoint URL alone is not enough: a malicious party can claim an honest authorization endpoint while declaring its own token endpoint. The client needs the issuer as the stable identifier for the endpoint set it intends to use.
RFC 9207 ties the browser-delivered response back to that set. When metadata is used, the response iss must exactly equal the metadata issuer, and the metadata can advertise authorization_response_iss_parameter_supported as true. The client extracts the returned value, decodes its form encoding and compares it as a plain string against the expected issuer for that request.
No fuzzy normalization is authorized. A path difference, an unexpected slash, a different issuer on the same host — none of it is "close enough." The goal is not human resemblance. The goal is deterministic routing.
The comparison creates a local decision surface. The authorization server states its identity. Metadata describes the endpoint bundle. The client records which issuer it selected, retains the server's support status and decides whether the returned value is admissible. No global coordinator executes that comparison. Each client owns the configuration and the abort.
A match is a green light, not a finish line
The cleanest way to misuse iss is to make it mean too much.
A matching issuer does not authenticate the resource owner. The authorization server may still require login or return an error. It does not prove the user understood or intended the requested scope; that belongs to the authorization interaction and application policy.
The match does not validate the authorization code. After the client picks the correct token endpoint, that endpoint must still verify the code, client identity where applicable, redirect URI and other grant conditions. The code may be expired, replayed, bound to another client or otherwise invalid.
Nor does the match prove a token was issued. It says nothing by itself about token type, audience, scope, lifetime, sender constraint or revocation state. A resource server must make its own decision when the token is presented. Even a valid, correctly scoped token does not prove the application action succeeded or that the user got the expected result.
The receipts therefore form a sequence:
- The client created a request and stored the intended issuer with browser-bound state.
- The browser returned an authorization response.
- The response named an issuer.
- The client compared that issuer with the stored issuer and accepted or aborted.
- The client selected endpoints from validated metadata or equivalent static configuration.
- The token endpoint accepted or rejected the code.
- Any token was validated and enforced by the resource server.
- The application observed an outcome and kept enough evidence to investigate or reverse it.
RFC 9207 owns step four. Calling step four "OAuth success" erases every decision after it.
The field is not a signature
The iss parameter in an ordinary authorization response is not cryptographically protected. RFC 9207 says so directly. That sounds like a contradiction only if the field is treated as a universal authentication certificate.
The stated threat is narrower. In a mix-up attack, the client receives a response created by an uncompromised authorization server but is confused about which endpoint set should receive the code. If an attacker can alter that honest response before the client receives it, the attacker can already read the authorization code and does not need the mix-up route. The field prevents routing confusion inside the model; it does not claim integrity against every attacker.
Where an integrity-protected authorization response is required, other mechanisms can carry the issuer. JARM, for example, puts response parameters in a signed JWT. OpenID Connect flows that return an ID Token from the authorization endpoint can also convey an issuer, provided the client validates it under the required rules. If multiple issuer identifiers appear and disagree, the response must be rejected.
This is minimum initial specification in practice: add the smallest shared signal that exposes the ambiguity, and leave stronger envelopes, supported-server policy and migration choices to systems that need them. The field does not outlaw alternative defenses; RFC 9700 also permits distinct redirect URIs per issuer when the client checks them correctly.
Legacy support is a policy, not a loophole
Real clients do not upgrade every authorization server at once. RFC 9207 therefore distinguishes support state rather than pretending deployment is universal.
A client that knows a server supports the parameter must reject a response from that server when iss is missing. A server can advertise support in metadata. If a server is known not to support the parameter, the client may accept a response without it or refuse such servers entirely. Local configuration decides. The client should be cautious when a server sends iss without advertising support, because an unplanned parameter can signal inconsistent configuration.
That flexibility is not a loophole. It is where operator responsibility lives. A multi-issuer client needs an inventory of issuers, their endpoint metadata, the expected support bit, the date and source of that belief, the legacy exception if any, and the owner who can remove it. Otherwise "compatibility" becomes an indefinite route around the defense.
The transition also changes when the system adds a second authorization server. A single-issuer client may not need a mix-up defense today. The moment it adds another issuer, the old assumption expires. Product expansion therefore creates a security migration: issuer state must become request-specific before the new provider enters service.
The receipt an operator can actually test
Standards conformance cannot be established by reading metadata once. A useful operating test begins at request creation and follows the branch.
Record the request identifier, user-agent binding, selected issuer, metadata version, authorization and token endpoints, support flag and redirect URI. On return, record whether iss was present, its decoded value, the exact expected value, the comparison result and whether code redemption was suppressed on mismatch. Test successful responses, authorization errors, missing values, duplicate values, unknown issuers and two issuers sharing a host with different paths.
Then verify the negative promise. When the issuer mismatches, no request containing the code, client credential or token should reach the unexpected endpoint. Logs at the client and at controlled test endpoints must agree. A user-visible error without a blocked network request is not a defense receipt.
Finally, keep the layers apart in incident reporting. An issuer mismatch identifies a failed identity comparison; it does not prove compromise. A token-endpoint rejection proves that endpoint refused one grant; it does not prove the authorization response was malicious. A resource denial is not retroactive evidence that issuer binding worked. Each event narrows a different uncertainty.
The field succeeds when it makes one ambiguity impossible to ignore. It gives the client a name to compare before it moves a credential. It does not relieve the client, the authorization server, the token endpoint or the resource server of the decisions they alone can make.
In a protocol built on delegation, that is the whole trick: not a louder promise, but one honest receipt at the exact moment a secret changes hands.
Sources
- RFC 9207 — OAuth 2.0 Authorization Server Issuer Identification
- RFC 9700 — Best Current Practice for OAuth 2.0 Security
- RFC 8414 — OAuth 2.0 Authorization Server Metadata
- RFC 6749 — The OAuth 2.0 Authorization Framework
- IETF Datatracker — Daniel Fett
- Daniel Fett — first-party profile
- Daniel Fett, Küsters and Schmitz — A Comprehensive Formal Security Analysis of OAuth 2.0
- Lu Heng — Running-Code Primacy
- Lu Heng — Minimum Initial Specification
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






