← back

Securing Agents with Open Standards — Bobby Tiernay and Kam Sween, Auth0

1.1K views · Jun 30, 2025 · 18:41 min · Watch on YouTube ↗
Takeaway

Use open identity standards (OAuth 2.1, token exchange, CIBA, FGA at retrieval) to keep agent actions tied to real users with scoped short-lived tokens, not env-var keys.

Summary

  • Auth0 (Okta) pushes OAuth 2.1 + token exchange + token vault as the foundation for agent identity — anchor agents to real users instead of running with shared service-account keys
  • OWASP 'excessive agency' is the umbrella risk: scope tokens narrowly per user and API, prefer short-lived tokens minted via token exchange over static env-var keys
  • Demo uses CIBA (Client-Initiated Backchannel Authentication) so a background agent requests user approval via push notification — keeps human in the loop for sensitive actions
  • For RAG, enforce fine-grained authorization at the retrieval layer (not inside the LLM) so prompts never see data the user shouldn't
  • MCP servers should use OAuth 2.1 flows with the MCP server handling token minting — agent never holds third-party credentials, scoped at request time
agent-securityoauthidentity
Original description
Shipping AI agents that are safe for production means solving some tough identity and authorization challenges that are not always obvious at the prototype stage. In practice, this comes down to a handful of deeply technical questions:
- How do you make sure agents are only acting for the right user?
- How do you prevent over-broad API access or data leaks?
- How do you handle user approvals when there is no UI, or you need a human in the loop?
- And how do you avoid the usual pain points like manual credential sharing, stale keys, or unpredictable scopes without writing a lot of brittle, custom code?

This talk digs into the real technical trade-offs behind building secure, user-aware AI agents. We will go beyond what to do and explain why, sharing the architectural decisions, open standards, and hard lessons learned from integrating OAuth, OIDC, RAR, and async authorization into agent-driven workflows.

You will see a hands-on demo using an open-source Node.js agent and open protocols, with a focus on practical integration and no magic. The session will show how these solutions have shaped our approach to identity in GenAI and where we see the field heading next.

If you are an engineer building AI apps that need real guardrails, not just a happy-path demo, we hope to leave you with some practical patterns, design rationale, and a clear view of the trade-offs for making your own agents production ready.

About Bobby Tiernay
Bobby has spent eight years at Okta as an architect working on Auth0 and Okta Platform products. He's passionate about generative AI and loves experimenting with new tech in his free time. At work, he helps teams develop AI solutions that improve both internal tools and customer products. With a background in data security and AI governance, Bobby connects research ideas to real-world applications. He's driven by a simple goal: making identity security easier and more secure for the people who use Auth0. When tackling complex challenges, he keeps things straightforward, collaborative, and (hopefully 🤞) fun.

About Kam Sween
Kam is a Staff Engineer at Auth0 (an Okta company), where he transforms regulation-heavy legacy systems into lean, cloud-native platforms—and builds the tools that make tomorrow’s tech possible today. As the tech lead for the AI Frameworks & Services team, Kam architects the SDKs and frameworks that help developers harness AI responsibly (and without accidentally scripting Skynet).

With over a decade of experience building secure, compliant platforms around some of the most sensitive data legally storable in the cloud, Kam brings a rare blend of deep technical fluency and regulatory savvy. His career spans the full stack—from low-level infrastructure to high-level developer experience—making him a natural prototyper of what’s next.

Whether navigating contradictory compliance regimes or designing future-forward architectures, Kam is driven by a simple principle: scalability isn’t a buzzword—it’s a survival tactic. And speed? That’s just what happens when you build things the right way.

Recorded at the AI Engineer World's Fair in San Francisco. Stay up to date on our upcoming events and content by joining our newsletter here: https://www.ai.engineer/newsletter