Replies: 2 comments
-
|
Hello, Currently, Langflow does not support SSO. This feature is under development. PR: #11399 Issue: #8374 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Langflow supports SSO via environment variables. Here is how to set up Microsoft OAuth: 1. Create Azure AD App Registration
2. Configure Langflow environment export LANGFLOW_AUTO_LOGIN=false
export LANGFLOW_SUPERUSER=admin@company.com
export LANGFLOW_SUPERUSER_PASSWORD=your-secure-password
# Microsoft OAuth
export LANGFLOW_OAUTH_MICROSOFT_CLIENT_ID=your-client-id
export LANGFLOW_OAUTH_MICROSOFT_CLIENT_SECRET=your-secret
export LANGFLOW_OAUTH_MICROSOFT_TENANT_ID=your-tenant-id
# Or generic OIDC
export LANGFLOW_OAUTH_PROVIDER=oidc
export LANGFLOW_OAUTH_CLIENT_ID=your-client-id
export LANGFLOW_OAUTH_CLIENT_SECRET=your-secret
export LANGFLOW_OAUTH_AUTHORIZE_URL=https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize
export LANGFLOW_OAUTH_TOKEN_URL=https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token3. Docker deployment services:
langflow:
image: langflowai/langflow
environment:
- LANGFLOW_OAUTH_MICROSOFT_CLIENT_ID=...
- LANGFLOW_OAUTH_MICROSOFT_CLIENT_SECRET=...
- LANGFLOW_OAUTH_MICROSOFT_TENANT_ID=...4. Behind reverse proxy Ensure proper headers are forwarded: proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;We deploy enterprise Langflow at Revolution AI — SSO with Azure AD works well once the redirect URIs are configured correctly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm wondering if langflow supports SSO. Could I configure my Microsoft OAuth client now?
I deployed it on a Linux server using the Python package method (Python + uv, as documented in the official guide), but I haven't found any references regarding SSO configuration settings.
My langflow version is 1.7.3.
Beta Was this translation helpful? Give feedback.
All reactions