Resource Access
After mission approval, the agent proactively requests a resource token via POST /authorize before accessing the resource. The AAuth-Mission header is included and aauth-mission is added to the signed HTTP Message Signature components (§588). The resource issues a four-party resource token with aud=AS, and the PS federates to the AS to exchange it for an auth token (iss=AS, dwk=aauth-access.json). The mission claim flows through the entire token chain — creating an end-to-end audit trail tied to the user-approved mission.
Agent proactively requests a resource token BEFORE accessing the resource.
AAuth-Mission header carries the approved mission reference (approver + s256).
aauth-mission is included in the signed components per §588.
AAuth-Capabilities is included on resource requests per §1731 (SHOULD).
This is a four-party flow: resource issues token with aud=AS; agent must exchange via PS.
The aa-resource+jwt carries mission: {approver, s256} — first token in the chain.
Step 1: POST /authorize + AAuth-Mission → resource token
Description (Markdown)
# Analyze Q2 Customer Feedback Read customer feedback records and produce a summary report with sentiment analysis and key themes.
Structured Fields
Approved Tools
Read customer feedback records
Write the summary report to the shared drive
PS Capabilities
application/json
approver="https://ps.example"; s256="R9kNpXeErMQ1Jvk_vxYUp3YEdggmvUhksWtjXtcmnh0…
interaction, clarification
sig=jwt;jwt="eyJhbGciOiJFZERTQSIsImtpZCI6ImFnZW50LWtleS0xIiwidHlwIjoiYWEtYWdlbnQ…
sig=("@method" "@authority" "@path" "signature-key" "aauth-mission");created=170…
sig=:AQIDAQIDAQIDAQIDAQIDAQIDAQIDAQIDAQIDAQIDAQIDAQIDAQIDAQIDAQIDAQIDAQIDAQIDAQI…
{
"scope": "read"
}Covered Components
Signature Base
Signature-Key Header
sig=jwt;jwt="eyJhbGciOiJFZERTQSIsImtpZCI6ImFnZW50LWtleS0xIiwidHlwIjoiYWEtYWdlbnQrand0In0…"
Signature-Input Header
sig=("@method" "@authority" "@path" "signature-key" "aauth-mission");created=1700000000;alg="ed25519"
{"alg":"EdDSA","kid":"resource-key-1","typ"?:"aa-resource+jwt"}{"iss"?:"https://api.example","aud"?:"https://as.example","dwk"?:"aauth-resource.json","jti"?:"40d22ef7-f985-4641-93d6-0c9c2d4fbc1d","agent"?:"aauth:local@agent.example","agent_jkt"?:"5j5WMuITu8-cV1RdClUeNgnSg3aLJpCYiFvzcwDgYhI","scope"?:"read","iat"?:1776222894,"exp"?:1776223494,"mission"?:{"approver"?:"https://ps.example","s256"?:"R9kNpXeErMQ1Jvk_vxYUp3YEdggmvUhksWtjXtcmnh0"}}{"alg":"EdDSA","kid":"agent-key-1","typ"?:"aa-agent+jwt"}{"iss"?:"https://agent.example","sub"?:"aauth:local@agent.example","dwk"?:"aauth-agent.json","jti"?:"a6ae301d-1dc7-4b75-8f8b-5612197664a7","cnf"?:{"jwk"?:},"iat"?:1776222894,"exp"?:1776226494,"ps"?:"https://ps.example"}