Clarification Chat During Consent
During authorization, the Access Server poses a clarification question to the agent before presenting the consent UI to the user. The agent declares clarification support via AAuth-Capabilities: clarification. The AS returns 202 with AAuth-Requirement: requirement=clarification so the agent can answer. Once answered, the AS proceeds to user consent. The user sees the agent’s clarification answer as part of the consent context.
Agent signs with its agent token (sig=jwt) and declares AAuth-Capabilities: clarification.
This signals to the AS that the agent can answer clarification questions.
Resource responds with 401 + resource token for the agent to exchange at the AS.
Step 1: Request resource → 401 + resource token
clarification, interaction
sig=jwt;jwt="eyJhbGciOiJFZERTQSIsImtpZCI6ImFnZW50LWtleS0xIiwidHlwIjoiYWEtYWdlbnQ…
sig=("@method" "@authority" "@path" "signature-key");created=1700000000;alg="ed2…
sig=:WlpaWQWlpaWQWlpaWQWlpaWQWlpaWQWlpaWQWlpaWQWlpaWQWlpaWQWlpaWQWlpaWQWlpaWQWlp…
Covered Components
Signature Base
Signature-Key Header
sig=jwt;jwt="eyJhbGciOiJFZERTQSIsImtpZCI6ImFnZW50LWtleS0xIiwidHlwIjoiYWEtYWdlbnQrand0In0…"
Signature-Input Header
sig=("@method" "@authority" "@path" "signature-key");created=1700000000;alg="ed25519"
{"alg":"EdDSA","kid":"as-key-1","typ"?:"aa-resource+jwt"}{"iss"?:"https://api.example","aud"?:"https://as.example","dwk"?:"aauth-resource.json","jti"?:"d07a759e-21ff-4ba5-8dde-7f4917be8741","agent"?:"aauth:local@agent.example","agent_jkt"?:"5j5WMuITu8-cV1RdClUeNgnSg3aLJpCYiFvzcwDgYhI","scope"?:"read","iat"?:1776222894,"exp"?:1776223494}{"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"}