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.
Identity for AI Agents
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.
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.
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.
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.
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
- works atPatrick Riley works at
Auth0
“Our architect, Abiyek—he goes by the nickname Shrek”
YouTube Verified2 sources· Talk, Web· archived
- featureClient Initiated Backchannel Authentication: Lets an agent request user approval for an operation and receive an access token containing the approved details
“a mechanism and protocol for the agent to reach out to the user when an operation needs human approval”
YouTube Unverified1 source· Talk
- uses
“we implemented a CIBA flow as part of the Okta AI offering”
YouTube Unverified1 source· Talk
- featureToken Vault: Persists upstream resource refresh tokens and supports token exchange on behalf of users
“a new mechanism for persisting your upstream resource refresh tokens”
YouTube Unverified1 source· Talk
- launched
Auth0 launched Token Vault
“Token Vault is another major feature we're introducing with this more AI-targeted Auth0 release”
YouTube Unverified1 source· Talk
- feature
Auth0: Models agents as clients and APIs as OAuth resource servers
“model the agent as a client and your APIs as traditional OAuth resource servers”
YouTube Unverified1 source· Talk
- uses
“model the agent as a client and your APIs as traditional OAuth resource servers”
YouTube Unverified1 source· Talk
- uses
“we use the Auth0 SDK for Next.js”
YouTube Unverified1 source· Talk
- feature
Auth0: Supports MCP server authorization with scopes and dynamic client registration
“adding the well-known Protected Resource Metadata endpoint”
YouTube Unverified1 source· Talk











