AAuth Explorer
accessPhase 4

User Delegation — Deferred Authorization

The Access Server requires user consent before issuing an auth token. It returns 202 Accepted with a pending URL (for polling) and an interaction URL (for the user to visit). Agent polls while user approves in a browser.

§ User Delegation
AgentResourcePerson ServerAccess ServerUser1GET /data-auth → 401 + reso…4012POST resource token to PS3PS federates to AS /token4AS returns 202 → PS → Agent5Poll pending URL → 202 stil…6User opens interaction URL …7Poll pending URL → 202 inte…8Poll pending URL → 200 + au…9Retry with auth token → 200
GET https://api.example/data-auth401

Resource issues 401 + resource token challenge.

The flow starts like Phase 3, but the AS will defer issuance pending user consent.

1 / 9
speed

Step 1: GET /data-auth → 401 + resource token

Request / response
Token Lifecycle
Resource Tokenaa-resource+jwt
Agent Tokenaa-agent+jwt
Auth Tokenaa-auth+jwt
Deferred Authorization Polling
GEThttps://api.example/data-auth
Host

api.example

Signature-KeyAAuth?

sig=jwks_uri;id="https://agent.example";kid="agent-key-1"

Signature-InputAAuth?

sig=("@method" "@authority" "@path" "signature-key");created=1700000000;alg="ed2…

SignatureAAuth?

sig=:FBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQ…

HTTP Signaturescheme=jwks_uri

Covered Components

@method
@authority
@path
signature-key

Signature Base

"@method": GET
"@authority": api.example
"@path": /data-auth
"signature-key": sig=jwks_uri;id="https://agent.example";kid="agent-key-1"
"@signature-params": ("@method" "@authority" "@path" "signature-key");created=1700000000;alg="ed25519"

Signature-Key Header

sig=jwks_uri;id="https://agent.example";kid="agent-key-1"

Signature-Input Header

sig=("@method" "@authority" "@path" "signature-key");created=1700000000;alg="ed25519"

Resource Tokenaa-resource+jwt
Header
{
"alg":"EdDSA",
"kid":"as-key-1",
"typ"?:"aa-resource+jwt"
}
Payload
{
"iss"?:"https://api.example",
"aud"?:"https://as.example",
"dwk"?:"aauth-resource.json",
"jti"?:"12a636d0-a852-40a9-9124-2087e0d7f066",
"agent"?:"https://agent.example",
"agent_jkt"?:"1FNwxhV09Z2qgypZ7wHKC4lga_g5zEYuQ4l9LBVdszg",
"scope"?:"read write",
"iat"?:1776224501,
"exp"?:1776225101
}
sig: eLx4tCiLfz1HSXlmxSgPw1578Zbay-91