WhoBuilt

Identity for AI Agents

Jan 14, 2026· 1 h 22 min· 8.4K views·Watch on YouTube

Speakers

Patrick Riley and Carlos Galan of Auth0 discuss identity and authorization for AI agents at an AI Engineer workshop, with a live demo of an agent, an MCP server, and upstream APIs.

Four needs for agent identity

Galan frames agent security around four needs: identify the human behind an agent, let it call APIs on that person’s behalf, request approval for risky actions, and limit access to specific resources. He notes that agents may run as task runners or act autonomously, including agent-to-agent interactions. For employees, Okta can also help organizations govern what agents do on their behalf.

Token Vault and delegated access

Riley describes Token Vault as a way to store upstream refresh tokens and exchange a user’s token for access to services such as Slack or Google. In the demo, the user first signs in, then explicitly connects an upstream trading account and grants scopes before the agent can read portfolio data. The SDK manages token exchange and refresh, reducing the need to ask the user to sign in again whenever a short-lived token expires.

Securing MCP tools

The presenters model an MCP server as an API with scopes for tools such as reading trades and portfolios. They demonstrate protected resource metadata and dynamic client registration, then use an authorization code flow with PKCE to obtain a scoped token for an MCP client. Riley explains that upstream services define the scopes they accept, and the connection maps those permissions to the local setup.

Approval for risky actions

Galan and Riley use a stock order as an example of an action that should require human approval. With a CIBA-based backchannel request, the agent sends transaction details such as the stock symbol, quantity, and price; the user approves through Guardian, and the resulting token records the approved details. They also explain that the user remains the subject while the agent is identified as the client acting on the user’s behalf.

Workshop demos and integration status

The presenters show early integrations with MCP Inspector, Claude Code, and the OpenAI Apps SDK, while noting that the integrations are new and some require configuration. In the final discussion, Galan says users can establish app connections once and reuse them until the upstream refresh token expires. Riley points attendees to a final workshop branch with the demo changes.

Takeaways

  • Bind each agent action to a human subject and identify the agent client separately.
  • Request only the upstream scopes the agent needs, and map them to the service’s own permissions.
  • Use managed token exchange and refresh for agents that need to run beyond a user’s login session.
  • Require explicit approval for risky operations, with the exact transaction details included in the authorization.
  • Treat MCP registration and client integrations as implementation-specific; verify current support before building around them.

Mentioned in this talk

Search inside this talk

What was claimed 9

Related talks