Audience-Bound Short-Lived Tokens
In this article
- Explain why an agent's access token names one service and lives for minutes.
- Name the checks a service runs on every token, in order, and the rejection each one produces.
- Exchange a token at a service boundary for a narrower one, and judge whether a proposed token is a valid narrowing.
- Predict accept or reject for expired, wrong-audience, cross-tenant and forwarded tokens.
- Terms defined here: token lifetime, tenant claim.
Overview
A tool server, the program an AI agent calls to act on real systems, holds a signed pass, an access token, that lets it read one order for one user. To finish the job it must call another service behind it. The MCP authorization lesson already forbade sending the same pass along. What should the server send instead, and why must a token name one service and expire within minutes? You follow one token from one service to the next during a refund task and watch each service decide whether to trust it. Afterwards you can say why a token should name one service and expire within minutes. You can list the checks a service runs on every token, in the order that makes the rejection reason useful, swap a token for a narrower one at a boundary, and predict which of five tokens gets through.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- Where and how long a token works
- What orders-api checks, in order
- Exchanging for a narrower token
- Five tokens at the door
- Common mistakes
- In production
- Sources
- Check yourself, 13 questions