Skip to content

Rename person_token_jti — the credential it names is not always a person token #95

Closed

Description

@dickhardt

The name is wrong

person_token_jti is a REQUIRED resource token claim, defined in §Resource Token Structure as:

person_token_jti: The jti of that person token, binding this resource token to it

The name asserts that the credential the resource verified was a person token. That is true on the first resource token of a grant and false thereafter.

A step-up resource token follows an auth token. §Resource Access and Resource Tokens permits a resource to return requirement=auth-token with a fresh resource token to a request that already carries an auth token — nested authorization, and under AAuth Budgets, an exhausted budget. R3 makes it the normal path rather than an occasional one: a per-call match builds its proposal at call time, on a request that by definition already carries an auth token.

At that moment the credential in Signature-Key is an aa-auth+jwt. The resource is naming a person token it verified at some earlier point, recovered from its own retained record (#90). Calling the claim person_token_jti describes where the value originally came from, not what the resource just checked, and it reads to an implementer as "copy this from the token in your hand" — which is exactly the reading #90 shows does not work.

Proposal

Rename to caller_jti.

"Caller" is the vocabulary the drafts already use for the party on the other end of a request, and it stays true across every case: the claim names the jti of the AAuth credential that established who the caller is, whichever type that credential was.

Alternatives considered and why not:

  • subject_token_jti — precedent in RFC 8693, but that term means the token being exchanged, and nothing is being exchanged here
  • presented_jti / verified_jti — accurate but say nothing about whose identity was established
  • keeping person_token_jti and narrowing the definition — leaves the misleading name in place while the text does the correcting

Say what it is for, where the reader meets it

Separately from the rename: the claim's purpose is not visible at the point of introduction. Today a reader meets it as one line in a claims list, and the reason it exists — that it is what makes mission stripping detectable — appears in a design rationale section a long way away:

Binding the resource token to one person token by jti is what makes mission stripping detectable. A resource cannot drop mission_s256 and present the result as an unscoped request, because the PS resolves the person token it actually issued and compares. Comparing the claims alone would not suffice: an agent running concurrent missions holds several person tokens for the same resource, so "the person token for this agent and resource" does not identify one.

That argument is correct and it is the answer to the first question a reviewer asks about the claim. It should appear where the claim is defined, in a sentence, with the rationale section as the long form.

This is not a normative gap — the binding is fully specified and the PS-side check in §Resource Token Verification step 6 is exactly right. It is a discoverability gap: in the August 2026 office hours the binding was raised as something the spec still needed to add, by a reader who had gone through the person token material. If it did not land there, the placement is wrong.

Scope

Activity

  1. added
    protocol
    on Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    protocol

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions