Briefing · Draft · source · published · Boston Identity
A July OAuth draft proposes authorization for models inside a client
Huawei authors Yurong Song, Lun Li and Faye Liu propose naming the specific agent or model that will use a resource. Their July 2025 Internet-Draft checks that target against its client registration and access token, but marks both new fields optional.
What's happening
Finding1Song, Li and Liu's July 2025 draft proposes checks that an AI agent or model inside an OAuth client is registered, bound to that client and named in its token.
Song, Li and Liu's July 2025 draft identifies an AI agent or model within an OAuth client as a target. Registration records the component's identity and capabilities. At token issuance, the authorization server checks whether the target is registered and bound to the client; at resource access, the resource server checks whether the supplied target identifier is included in the token. The request field target_id and token claim tar are both OPTIONAL, and the draft says the client should send target_id with the resource request. These are proposed checks, with no implementation or security evaluation reported.
flag a problem with BI-FIND-2025-0369
Figure steps
- The client registers agent or model identity and capabilities. After receiving an authorization grant, it selects the target for the task.
- The token request can include target_id. The authorization server checks target registration and binding to the client.
- The access token can carry the target identifier as tar. Both target_id and tar are OPTIONAL in the draft.
- The client presents the access token and should send target_id. The resource server checks whether that target identifier is included in the token.
- When validation succeeds, the resource server returns the resource to the client.
The draft carries the selected target through two checks: its registration and client binding at token issuance, then its presence in the token at resource access.
Drawn from draft-song-oauth-ai-agent-authorization-00, sections 3.1–3.3Source dated July 3, 2025Passage: Access Token Request & Response (§3.3)
Swipe for the full figure →
Section by section
4showing 4 of 4
[1]Introduction and Terminology (§§1–2)
Yurong Song, Huawei · Lun Li, Huawei · Faye Liu, Huawei Singapore
Agentic identityStandards
Introduction and Terminology (§§1–2)
Yurong Song, Huawei · Lun Li, Huawei · Faye Liu, Huawei Singapore
Song, Li and Liu propose identifying an agent or model within an OAuth client as a target. Their examples cover a virtual agent on a client and models inside a physical agent. They argue that identifying the component would help with consent and incident attribution, but provide no test of those benefits.
technical artifactfrom published text
[2]Extension of Protocol Flow and Client Registration (§§3–3.1)
Yurong Song, Huawei · Lun Li, Huawei · Faye Liu, Huawei Singapore
Agentic identityStandards
Extension of Protocol Flow and Client Registration (§§3–3.1)
Yurong Song, Huawei · Lun Li, Huawei · Faye Liu, Huawei Singapore
Agent or model identity and capabilities enter the proposed client registration process. The flow carries target_id to the authorization server and returns it in the token as tar. A client profile is one suggested way to hold registration information; the draft supplies no registration schema.
technical artifactfrom published text
[3]Authorization Request & Response (§3.2)
Yurong Song, Huawei · Lun Li, Huawei · Faye Liu, Huawei Singapore
Agentic identityStandards
Authorization Request & Response (§3.2)
Yurong Song, Huawei · Lun Li, Huawei · Faye Liu, Huawei Singapore
Once it has the resource owner’s authorization grant, the client selects an agent or model capable of the task. The authors suggest capability matching, operational availability, computing resources or preset scenario rules as possible selection methods. They do not prescribe an algorithm.
technical artifactfrom published text
[4]Access Token Request & Response (§3.3)
Yurong Song, Huawei · Lun Li, Huawei · Faye Liu, Huawei Singapore
Agentic identityStandards
Access Token Request & Response (§3.3)
Yurong Song, Huawei · Lun Li, Huawei · Faye Liu, Huawei Singapore
Both target_id in the token request and tar in the access token are OPTIONAL. The authorization server checks target registration and binding to the client; the resource server checks the supplied target identifier against the token. The draft says the client should send target_id to the resource server and may receive unauthorized_client if target validation fails.
technical artifactfrom published text