Repository navigation
Description
Problem
§Token Revocation defines the revocation request as (iss, jti) and nothing else:
{
"iss": "https://ps.example",
"jti": "unique-token-identifier"
}and says recipients maintaining revocation state MUST key it by that pair. It does not say how long the entry must be kept, and it gives the recipient nothing it could use to work that out.
A revocation entry only has to outlive the token. Once the token's exp has passed, the token is refused on expiry, and the entry is dead weight. So the natural retention rule is "until exp, plus clock skew" — but exp is not in the request, and the recipient does not otherwise have it.
That leaves two bad options:
- Keep entries forever. Unbounded storage growth for a resource that accepts revocations from many issuers, with no safe point at which anything may be dropped.
- Guess a ceiling from the spec's stated maxima — one hour for an auth token, five minutes for a resource token. But the request carries no token type, and the section says explicitly that "no token type is needed, since
(iss, jti)is unique." So the recipient cannot tell which maximum applies. Agent tokens have no stated maximum at all.
The section removed the one signal a recipient could have inferred a bound from, without adding a field that gives the bound directly.
This is most acute for the case the same section already calls out: under identity-based access (§Requirement: Agent Token) the agent presents its agent token directly, so the agent provider revokes at the resource, and "a resource accepting agent tokens SHOULD therefore provide a revocation endpoint." A resource implementing that SHOULD has no way to size or expire its revocation store.
Proposal
Add exp to the revocation request, REQUIRED, carrying the revoked token's own exp:
{
"iss": "https://ps.example",
"jti": "unique-token-identifier",
"exp": 1788727813
}and state the retention rule:
A recipient maintaining revocation state MAY discard an entry once the current time is past
expplus its clock skew tolerance, since a token past its expiry is refused on expiry alone.
exp discloses nothing new. The caller is the token's issuer or a trusted PS and holds the value already; the presenting agent holds the whole token. It makes the entry self-expiring, which is what a KV store with a TTL wants.
Second gap in the same section, possibly a separate issue
Response:
200 OKif the token was revoked or was already invalid.404if the(iss, jti)pair is not recognized.
This assumes the recipient holds records of the tokens in question, which is true of a PS or an AS. It is not true of a resource verifying agent tokens statelessly: it fetches the AP's JWKS, checks the signature and claims locally, and keeps nothing. Under the rule as written, every agent-token revocation to such a resource is a 404 — even when the resource recorded the revocation and will honour it.
Suggested: 200 OK when the recipient has recorded the revocation, whether or not it has a record of the token; reserve 404 for a recipient that can positively determine the pair was never valid for it.
Context
Found while building a relying resource that accepts agent tokens under identity-based access for the CSA Verifiable Agent Summit (September 9, 2026). The resource needs a revocation_endpoint per this section's own SHOULD, and there is no answer to what its store's TTL should be.
Activity
Replace the ATF status channel with AAuth revocation
Revocation: carry exp, name what is revocable and where, define errors (