Skip to content
IAM Insights

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.

IETF Datatracker · Yurong Song, Lun Li, Faye Liu · July 3, 2025 · read

share
1 finding4 sectionsAgentic identityStandards
2,258 words. With Yurong Song, author, Huawei; Lun Li, author, Huawei; Faye Liu, author, Huawei Singapore.
01

What's happening

Finding1
BI-FIND-2025-0369Lead finding

Song, 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.

high confidencebest source: vendor, technicalobserved Jul 2025EvidenceIntroduction and Terminology (§§1–2)Section 2Access Token Request & Response (§3.3)
flag a problem with BI-FIND-2025-0369
Figure steps
  1. The client registers agent or model identity and capabilities. After receiving an authorization grant, it selects the target for the task.
  2. The token request can include target_id. The authorization server checks target registration and binding to the client.
  3. The access token can carry the target identifier as tar. Both target_id and tar are OPTIONAL in the draft.
  4. The client presents the access token and should send target_id. The resource server checks whether that target identifier is included in the token.
  5. When validation succeeds, the resource server returns the resource to the client.
Fig. 1

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 →

02

Section by section

4

showing 4 of 4

[1]

Introduction and Terminology (§§1–2)

Yurong Song, Huawei · Lun Li, Huawei · Faye Liu, Huawei Singapore

Agentic identityStandards

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

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

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

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

Terms used

Access token
An OAuth 2.0 credential, usually an opaque string, representing a specific scope and lifetime of access that the resource server enforces when a client presents it.
AI agent
Software that uses an AI model to decide its own next steps and then acts through tools and APIs, rather than answering a single prompt. Because it acts, it needs an identity of its own.
OAuth
The web's standard framework for delegated authorization — letting one application act at another on a user's (or machine's) behalf without sharing passwords.
Resource server
In OAuth, the API that holds the protected data and accepts access tokens.

Read next

Was this briefing useful?

Share this briefing

Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.

Follow us on LinkedInRSS feed

Working on an identity problem this research touches? Talk to Boston Identity