-
Notifications
You must be signed in to change notification settings - Fork 9.8k
docs: external authentication, RBAC, SSO #13866
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
814a633
docs: add rate limiting and signup env vars
mendonk d31200d
docs: configure global vars in k8s secrets
mendonk 45a9183
docs: per-process login rate limiting
mendonk c0583d8
docs: initial rbac and sso content
mendonk d57ee77
docs: move jwt page to auth and add redirect
mendonk 61a64eb
docs: add keycloak example
mendonk 72218dc
Merge branch 'release-1.11.0' into docs-rbac-and-sso
mendonk bba52c2
Merge branch 'release-1.11.0' into docs-rbac-and-sso
mendonk 33ad10e
docs: authorization plugin interface
mendonk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| --- | ||
| title: Authentication and authorization overview | ||
| slug: /authentication-overview | ||
| --- | ||
|
|
||
| Langflow uses *authentication* to verify who a user is before granting access, and *authorization* to control what an authenticated user is allowed to do. | ||
|
|
||
| Authentication and authorization are configured independently. Most deployments only require authentication. Authorization is an optional plugin that adds role-based access control (RBAC) to your server. | ||
|
|
||
| To configure authentication and authorization for your Langflow server, pick your authentication path below and follow the corresponding documentation. | ||
|
|
||
| * To secure a Langflow server with user accounts and API keys using Langflow's built-in authentication, see [API keys and authentication](./api-keys-and-authentication). | ||
| Built-in authentication is always available and is the default setting. Users log in with a username and password, and Langflow issues a short-lived JWT session token and validates Langflow API keys against its own database. | ||
|
|
||
| * To connect Langflow to your company's SSO, OIDC, or identify provider, see [SSO and external authentication](./external-authentication). | ||
| External authentication lets an upstream identity provider, OIDC proxy, or corporate SSO gateway handle login. Langflow accepts the token the proxy forwards, validates it against the identity provider's JWKS endpoint, and provisions a local user automatically. | ||
|
|
||
| * To configure RBAC on your Langflow server, see [Authorization](./authorization). | ||
| After a user is authenticated by any of the authentication paths, the authorization layer decides what the user can do. | ||
| RBAC enforcement requires a registered authorization plugin. | ||
|
|
||
| When multiple credentials are present, Langflow tries each credential in the order of built-in JWT, external token, and then Langflow API key. | ||
|
|
||
| ## See also | ||
|
|
||
| - [Environment variables](/environment-variables) | ||
| - [Security](/security) | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Indent the path descriptions under each bullet.
Lines 13, 16, and 19 are flush-left, so MDX renders them as standalone paragraphs instead of part of the chooser list. That breaks the scan pattern here, and Line 15 still says
identify provider.Suggested fix
As per coding guidelines, "keep paragraphs short and scannable."
📝 Committable suggestion
🤖 Prompt for AI Agents
Source: Coding guidelines