Langflow SSO: OIDC, LDAP and Entra ID

Langflow accepts JWTs from any OIDC identity provider through its documented external authentication settings. LDAP, SAML and provider-specific SSO need the separate SSO plugin, which is obtained through the Langflow account team with no published price or edition name.

On this page

Does Langflow SSO meet a company identity requirement?

Langflow validates JWTs from any OIDC provider that issues them. Once external authentication is enabled with a JWKS URL, an issuer and an audience, Langflow checks incoming tokens against those values, so the identity provider authenticates users and Langflow accepts only tokens that match. Provider-specific sign-in for OIDC, SAML and LDAP is a separate SSO plugin, and the docs direct you to your Langflow account team for it. No price or edition name is published, so request both in writing before you plan around it. Keycloak is the docs' worked example. Entra ID fits the same generic OIDC path, but you must confirm in your own tenant which issuer, JWKS and audience values Langflow accepts before you design around it.

Even with the built-in OIDC path, your team still builds three things. First, the identity provider setup: the client registration, token settings, the signing keys published at the JWKS URL, and the group or claim data your access policy relies on. Second, the access mapping: decide which directory groups map to which Langflow roles, and test each mapping with real accounts. RBAC enforcement is documented as a plugin, so plan the mapping against the authorization your instance actually enforces, and confirm that in the authorization docs before you sign off. Third, the break-glass path: keep a tested way into the instance when the identity provider is down. The superuser account set by LANGFLOW_SUPERUSER_PASSWORD is the documented fallback without external authentication, so confirm whether it still works with external authentication enabled, then store its credentials in your vault and log every use.

Decide the route before the build starts. Use the generic OIDC path if your policy requires OIDC sign-in with your own mapping and break-glass controls. Request a quote for the SSO plugin if your policy requires SAML or LDAP directly, or provider-specific behavior the generic path cannot meet. Ask the account team which providers the plugin supports, how its configuration file is structured, and how it changes the external authentication settings, and get those answers in the written scope. Verify either route with a sign-in test for each provider, a test that a removed or disabled user loses access, and a check that the break-glass login still works.

Which Langflow SSO option is built in, paid only or outside the product

This table compares each sign-in option the Langflow docs describe for OIDC, SAML, LDAP, Entra ID and the local superuser account. Read the status column first: built-in options work from the open-source configuration, while provider-specific SSO arrives as a plugin that you request from your Langflow account team. The main takeaway: a generic OIDC setup may reach Entra ID without the plugin, but confirm the exact claims and behavior before you commit.

CapabilityStatusHow it is enabledWhat it needs around it
Generic OIDC through JWTsBuilt inSet LANGFLOW_EXTERNAL_AUTH_ENABLED=true with a JWKS URL, issuer and audienceAny OIDC provider that issues JWTs; Keycloak is the docs' worked example
Provider-specific OIDC through the pluginPlugin, contact account teamSet LANGFLOW_SSO_ENABLED, LANGFLOW_SSO_PROVIDER and LANGFLOW_SSO_CONFIG_FILEPlugin availability, edition and pricing come from the Langflow account team; no price is published
SAML through the pluginPlugin, contact account teamSame LANGFLOW_SSO settings, with the SAML provider set in the plugin config fileIdentity provider metadata and certificate setup; confirm supported SAML settings with your account team
LDAP through the pluginPlugin, contact account teamSame LANGFLOW_SSO settings, with the LDAP provider set in the plugin config fileDirectory connection and user search settings; confirm details with your account team
Entra ID through the generic pathConfirm with vendorGeneric external auth using the Entra JWKS URL, issuer and audienceEntra app registration and token claims; confirm claim mapping and user matching with Langflow
Local superuser loginBuilt inSet LANGFLOW_SUPERUSER_PASSWORD; auto-login is disabled by defaultA stored password and a documented break-glass procedure for recovery access

How Langflow SSO validates identity tokens

Langflow's external authentication path begins with the identity provider, which issues a signed token to the user after sign-in. When LANGFLOW_EXTERNAL_AUTH_ENABLED=true is set, Langflow does not trust that token by itself. It fetches the signing keys from the JWKS URL you configure, checks the token signature against them, and then compares the token's issuer and audience with the values you configured. Only a token that passes all three checks produces a Langflow session. The external authentication page uses Keycloak as the worked example, and any OIDC provider that issues JWTs follows the same pattern. Your task is to confirm that the issuer value matches exactly what your provider writes into the token, including any trailing slash, because a mismatch fails every sign-in while the provider itself looks healthy.

Provider-specific sign-in is a separate layer. The generic path accepts any OIDC-issued JWT, but full provider-specific SSO for OIDC, SAML and LDAP belongs to the SSO plugin. The docs say the plugin is enabled with LANGFLOW_SSO_ENABLED, selected with LANGFLOW_SSO_PROVIDER and configured through the file named in LANGFLOW_SSO_CONFIG_FILE. The docs direct you to your Langflow account team for the plugin, and they publish no price or edition name for it, so confirm its availability, the provider types it supports and the schema of the config file before you design around it. Keep that file under the same change control as the rest of your deployment, since a wrong value there changes who can sign in and no error appears in the token check path.

Where the identity provider, Langflow and the plugin decision meet

The diagram starts with a user signing in at the identity provider, which issues a token that Langflow checks. Langflow then takes one of two paths. If the SSO plugin is not configured, the generic JWT path checks the token against the JWKS URL, issuer and audience you set for external authentication. If the plugin is configured through LANGFLOW_SSO_ENABLED, LANGFLOW_SSO_PROVIDER and LANGFLOW_SSO_CONFIG_FILE, the plugin handles OIDC, SAML or LDAP instead. The superuser account, set with LANGFLOW_SUPERUSER_PASSWORD, sits outside both paths as a break-glass login. Confirm which path your deployment runs before you test anything.

Login paths: generic JWT check, SSO plugin, and superuser fallback.

Which identity decisions shape Langflow SSO

Six choices determine how Langflow signs people in, what they can do after sign-in, and who maintains the setup. Some are technical and some are commercial, and they depend on each other, so settle the identity protocol before mapping roles or agreeing support terms.

Identity provider and protocol

Langflow's documented route for any OIDC provider that issues JWTs is external authentication, enabled with LANGFLOW_EXTERNAL_AUTH_ENABLED=true. Provider-specific SSO for OIDC, SAML and LDAP is a separate plugin, so your directory type decides whether the plugin enters scope. Entra ID is an OIDC provider, but confirm that its tokens pass Langflow's checks before you rely on the JWT path. The identity team picks the source of truth, and the platform team confirms the protocol before build work starts.

External authentication docs

Claim and audience design

Langflow validates incoming JWTs against a JWKS URL, an issuer and an audience, so each value must match what the identity provider puts in the token. A mismatch fails sign-in, and an overly broad audience can let tokens issued for other applications pass. Decide which claim identifies the user and whether it becomes the Langflow account name. Decode test tokens from your Entra ID or other provider tenant and confirm each claim before rollout.

Plugin need for SAML or LDAP

If your workforce directory uses SAML or LDAP, or you need provider-specific SSO features, external authentication alone does not cover the requirement. The SSO plugin is configured with LANGFLOW_SSO_ENABLED, LANGFLOW_SSO_PROVIDER and LANGFLOW_SSO_CONFIG_FILE, and the docs direct you to your Langflow account team for it. Confirm the plugin's supported providers and config format before you commit to a directory design, including how it handles your Entra ID setup. Security architects and procurement should decide this together.

Mapping access to people and teams

Authentication tells Langflow who signed in, but the docs describe role-based access control and authorization as a separate plugin. Confirm whether directory groups map to Langflow roles before assuming they do. Decide which groups receive which roles, who approves changes, and how leavers lose access. Langflow does not enforce isolation between users within a single process, so access design cannot replace separate deployments for sensitive data. Application owners and IAM administrators own this mapping.

Authorization docs

Superuser password custody

Without external authentication, Langflow relies on a superuser account set by LANGFLOW_SUPERUSER_PASSWORD, and official packages and Docker images disable auto-login by default. That password is a break-glass credential that remains useful after SSO works, so decide where it lives, who can read it and how it rotates. Store it in your secrets manager, inject it at deploy time, and keep it out of committed compose files and Helm values. Platform and security leads should confirm how break-glass use is logged.

API keys and authentication docs

Account team and support ownership

The docs do not publish pricing or an edition name for the SSO plugin, so the Langflow account team is the route to scope, licensing and support terms. Ask in writing which SSO providers, versions and deployment models the plugin covers and who supports it after go-live. Also ask how Langflow upgrades affect plugin configuration. Procurement and the CISO should agree who signs and who owns the relationship, because your platform team will operate the result.

How the answer changes by identity provider

Keycloak is the worked example in the Langflow external authentication docs, so it is the path with the most documented detail. Langflow accepts JWTs from any OIDC provider once external authentication is enabled, so the Keycloak steps show the pattern other OIDC providers follow. Read the external authentication page before you copy any value into your environment.

  • Documented settings: Set LANGFLOW_EXTERNAL_AUTH_ENABLED=true with the JWKS URL, issuer and audience that your Keycloak realm publishes.
  • Realm and client: Create a dedicated realm and client for Langflow, then confirm that the audience in the issued token matches the value Langflow expects. The audience depends on how your client and its mappers are configured, so check that against your Keycloak version.
  • Token testing: Sign in as a test user, pass the token to Langflow and confirm that an expired token or a token with the wrong audience is refused.
  • Scope of the control: External authentication confirms who signed in. The docs place role enforcement in the authorization plugin, so confirm how Keycloak groups would map to Langflow roles before you assume any mapping exists.

Before approval, confirm the JWKS URL, issuer and audience in your own realm and record the Keycloak version you tested.

What Langflow SSO leaves to your team or the plugin

The OIDC path covers sign-in and token checks, and the SSO plugin covers provider-specific sign-in for OIDC, SAML and LDAP. Several operational controls are not settled by the published pages, so confirm each one with the Langflow docs or your account team before you commit to a design. The cards below name what to confirm and where teams usually cover it.

Group-to-role mapping

Identity provider groups have to become Langflow roles, and the docs present role-based access control as a plugin concern. Confirm which claims the SSO plugin reads, how a group maps to a role, and what happens when a user belongs to several groups. Teams usually handle this with one group per Langflow role, a claim filter in the identity provider, and a test account for each role that is checked after every configuration change.

Authorization docs

User provisioning and deprovisioning

Confirm whether Langflow creates a local user on first sign-in and whether it disables or removes that user when the identity provider account is disabled. If accounts are only created at login, a departed employee may keep flows, keys or workspace content until someone removes them. Teams usually cover this with an offboarding checklist in the identity provider, a scheduled review of active Langflow users, and a test that a disabled account cannot sign in.

Sign-out and session lifetime

Confirm how long a Langflow session stays valid after its token expires, whether signing out of the identity provider ends the Langflow session, and which token lifetimes the plugin accepts. A long-lived session on a shared workstation is a common gap in browser-based tools. Teams usually shorten token and idle lifetimes in the identity provider, then test sign-out from both Langflow and the provider.

Multi-factor enforcement

Confirm whether the plugin reads authentication context claims, so Langflow can tell whether a second factor was used for the sign-in. Also confirm whether the local superuser login stays available when SSO is turned on, since the authentication docs describe it as the default path without external authentication. Teams usually enforce MFA in the identity provider policy before a token is issued, then restrict the local superuser path so it cannot bypass that policy.

External authentication docs

API keys alongside SSO

Confirm whether API keys keep working when SSO is enabled, who owns each key, and whether a key can be scoped or revoked from a central place. A key created by one person can outlive that person's SSO access, so it is a separate credential path to review. Teams usually inventory keys, set a rotation schedule, and place a gateway in front of the API to control which callers can reach it.

API keys docs

Audit logging of sign-ins

Confirm which sign-in events Langflow records itself, such as successful logins, failed attempts, and the user identifier and source address on each event. Identity provider sign-in logs often hold the authoritative record, but they usually do not show which flow a user opened. Teams usually export identity provider logs to a central log platform and add reverse proxy or gateway access logs, so both halves of a sign-in can be matched.

Order of work to put Langflow SSO in production

This sequence settles the identity design before production changes, then proves sign-in, denial and emergency access in a test environment. Each step ends with a written output that the security team can review before go-live.

  1. Confirm the identity provider and protocol

    Your identity team and the Langflow owner agree on the source of truth for users, such as Microsoft Entra ID, an LDAP directory or another OIDC provider, and on the protocol each access path will use. Verify the tenant or domain, how group membership appears in tokens, which claim identifies a user, and who approves changes on the provider side. The step is done when this decision is written down with a named owner on the identity side.

  2. Confirm the plugin need and terms

    Compare your requirement against what Langflow documents for external authentication. The docs describe JWT-based authentication from any OIDC provider, while provider-specific SSO for OIDC, SAML and LDAP is a separate plugin, so check whether your Entra ID or LDAP setup needs it. If it does, contact the Langflow account team and request the plugin terms in writing, including the edition, support scope and upgrade responsibilities. The step is done when the team holds a signed-off feature list and the written terms.

  3. Build the design in a test environment

    Deploy a non-production Langflow instance on the same release line you plan to run in production, then connect external authentication to a test tenant or directory. Verify that the key set address, issuer and audience values match the identity provider exactly, and that each test user reaches the workspace they should. Confirm any role or team mapping against the authorization documentation, and keep secret values out of the configuration files stored in version control. The step is done when a test user signs in through the identity provider.

  4. Test sign-in and denial for unauthorized users

    Test an authorized sign-in, then confirm that an account outside the permitted group, an expired token, a token with the wrong audience and a token from an unexpected issuer are all refused. Check that the API cannot be called with a copied or forged credential, and confirm whether API keys created by a user stay valid after that user leaves the identity provider. Record each case with the expected result, the actual result and the tester. The step is done when every denial case fails closed and the log is attached to the change request.

  5. Confirm the break-glass path and its storage

    Decide how an administrator regains access if the identity provider is unavailable or misconfigured. Confirm on the test instance how the superuser account behaves once external authentication is enabled, because the authentication docs describe the superuser password as the default access path when external authentication is not in use. Store the credential in a restricted vault with named custodians and alerts on use, then rehearse the recovery once. The step is done when the procedure is written, the vault access list is reviewed and the rehearsal result is recorded.

  6. Review the result with the security team

    Walk the security team through the design, the test evidence, the break-glass procedure and the open risks before any production change. Include the Langflow security guidance that the project does not enforce isolation between users within a single process, and confirm how that affects your deployment model and who may share an instance. Record each decision, the owner of every open risk and the conditions for go-live. The step is done when the security team signs off in writing and the production change is scheduled through your normal change control.

What a security reviewer asks to see for Langflow SSO

This table lists the evidence a security reviewer usually asks for when Langflow sign-in goes through OIDC, LDAP or Entra ID. Each row names what the item proves and where it comes from, so you can request it from the right owner before the review starts. Treat any item you cannot produce as an open question to resolve before go-live.

Evidence itemWhat it provesWhere it comes from
IdP configuration recordShows the provider type, issuer, client or audience, and registered redirect addresses for LangflowThe identity provider
Token validation settingsShows Langflow checks JWT signatures against the JWKS URL and enforces the configured issuer and audienceLangflow docs and the identity provider's JWKS endpoint
Plugin contract and config fileShows LANGFLOW_SSO_ENABLED and LANGFLOW_SSO_PROVIDER are set, and the file named by LANGFLOW_SSO_CONFIG_FILE holds no plain-text secretsThe account team
Superuser credential handlingShows LANGFLOW_SUPERUSER_PASSWORD comes from a secret store, auto-login stays off, and the account is used only for break-glass accessLangflow docs and customer's own records
Test results for allowed and denied usersShows an assigned user can sign in, while an unassigned user, expired token or wrong-audience token is refusedCustomer's own records from tests run in your environment
Sign-in logs held by the identity providerShows who signed in to the Langflow application, when, and which attempts failed, with retention set by your policyThe identity provider
LDAP or Entra ID group membershipShows which directory groups can reach Langflow and that removing a user from the group ends accessThe identity provider, with plugin behavior confirmed by the account team

What buyers ask before approving Langflow SSO

Is the generic OIDC path enough for our identity provider?

For sign-in, often yes. Langflow's external authentication accepts JWTs from any OIDC provider once LANGFLOW_EXTERNAL_AUTH_ENABLED is set to true, along with a JWKS URL, an issuer and an audience. The external authentication page lists these settings, and it uses Keycloak as the worked example, so check each value against your provider's documentation. The generic path does not add provider-specific SSO flows, and it does not enforce role-based access on its own. Before you rely on it, ask your identity team to confirm three things: the provider issues tokens Langflow can validate, the audience value matches your configuration, and any group or role claims you want to map are present in the token. Claim names vary by provider, so test with a token from your own tenant before approving the design.

Do LDAP and SAML logins require the SSO plugin?

Yes. The Langflow docs describe provider-specific SSO for OIDC, SAML and LDAP as a plugin, configured through LANGFLOW_SSO_ENABLED, LANGFLOW_SSO_PROVIDER and LANGFLOW_SSO_CONFIG_FILE. The docs direct you to your Langflow account team for the plugin, and they do not publish an edition name. Ask the account team to confirm which plugin edition covers your exact LDAP or SAML setup, including directory type, TLS and group lookup. Also ask which Langflow versions it supports, how it behaves across upgrades, and whether RBAC enforcement is part of the same package, since the docs describe that as a plugin too. Request the answers in writing before you finalize the design, because the public documentation does not give enough detail to decide on its own.

What does the SSO plugin cost, and what drives the quote?

The plugin has no published price, so the quote is built from scope. The Langflow docs say to contact your account team and do not name a price or edition. Costs fall into two groups. The first is the plugin itself, which Langflow's account team quotes, including any license term and renewal conditions. The second is the services work: discovery of your identity provider or directory, configuration of the plugin, testing of login and group mapping, changes to your Docker or Kubernetes deployment, and handover. DeployOpen does not publish a price list. Services are quoted from a written scope with agreed deliverables and timelines before work starts. Ask for line items that separate the plugin license, the services, any recurring fees, and the assumptions about your identity provider, plus the cost of changes if the scope grows.

How long does an SSO integration take to complete?

The duration depends on the identity provider, the protocol and how much of the access model you need at go-live. Several factors add time: an identity provider that has not been tested with Langflow, LDAP directories with nested groups or unusual attribute schemas, group-to-role mapping that needs sign-off from several owners, and certificate or TLS work for internal endpoints. Approvals often take longer than the configuration itself, so plan for them separately. Factors that shorten the work include a standard OIDC provider already used by other internal applications, a finished list of groups and roles, and test accounts ready in a non-production environment. Deployment shape also matters, since a single Docker host involves fewer moving parts than a Kubernetes cluster with several workers. Ask for a timeline with a discovery phase, a test environment milestone, a production cutover window and a rollback plan.

What do we need to provide before SSO work starts?

List what the team must hand over before work begins, and confirm it in the written scope. Expect to provide:

  • Identity provider details: provider type, discovery or metadata URL, issuer, audience and the JWKS endpoint for OIDC.
  • Directory details for LDAP: server addresses, a bind account, the base DN, and the attributes and groups used for access.
  • The group and role model: which people get which Langflow permissions, with a named owner who approves it.
  • A non-production Langflow instance and test accounts that match your real user types.
  • Access to the environment where Langflow runs, including its Docker or Kubernetes configuration and secret store.
  • A named contact for identity, security and the application owner.

Bind passwords and client secrets should go through your own secret management. Keep them out of chat and tickets.

Can our own team configure Langflow SSO without a partner?

Often yes, if your team already runs Langflow and operates an identity provider, and you have access to the plugin if your design needs it. The generic OIDC path relies on environment variables and token validation, so an engineer who knows your identity provider can configure and test it. The plugin path depends on access from the account team, so confirm that first. Whether your team should do the work depends on skills you have in-house: identity federation, LDAP administration, secret handling in Docker or Kubernetes, and test design. Ask who will own the group mapping after go-live, who can approve changes, and who can reproduce a failed login during an incident. An outside implementation partner adds the most value when the team lacks one of those skills or lacks time before a deadline. DeployOpen implements, hardens, documents and supports self-hosted platforms in your own infrastructure, from a written scope.

What is still our responsibility after SSO goes live?

After go-live, your organization keeps operating the login path, not just owning the initial setup. You keep ownership of the identity provider, the group and role mapping, and the secrets Langflow uses. Recurring tasks include reviewing access when people change roles, rotating client secrets and bind passwords, retesting login after identity provider changes, and checking plugin and Langflow version compatibility before each upgrade. Langflow publishes releases on its GitHub releases page, and releases arrive roughly weekly, so schedule a regular upgrade test. Document the issuer, audience and JWKS values, the environment variables, and the rollback steps. Monitoring of failed logins and a regular access review should also have a named owner. A support retainer or continuous testing can cover parts of this work, but decisions about who gets access stay with your organization.

How DeployOpen scopes and runs Langflow SSO in your infrastructure

DeployOpen plans, implements, integrates and documents Langflow sign-in in infrastructure you control. We start from your identity provider and the access model your teams already use, then agree the scope in writing before any work begins. Each engagement is fixed-scope, so the deliverables for OIDC, LDAP or Entra ID are listed before the build starts.

How we scope

  • Confirm which path applies: external OIDC JWT authentication or the provider-specific SSO plugin for LDAP or SAML.
  • Record the issuer, JWKS URL and audience for your OIDC or Entra ID tenant in the written scope.
  • Fixed-scope agreements list the SSO integration, test cases, documentation and handover, with ongoing support available as a retainer.

How we build

  • Keep auto-login disabled and document the LANGFLOW_SUPERUSER_PASSWORD account as a controlled fallback for administrators.
  • Configure JWT validation in your Langflow environment and test expired, wrong-audience and unsigned tokens.
  • Confirm with the Langflow account team the terms and configuration of the SSO plugin before scoping LDAP.

How we hand over

  • Written documentation of environment variables, identity provider settings and token validation settings for your operators.
  • A test record showing sign-in with each agreed identity source and the rejection of invalid tokens.
  • A handover session with the administrators who will update JWKS settings and review access after changes.

How we support

  • Ongoing support can cover upgrades, identity provider changes and re-testing of sign-in after Langflow upgrades.
  • Retainers can include continuous testing, so authentication changes are checked when Langflow or your identity provider changes.
  • Agree in writing which support, retest and upgrade tasks sit in a retainer and which are one-time work.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.