Repository navigation
Identify revoked tokens by (iss, jti); give the AP a revocation endpoint - #64
Merged
Merged
Conversation
A jti is unique only within the namespace of the issuer that minted it.
A revocation endpoint receives tokens from many issuers -- a resource
holds auth tokens from every PS and AS its callers use -- so a jti alone
does not identify a token unambiguously. The existing text made the
assumption explicit ("no token type is needed since the jti is unique
within the issuer's namespace") without carrying the issuer that would
make it true.
- Revocation requests carry iss and jti, both REQUIRED, and recipients
key revocation state by the pair.
- Agent provider metadata gains an OPTIONAL revocation_endpoint. Agent
tokens are issued by the AP, which was the only role with no way to
revoke what it issues; the other three already had the member.
- Added the agent-token revocation scenario, and noted that a PS or
resource that no longer trusts an agent denies it rather than revoking
a token it did not issue.
- Stated the limit of revocation: auth tokens verify offline, so a
holder no revocation request reaches is bounded by token lifetime.
Fixes #59
Fixes #60
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_011H2BBgoKc7DqXeme5yT9Ls
dickhardt
force-pushed
the
revocation-iss-jti
branch
from
August 6, 2026 07:33
998faab to
3c0618f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack 4 of 7. Base:
sigkey08-verification-errors(#63). Fixes #59, #60.A
jtiis unique only within the namespace of the issuer that minted it. A revocation endpoint receives tokens from many issuers — a resource holds auth tokens from every PS and AS its callers use — so ajtialone does not identify a token unambiguously.The existing text made the assumption explicit without carrying the issuer that would make it true:
Changes
issandjti, both REQUIRED, and recipients MUST key revocation state by the pair. Request example,404condition, and all four scenario bullets updated.revocation_endpoint. Agent tokens are issued by the AP, which was the only role with no way to revoke what it issues — resource, PS, and AS metadata all already had the member.Scope note
#60 asked for a PS agent-token revocation endpoint. Most of what it wanted already exists — PS metadata has
revocation_endpointand §Token Revocation covers "PS revokes an auth token it issued". The genuine gap was the AP, since agent tokens are the AP's to revoke, so that is what this adds.Self-revocation is deliberately not included. An agent that wants to stop using a token just stops; revocation exists for parties needing to invalidate a token they do not control.
🤖 Generated with Claude Code
https://claude.ai/code/session_011H2BBgoKc7DqXeme5yT9Ls