Research · Finding · updated · Boston Identity
BI-FIND-2025-0127
Senarath and Dissanayaka name the agent in both requests of OAuth's authorization code grant and put its sub in the access token's act claim.
Senarath and Dissanayaka write the agent into both requests of OAuth's authorization code grant and into the token that comes out. The authorization request must carry a requested_actor parameter naming the agent. The token request must carry an actor_token, a token issued to the agent that includes a sub claim, and the authorization server must check that sub against the agent the user consented to, with the code bound to the user, the client and that agent. The access token must then carry an act claim holding the agent's sub, so a resource server reads the user from sub and the agent from act.sub. The flow can start from a resource server's 401 or 403 challenge, and that server can be an MCP server or another agent.
SourceOAuth 2.0 Extension: On-Behalf-Of User Authorization for AI Agents (draft-oauth-ai-agents-on-behalf-of-user-02) · IETF Datatracker · · read
About OAuth for AI Agents on Behalf of Users, OAuth, JWT, Agentic identity and Standards.
From the briefing
Thilina Shashimal Senarath and Ayesha Dissanayaka of WSO2 proposed naming the agent inside OAuth's authorization code grant. The client asks consent for a named agent, the agent's token is checked against that consent when the code is exchanged, and the access token records the agent in an act claim. How the agent gets that token, they write, is outside the draft's scope, and the consent screen itself is only a MAY.
Draft · IETF Datatracker · Thilina Shashimal Senarath; Ayesha Dissanayaka, WSO2 · Aug 26, 2025 · source
Evidence
The passages this finding cites, on the briefing page.
How to cite
Boston Identity. "A WSO2 draft puts the AI agent in OAuth consent and the access token, but not how the agent gets its credential," BI-FIND-2025-0127. IAM Insights, October 14, 2026. https://insights.bostonidentity.com/ref/BI-FIND-2025-0127
© 2026 Boston Identity LLC. All rights reserved. Quote up to 100 words with the credit Boston Identity, IAM Insights and a link. How to cite · Terms
Was this claim useful?