Skip to content
IAM Insights

Briefing · Draft · source · updated · Boston Identity

One implementer found a transaction-token rule that let any scope through; the OAuth group fixed it in weeks

Dhruv Agnihotri built OAuth identity chaining and transaction tokens into his open-source authorization server, authgent, and filed the result as an implementation report. Two gaps came out of it. The bigger one: a token service reading the transaction-token draft literally would grant any scope when the incoming token carried none. The working group wrote a rejection rule into the draft in July.

IETF Datatracker · Dhruv Agnihotri · June 23, 2026 · read

share
3,993 words. With Dhruv Agnihotri, author, Independent.
01

What's happening

Finding2
BI-FIND-2026-0893Lead finding

Read literally, transaction tokens -08 let Agnihotri's code pass any scope for a subject token with no scope claim, and revision -10 requires a reject.

Transaction tokens -08 required the token service to keep a new token's scope "equal or less than" the scope in the incoming subject token, but said nothing about a subject token with no scope claim, which Agnihotri notes is normal for an OpenID Connect ID token. Read literally, his implementation skipped the check and let any requested scope through, which he calls "arguably the unintentional-scope-increase case" the rule exists to prevent; he had no test for it. He raised it on the OAuth list on 24 June and in a GitHub issue. The issue closed on 7 July, and revision -10 (29 July 2026) added a section saying the service MUST reject the request when the subject token's scope cannot be determined and MUST NOT treat it as unconstrained.

high confidencebest source: independent researchobserved Jun 2026EvidenceOpen issues: missing sub and missing scopeCoverage of transaction-tokens-08
flag a problem with BI-FIND-2026-0893
BI-FIND-2026-0894

The approved identity-chaining draft is silent on a subject token with no sub claim, and Agnihotri proposes letting a server synthesise a subject or refuse.

The identity-chaining draft, already approved and waiting at the RFC Editor, is silent on a subject token that carries no sub claim. Agnihotri's server issues the chaining grant anyway and refuses it only when it is presented, which he calls allow and defer, and he proposes text letting a server either synthesise a subject or refuse, with refusal recommended. Both gaps in the report come from one implementation with no interoperability testing, and the author says so.

medium confidencebest source: independent researchobserved Jun 2026EvidenceOpen issues: missing sub and missing scopeCoverage of identity-chaining-15Implementation metadata: authgent
flag a problem with BI-FIND-2026-0894
02

Section by section

4

showing 4 of 4

[1]

Implementation metadata: authgent

Dhruv Agnihotri, Independent

Standards

Single-author, independent report on authgent (Apache-2.0, Python OAuth 2.1 server; github.com/authgent/authgent). Tracks identity-chaining -15 and transaction-tokens -08. 522 CI tests, 84% coverage, 25 draft-specific (17 chaining, 8 txn). No interop testing with a second implementation; about six months of effort.

technical artifactfrom published text

[2]

Coverage of identity-chaining-15

Dhruv Agnihotri, Independent

Standards

Maps chaining -15 sections 2.1 to 5.5 to authgent functions: JWT-bearer dispatch, audience/resource enforced, trusted_chaining_targets allowlist, two claim policies (preserve_sub, minimize), DPoP cnf.jkt propagation, blocklist revocation, no refresh tokens, 60 s single-use grant.

technical artifactfrom published text

[3]

Coverage of transaction-tokens-08

Dhruv Agnihotri, Independent

Standards

Maps txn-tokens -08 sections 16.1, 10.1, 10.2, 12.4, 7, 14.6, 14.3 to authgent: txntoken+jwt typ header, required claims, tctx/rctx, N_A token_type, 120 s default TTL, scope subset check, no refresh token. 8 tests.

technical artifactfrom published text

[4]

Open issues: missing sub and missing scope

Dhruv Agnihotri, Independent

Standards

Two spec gaps, each with proposed text. Chaining 2.5: subject token with no sub; authgent mints the grant, rejects at consumption. Txn-tokens 14.6: subject token with no scope; subset check skipped so any scope passes. Neither behaviour is tested.

technical artifactfrom published text

Terms used

OAuth Identity and Authorization Chaining Across Domains
An IETF OAuth working group draft (draft-ietf-oauth-identity-chaining) that defines how to preserve a user's identity and granted authorization as a request crosses OAuth trust-domain boundaries, by chaining OAuth 2.0 Token Exchange (RFC 8693) and the JWT bearer assertion grant (RFC 7523) at every hop.
Transaction Tokens
An Internet Engineering Task Force (IETF) OAuth draft for short-lived tokens that carry one transaction's context (who asked, for what, under which constraints) across internal services, so each hop enforces the original intent.
OpenID Connect
OpenID Connect — an identity layer on top of OAuth 2.0 that lets an app verify who the user is through an identity provider; the protocol behind most “Sign in with…” buttons.
ID Token
A signed JSON Web Token (JWT) that an OpenID Connect provider issues to tell an app who signed in. Required claims include the issuer, subject, audience, expiry (exp) and issued-at time.
OAuth
The web's standard framework for delegated authorization — letting one application act at another on a user's (or machine's) behalf without sharing passwords.
RFC
Request for Comments: the numbered document series in which the Internet Engineering Task Force publishes internet specifications, from standards such as RFC 8693 to informational notes. A draft is not an RFC.
CI
Continuous integration, the automated pipeline that builds and tests code on every change, usually paired with continuous delivery (CI/CD) to deploy it. Its runners and jobs hold credentials of their own, which makes them non-human identities.
JWT
A compact, signed token that carries claims (who, for what, until when) between systems. It is the usual shape of an OAuth access token.

Read next

Was this briefing useful?

Share this briefing

Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.

Follow us on LinkedInRSS feed

Working on an identity problem this research touches? Talk to Boston Identity