Langflow multi tenant: what isolation Langflow provides

Langflow's security guidance says it does not isolate users within one process, and no multi-tenant mode is documented. Safe tenant separation has to come from separate instances or infrastructure controls.

On this page

Langflow multi tenant: can one instance keep tenants apart?

If your approval checklist asks whether one Langflow instance can keep tenants apart, the answer for the open-source build is no. Langflow's own security guidance states that it does not enforce isolation between users within a single process, so tenant separation must be enforced with separate instances or infrastructure controls. In practice, treat a shared Langflow instance as one trust domain: everyone who can sign in sits inside the same boundary, and the boundary you can defend is the one you build around each tenant. Record that decision in the design file before the security review asks for it.

Within one instance, the documented access model is teams and per-user shares, and those controls are enforced only through the RBAC plugin. The authorization page describes no multi-tenant mode, so a shared instance without the plugin should not be presented as separated by user or group. API keys carry the privileges of the user who created them, and non-superusers cannot use their keys to reach other users' resources, which limits reach but does not create a tenant model. Test before you claim it: sign in as two non-admin accounts in different groups and confirm that each cannot see the other's flows, keys or shares.

The IBM product and support pages do not describe a tenant model for Langflow, and the project's documentation does not describe one either. Ask IBM in writing whether IBM Elite Support or Langflow Cloud changes this answer, and ask for the isolation behavior, the tenant boundary and the responsibility split in the reply, then keep that reply with the approval record. For self-hosted production, the Kubernetes guidance describes a separate headless Runtime deployment that serves only the API, which is the documented way to keep published flows apart from the editor. That separates duties, but each tenant still needs its own instance or an enforced infrastructure boundary.

Which Langflow multi tenant controls are built in, plugin or paid

This table compares which multi-tenant controls ship in the open-source Langflow build, which need the RBAC or SSO plugin, and which sit with IBM's paid offerings. Read each row by asking whether Langflow enforces the control itself or whether your infrastructure must supply it. The main takeaway is that Langflow does not isolate users inside one process, so tenant separation has to come from your deployment. Sources are the Langflow security, API keys and authentication, authorization and Kubernetes architecture pages.

CapabilityOpen-source buildPlugin or paid offeringOutside component needed
Isolation and multi-tenant modeNo isolation between users in one process. No multi-tenant mode documentedNone documentedSeparate instances or clusters per tenant, enforced at the infrastructure level
API keysBuilt in: keys carry the creator's privileges, and non-superusers cannot reach other users' resourcesNot neededNone
Superuser password and auto-loginBuilt in: superuser password required, auto-login disabled by defaultNot neededSecret storage for the superuser password
External authentication with JWTsBuilt in: accepts JWTs from any OIDC providerNot neededAn OIDC identity provider you operate or subscribe to
Provider-specific OIDC, SAML and LDAP SSONot includedSSO pluginIdentity provider configuration and plugin setup
Teams, per-user shares and RBAC enforcementTeams and shares documented, but not enforced in the open-source buildRBAC pluginRole and team design before rollout
Separate headless Runtime for production flowsDocumented Kubernetes pattern that serves only the APINot applicableA second deployment that runs the Runtime without the editor
Multi-worker job queueSupported with Redis 6 or later for the job queueNot neededRedis 6 or later, with the queue type and URL configured
IBM Elite Support and IBM Langflow CloudNot part of the open-source buildIBM paid offerings; no tenant model publishedWritten confirmation from IBM of tenant model and isolation

How Langflow's process model shapes tenant boundaries

The first decision is where the boundary sits, and it cannot sit inside a Langflow process. The Langflow security guidance states that Langflow does not enforce isolation between users within a single process, so any tenant separation has to be built outside that process. A self-hosted layout has four parts that a tenant request passes through: the Langflow process that serves the visual editor and the API, an external PostgreSQL database (recommended over the default SQLite for production on Kubernetes), a Redis job queue shared by multiple workers, and the identity layer in front of the API. Each part is a place where one tenant's flows, data or jobs could reach another tenant's, so each needs a named owner and a documented control.

Langflow's own controls operate at three levels, and they do not add up to a tenant model. At the user level, API keys carry the privileges of the user who created them, and non-superusers cannot use their keys to reach other users' resources. Teams and per-user shares appear in the authorization documentation, but they are enforced only when the RBAC plugin is installed, and the docs describe no multi-tenant mode. The rest of the boundary lives in infrastructure. A separate headless Runtime deployment serves only the API, which the Kubernetes architecture guide describes as the documented way to run production flows apart from the editor. Network policy, namespaces and cluster placement then decide which processes can reach which database, queue and workers. Confirm each control against the version you run.

Treat the design choice as the first decision. If tenants need separate flows, credentials and audit trails, the practical options are one Langflow deployment per tenant, each with its own database and queue, or a shared deployment that relies on the RBAC plugin and a tested isolation check. Before choosing the shared option, ask the vendor or project to confirm which RBAC plugin release supports your Langflow version and how it handles shares. Then test it before you rely on it: sign in as two users, create a flow with a key from each, and try to read, run and export the other user's flow through both the API and the editor. Record the results. A shared Redis queue and PostgreSQL database also need review for what job payloads and stored records contain for each tenant.

Which tenant boundary and identity choices shape a Langflow multi tenant design

Langflow's security guidance places tenant separation outside the application itself. Each card below is a decision that controls who can reach what, how far one failure spreads, how the platform is run day to day, and which evidence a reviewer will request.

Tenant boundary: instance or shared

Decide whether each tenant gets its own Langflow instance or whether tenants share one instance guarded by infrastructure controls. The security page states that Langflow does not enforce isolation between users within a single process, so a shared instance relies on namespaces, network policy and data stores that you configure and test. Separate instances cost more to run but limit blast radius to one tenant. Ask the reviewer which failure of one tenant's flow or key could reach another tenant's data.

Langflow security page

Identity provider and protocol

Langflow accepts JWTs from any OIDC provider through its external authentication support. Provider-specific SSO for OIDC, SAML and LDAP is a separate plugin, so confirm which protocol your identity provider needs before you choose. Verify token validation, group claims and how a disabled account stops working in Langflow. Map each tenant's identity to a user record your reviewer can trace.

External authentication docs

Role model and the RBAC plugin

Teams and per-user shares exist in Langflow's authorization model, but enforcement comes only through the RBAC plugin, and the authorization page describes no multi-tenant mode. If your tenants need teams, shares or role separation, plan the plugin into the build and test it against your own role definitions. Without that plugin, the documentation gives you no enforced role boundary to test. Ask for the role matrix in writing and check every administrative action against it.

Authorization docs

API key policy and rotation

A Langflow API key carries the privileges of the user who created it, so ownership is the control that matters most. The authentication page says non-superusers cannot use their keys to reach other users' resources, which makes the owning account the boundary to design around. Set who may create keys, confirm whether expiry is configurable, and define how keys rotate and how a departed user's keys are revoked. Ask the reviewer to see the key inventory and the revocation record.

API keys and authentication

Runtime and data services

The Kubernetes guide describes a separate headless Runtime deployment that serves only the API, which is the documented way to run production flows apart from the editor. Decide whether each boundary gets its own Runtime, PostgreSQL database and Redis queue, or whether these services are shared. Separate services limit what one tenant's workload can read and how far a slowdown spreads, but each adds backup and upgrade work. Confirm that job queues and stored flows keep tenant data apart in every service.

Kubernetes architecture guide

Network boundary and endpoint exposure

Decide how traffic reaches each tenant's editor, Runtime API and webhook endpoints, and which of them sit on a public address. The Langflow Docker image listens on port 7860, so an ingress or gateway in front of each boundary is where access rules, TLS and request logging should live. Confirm that one tenant's editor is never reachable from another tenant's network segment and that each API endpoint accepts only the paths its flows need. Ask for the network diagram and firewall rules as evidence.

Which path leads to a safe Langflow multi tenant layout

The diagram starts with whether your tenants share a trust boundary. If they do not, each tenant gets its own deployment with its own runtime and data services, and the evidence is a set of separate stacks, secrets and databases. If they do, the next question is whether individual users need roles or shares. If not, a shared instance can be considered, but only with infrastructure controls that enforce separation, backed by network control evidence. If per-user shares are needed, the RBAC plugin must be in scope, because the authorization page enforces shares only through that plugin. Check each branch's evidence before you choose a layout.

Decision path from tenant requirements to a separate or shared Langflow layout, with the evidence each branch needs.

Gaps a Langflow multi tenant review will raise and how teams close them

A review of a shared Langflow instance tends to raise the same gaps. The six below are the ones a reviewer is likely to ask about, and each names the usual way teams close it. Use them as a checklist for deciding where isolation lives: in separate instances, in the RBAC plugin, in the database layer, or in the infrastructure around Langflow.

No isolation between users

The Langflow security page states that Langflow does not enforce isolation between users within a single process. Users who share one process share its runtime, so the boundary between them is not a Langflow control. The usual fix is to give each tenant its own instance, with separate databases and network paths, so the infrastructure enforces the split. Test that one tenant's flows and keys cannot be reached from another tenant's account.

Langflow security page

No documented multi-tenant mode

The open-source build has no documented multi-tenant mode. The authorization page covers teams and per-user shares, but describes them as enforced only through the RBAC plugin. IBM lists Langflow Cloud as a deployment target without a published tier or price, so do not assume a managed offering provides tenant separation. Ask IBM in writing what isolation any offering provides, and plan per-tenant deployments on your own infrastructure until that answer is documented.

IBM Langflow product page

RBAC needs the plugin

Teams and per-user shares appear in the Langflow authorization model, but the docs say they are enforced only through the RBAC plugin. Without the plugin, sharing settings are not an access control you can rely on in a review. Decide whether the plugin is part of the design, then test denials for each role: a non-admin opening another team's flow, editing a shared component, or listing another user's resources. Record each denial as evidence.

Langflow authorization docs

Shared PostgreSQL and Redis

A single PostgreSQL database holds the Langflow state for every tenant, so one database compromise, bad migration or restore can expose all of them. Redis carries the job queue when several workers run, which means queued work for different tenants passes through the same service. Per-tenant databases, or at least isolated schemas and Redis namespaces with separate credentials, shrink that blast radius. Confirm what each component stores before you choose the split.

Kubernetes best practices

Broad API key privileges

A Langflow API key carries the privileges of the user who created it. The authentication page says non-superusers cannot use their keys to reach other users' resources, but a key created by an admin or power user carries that account's broader access. Set an issuance policy covering who may create keys and for what purpose. Rotate keys on a schedule your policy sets, and review active keys against current staff and current projects.

API keys and authentication

Audit logging for tenant activity

The reviewed Langflow pages do not describe audit logging of tenant activity, such as who ran or changed a flow or created a key. Do not assume the capability exists because the product is widely deployed. Ask the vendor or IBM to confirm which events Langflow records, where they are written and how long they are kept. Where gaps remain, plan log collection outside Langflow, from the ingress, the application container and the database, into a log store your security team controls.

How the Langflow multi tenant answer changes by situation

First decision: confirm that everyone with an account belongs to one trust boundary and may see each other's flows, components and projects. When that holds, one shared instance can be a sound design, with users, roles and API keys governed by the team's own access policy. The Langflow security page is clear that the software does not enforce isolation between users within a single process, so the team relies on its own people and controls, and the product adds no separation between them.

  • Account lifecycle: Decide who creates accounts, who removes them when people leave, and who holds the superuser credentials set through LANGFLOW_SUPERUSER_PASSWORD.
  • API key ownership: Keys carry the privileges of the user who created them, so review which keys exist and whose access each one inherits.
  • Auto-login: Official packages and images disable auto-login by default, so keep it disabled and confirm sign-in runs through your chosen identity method.
  • Sharing controls: Teams and per-user shares are documented on the authorization page but enforced only through the RBAC plugin, so do not treat them as access control without it.

First test: sign in as two non-superuser accounts, confirm each one cannot open the other's flows, and check that one account's API key cannot reach the other's resources.

Order of work for a Langflow multi tenant rollout

The sequence below starts with the tenant map and ends with a retest after every upgrade. Langflow does not separate users inside one process, so each boundary must come from identity settings, the RBAC plugin or separate infrastructure that you configure and test yourself. Run the checks in order and record the results before moving to the next step.

  1. Define tenants and trust levels in writing

    Start by listing every tenant, the data and flows each one owns, and the trust level you assign to its users and administrators. Record which tenants may share a Langflow instance and which need their own deployment. Your security, legal and platform leads should sign off on this document before any configuration begins. Done means every tenant has a named owner, a trust level and a boundary type on paper, and the sign-off is filed with the rollout record.

  2. Choose the identity path and test sign-in

    Pick external OIDC, where Langflow accepts JWTs from any OIDC provider, or the SSO plugin for provider-specific OIDC, SAML or LDAP. Where your provider allows it, register one application per tenant so that a token issued for one tenant is not accepted by another tenant's instance. Then sign in as a test user from each tenant and confirm the account reaches only its own boundary. Done means every tenant's test user is refused on the other tenants' instances and the results are saved with the configuration.

  3. Decide RBAC plugin scope and test separation

    Teams and per-user shares appear in the authorization documentation, but the project describes them as enforced only through the RBAC plugin. If tenants share one Langflow instance, the plugin is part of the security design and needs its own review. If each tenant has a separate instance, record that decision and the reason for it. Then sign in as one user from each tenant and confirm that neither can see or open the other's teams, shares or flows. Done means both results are recorded and the scope decision is signed off.

  4. Confirm superuser and auto-login settings

    Official packages and Docker images require a superuser password, set through LANGFLOW_SUPERUSER_PASSWORD, and disable auto-login by default. Confirm that the password comes from your secret store on every instance, that auto-login stays disabled in each environment's configuration, and that no shared or default credential works on any tenant instance. Repeat the login attempts from a network position an outside user would have. Done means a login attempt without valid credentials fails on every instance and the settings appear in your configuration review.

  5. Separate runtime and data services per boundary

    For production flows, the Kubernetes guidance describes a separate headless Runtime deployment that serves only the API, so each tenant's flows run apart from the editor. Give each boundary its own Runtime and its own external PostgreSQL database. Where several workers run, give it a Redis job queue at version 6 or later. Then create an API key as a user of tenant A and call a tenant B endpoint with it. Keys carry the privileges of their creator, so this test checks the boundary itself. Done means the call fails, the reverse test also fails, and both outcomes are recorded.

  6. Retest after every Langflow upgrade

    Releases have arrived roughly weekly, with 1.13.2 on 10 November, 1.13.3 on 17 November and 1.13.4 on 24 November. Read each release note for changes to authentication, API keys and sharing before you upgrade. Rerun the sign-in, RBAC where in scope, superuser and cross-tenant key checks on a staging copy of the boundary stack, then promote the same version to production. Done means the retest results for that exact version are on file before any tenant uses it.

What a security reviewer asks to see on tenant separation

This table lists the evidence a security reviewer typically asks for when judging whether one Langflow instance can separate tenants. Each row names what the item shows and where it comes from, so the reviewer can tell documented vendor statements from configuration and test results your team must produce. The main takeaway: Langflow's security guidance says it does not isolate users within one process, so the evidence has to come from infrastructure and access controls you can show.

Evidence itemWhat it showsWhere it comes from
Vendor isolation statementLangflow does not enforce isolation between users within a single process, so separation must sit in infrastructureLangflow security documentation
API key scope and cross-user testsKeys carry the creating user's privileges. Test that one user's key cannot reach another user's flows, files or runsAPI keys documentation, plus your own cross-user test results
RBAC plugin configuration and denial testsTeams and shares are enforced only once the RBAC plugin is installed and configured. Denial tests show it blocks cross-tenant accessAuthorization documentation and the RBAC plugin's documentation
Deployment definitions per tenantSeparate instances, namespaces or databases for each tenant, plus a separate Runtime deployment for production flowsYour infrastructure as code repository
Per-tenant sign-in configurationEach tenant signs in through its own identity application or realm, with no shared sign-in pathYour identity provider's tenant and application settings
Audit log samples for tenant activityWhether tenant actions are recorded with the acting user and tenant. Langflow's security guidance does not describe this, so confirm itConfirm with the vendor and in your own logging setup
Audit reportIndependent auditors, not DeployOpen, issue any audit report or attestation on this setupIndependent auditor or certification body

Questions buyers ask about Langflow multi tenant cost and effort

Does Langflow support multi-tenant use out of the box?

No. Langflow's security guidance says the project does not enforce isolation between users within a single Langflow process, so tenant separation has to be enforced at the infrastructure level. The authorization documentation describes teams and per-user shares, but those controls are enforced only through the RBAC plugin, and the docs describe no multi-tenant mode. API keys carry the privileges of the user who created them, and non-superusers cannot use their keys to reach other users' resources. That helps inside one instance but does not replace tenant boundaries. An organization that needs tenants separated must choose a boundary, such as a separate deployment per tenant, and test that boundary before any production data enters the system.

Does IBM sell a multi-tenant edition of Langflow?

The published IBM pages do not describe a multi-tenant edition, so ask IBM to confirm in writing whether one exists, what it includes and whether it applies to your deployment. The IBM Langflow product page lists IBM Langflow Cloud as a deployment and auto-scaling target but gives no tier or price. IBM also lists Elite Support, Desktop and the watsonx Orchestrate integration as separate offerings. The Langflow website states that the same Langflow runs under open source or cloud, which shows the code is shared but says nothing about the isolation a hosted tier provides. Ask IBM specifically about tenant separation at the process, database, queue and identity layers, how upgrades reach each tenant, and whether the answer changes under an Elite Support agreement. Get the answer in writing before you design around it.

What drives the cost of running separate Langflow deployments per tenant?

The main drivers are the number of tenants, the runtime and data services each tenant needs, the identity work and ongoing operations. Each tenant deployment carries its own Langflow runtime and PostgreSQL database, and a multi-worker setup adds a Redis queue, so infrastructure and configuration grow with the tenant count. Identity work covers connecting Langflow's external OIDC authentication to your provider and setting roles, since provider-specific SSO and RBAC are described as plugins. Operations include upgrades on a release cadence that has been roughly weekly, monitoring, backups and access reviews for every instance. You pay for your own cloud or data center capacity and licenses, and DeployOpen does not publish a price list. A quote follows from the written scope, so ask for the tenant count, the boundary, the services per tenant and the day-two operating tasks to be itemized.

How long does a multi-tenant Langflow engagement take?

Duration depends on the isolation boundary you choose and the number of tenants, and it is set in the written scope before work starts. A separate deployment per tenant means repeating the build, identity and operations setup for each one. A shared control plane with stronger separation adds design and testing work up front. Duration also depends on how many identity providers you connect, whether production flows run on the separate headless Runtime deployment that the Kubernetes guide describes, and how far data classification has progressed. Most engagements are fixed-scope, so the timeline appears alongside the deliverables. Ask for milestones, isolation testing before tenant onboarding and handover tasks, and compare them with the tenant count you expect over the first year.

What must our organization provide for a Langflow tenant setup?

Your organization provides four inputs before the build starts, and these are decisions or access only your team can give.

  • Your identity provider and the OIDC configuration Langflow will trust, including how user identities map to each tenant. The external authentication docs describe the JWT approach.
  • A tenant list with owners, expected user counts and the isolation boundary each tenant requires.
  • A data classification for the flows, prompts, files and credentials each tenant will handle, so storage, logging and retention choices are made early.
  • Cluster, cloud or data center access, including accounts, network paths, DNS, certificates and secrets handling.

Involve your security and compliance teams early. The Langflow docs and IBM product page state no certifications or BAA for self-hosted use, and compliance depends on how you deploy and operate the platform.

Can our own team run multi-tenant Langflow without a partner?

Yes, if your team already has the skills the deployment needs. Those are Docker or Kubernetes, PostgreSQL, Redis for multiple workers, identity integration with OIDC, and an owner for upgrades, because Langflow releases arrive roughly weekly. Your team also has to design the tenant boundary itself, since the Langflow security page leaves isolation to the infrastructure layer. It must then test that tenant data stays separate across the API, the Runtime deployment and shared queues. A team missing one of these skills can split the work: keep upgrades and daily operations in-house while a partner designs the boundary and runs the isolation tests. DeployOpen can scope that split in writing, and retainers cover ongoing support, upgrades and continuous testing.

How DeployOpen designs tenant separation for Langflow in your infrastructure

Langflow's security guidance says it does not enforce isolation between users inside a single process, so DeployOpen treats tenant separation as an infrastructure design question first. We scope which tenants need separate instances, namespaces, databases and identity boundaries, then build and test those controls in your own cloud accounts, data centers or air-gapped networks. The result is a documented design your security and compliance teams can review.

How we scope

  • Confirm which tenants need hard separation, and whether they can share one Langflow instance at all.
  • Record in the written scope whether each tenant gets its own instance, database, Runtime deployment and identity realm.
  • Agree in writing on fixed-scope deliverables, with ongoing support available as a retainer after handover.

How we build

  • Deploy Langflow on Kubernetes with external PostgreSQL, which the project's Kubernetes guidance recommends over the default SQLite.
  • Run user-facing editing and production flow serving as separate deployments, using the headless Runtime for API traffic.
  • Configure Redis 6 or later as the job queue for multi-worker deployments, with the queue URL set per environment.

How we hand over

  • Deliver the tenant map: instance inventory, data stores, identity flows, API key ownership and network paths for each tenant.
  • Document that API keys carry the creator's privileges, and set a rule for who may create keys in each tenant.
  • Provide runbooks for provisioning a new tenant and for removing one, including its data stores and keys.

How we support

  • Retest tenant boundaries after each Langflow upgrade, since releases arrive roughly weekly.
  • Review the Langflow security and authorization docs with your team before any upgrade changes the access model.
  • Confirm whether the RBAC plugin is needed, since the open-source build does not enforce teams or shares alone.

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.