- DATE:
- AUTHOR:
- The LangChain Team
Custom authentication & access control for LangGraph Platform
Today, we're thrilled to announce Custom Authentication and Resource-Level Access Control for Python deployments in LangGraph Cloud and self-hosted environments!
This powerful new feature allows you to:
Integrate your own authentication providers (e.g., OAuth2, JWT, Supabase).
Implement granular resource access patterns, ensuring conversations, assistants, and workflows remain private and secure.
Why It Matters
While LangGraph Cloud's built-in API key authentication is great for simple use cases, production deployments often demand more robust solutions. With Custom Authentication, you can:
Validate credentials with your own auth provider.
Scope conversations to specific users for privacy.
Add OAuth support for seamless end-user authentication.
Enforce role-based access control (RBAC) for fine-grained permissions.
This feature provides the flexibility to tailor LangGraph’s authentication and authorization to your app’s unique needs while maintaining LangGraph’s ease of use.
Learn More
Authentication Tutorial Series:
Basic Authentication – Add user authentication to a LangGraph app.
Resource Authorization – Make conversations private with resource filtering.
Production Auth – Connect with OAuth2 providers like Supabase.
Check out the full-stack template to see Custom Authentication in action, integrating a LangGraph chatbot with a React frontend.
Read the blog for more: https://blog.langchain.dev/custom-authentication-and-access-control-in-langgraph/