- Human users: Ensure only authorized individuals can interact with AI models and applications.
- AI agents: Control autonomous AI agent access to external APIs using scopes.
- External APIs and tools: Securely connect AI agents to Google, Slack, GitHub, and more. Auth0 automatically refreshes and exchanges tokens without user intervention.
- Sensitive data: Enforce granular, least-privilege permissions to protect sensitive data from unauthorized AI agent access.
Use cases
Auth for GenAI empowers developers to build and deploy secure AI-powered applications with:- Seamless integrations: Integrates out-of-the-box with popular AI frameworks like LangChain, LlamaIndex, and the Vercel AI SDK.
- Comprehensive security controls: Secures authentication flows with OAuth 2.0 and Connect and manages access for both human users and AI agents.
- Asynchronous authorization: Enables human-in-the-loop controls for critical actions.
- for RAG: Enforces granular access control within Retrieval Augmented Generation (RAG) pipelines.
User authentication
Leverage OAuth 2.0 and OpenID Connect to securely authenticate users with Universal Login. With Client-Initiated Account Linking, AI agents can request access and connect to multiple on the user’s behalf through Auth0.Call APIs on users’ behalf
Using Token Vault, AI agents can fetch for external identity providers to call their APIs, all through a single Auth0 integration. For example, you can use Token Vault to:- Authenticate a user with an external identity provider like Google.
- Use OAuth scopes to authorize access to the Google Calendar API.
- Get an access token to call the Google Calendar API to schedule a meeting.
- Microsoft
- Box
- Slack
- GitHub
- OpenID Connect
- Custom connection
Asynchronous authorization
Add human-in-the-loop controls for critical or delayed actions using secure protocols, such as:- Client-Initiated Backchannel Authentication (CIBA): Enables AI agents to asynchronously implement secure backchannel authentication and when user approval is required before taking an action.
- Rich Authorization Requests (RAR): Enhance security by requesting specific authorization permissions for users to approve through push notifications.
Authorization for RAG
Use Auth0 FGA to enforce document and relationship-level access control in your Retrieval Augmented Generation (RAG) pipelines:- Document-level access control: Performs granular permission checks on RAG data sources.
- Relationship-Based Access Control (ReBAC): Replaces broad roles with precise, fine-grained relationship-based access control decisions.
- Compliance support: Ensures only authorized data is retrieved for data privacy and regulatory compliance.
AI Framework Integrations
Auth for GenAI integrates out-of-the-box with leading GenAI frameworks and tools, such as:- LangChain
- LlamaIndex
- Vercel AI SDK
- GenKit
- Cloudflare Agents
- Cloudflare Model Context Protocol (MCP) Servers