LiteLLM SSO: OIDC, SAML, Okta and Entra ID support by edition

LiteLLM supports OIDC and SAML 2.0 sign-in to the Admin UI, free for up to 5 users, with SSO beyond that and SCIM and JWT auth requiring an Enterprise license. Its documented methods do not include LDAP.

On this page

Does LiteLLM support SSO with our identity provider?

If you are a platform or security lead checking a single sign-on requirement, the short answer is yes for the Admin UI. LiteLLM supports sign-in to its admin console over OpenID Connect (OIDC) and SAML 2.0. From v1.76.0, SSO is free for up to 5 users in the open-source edition, and an Enterprise license is required beyond that limit. Confirm the user count you need before you plan the rollout, because the free tier is counted per user, not per instance.

Both protocols need configuration on your side. For OIDC, LiteLLM's documentation gives setup options for Okta, Google, Microsoft Entra ID and a generic SSO provider. For SAML 2.0, the proxy acts as the service provider, the documentation names Okta and Microsoft Entra ID, and any SAML 2.0 compliant identity provider is stated to work. SAML requires the optional python3-saml library, which the official Docker images include. If you build your own image, check that the library is present before you test sign-in. Signed assertions are required by default, and IdP-initiated login is off by default, so confirm with your identity team whether they plan to start sign-in from the provider's portal.

Treat SSO as covering the admin console only. The sign-in methods on these pages control who can log in to the Admin UI, not how applications and developers call the gateway. Application traffic still uses LiteLLM virtual keys, and user and team provisioning through SCIM and JWT are separate Enterprise features covered on the integration pages. Before you commit, ask your identity team to map which users need console access and which need only API keys, and confirm the current supported identity provider list with LiteLLM's documentation, since that list can change between releases.

SSO, SCIM and JWT support by edition and protocol

This table compares each sign-in and provisioning method for the LiteLLM Admin UI across the open-source edition, Enterprise and the outside components each one needs. Open-source SSO is free for up to 5 users, and most rows marked Enterprise need a license beyond that limit. Read the outside component column before you plan the build, because SAML and SCIM each depend on a component or identity provider you must also provide.

CapabilityOpen source (up to 5 users)EnterpriseOutside component needed
OIDC sign-in (including generic OIDC)Supported, free up to 5 users from v1.76.0Supported beyond 5 users with a licenseAn OIDC identity provider
SAML 2.0 sign-inSupported, free up to 5 users, needs python3-samlSupported beyond 5 users with a licenseA SAML 2.0 identity provider and python3-saml (included in official Docker images)
OktaSupported through OIDC or SAML, free up to 5 usersSupported beyond 5 users with a licenseAn Okta tenant configured as an OIDC or SAML application
Microsoft Entra IDSupported through OIDC or SAML, free up to 5 usersSupported beyond 5 users with a licenseAn Entra ID app registration configured for OIDC or SAML
GoogleSupported through OIDC, free up to 5 usersSupported beyond 5 users with a licenseA Google OAuth client configured for the proxy
Any SAML 2.0 identity providerDocumented as possible, free up to 5 usersSupported beyond 5 users with a licenseA SAML 2.0 compliant identity provider. Confirm attribute and signing settings with your IdP team
SCIM 2.0 user and team provisioningNot availableEnterprise only, needs a database and a licenseAn identity provider with SCIM client support, such as Okta or Entra ID. SCIM does not issue virtual keys
JWT authentication with identity provider tokensNot availableEnterprise onlyAn identity provider that issues tokens the proxy can validate
LDAPNot documented in the sign-in or provisioning pages read in November 2026Not documented in the sign-in or provisioning pages read in November 2026Confirm LDAP support with the vendor before you rely on it

How LiteLLM brokers identity for the Admin UI

The identity provider authenticates the person, and the LiteLLM proxy decides what that person can do. For Admin UI sign-in, the proxy acts as the SAML service provider when you use SAML 2.0, or as the OpenID Connect relying party when you use OIDC. Okta, Microsoft Entra ID and other compliant providers hold the credentials and multifactor policy. The proxy receives the signed result, matches the user to its own roles and teams, and then applies its own budgets, model access and key rules. Before you configure either protocol, confirm which identity attributes your provider will send, because the proxy's role and team mapping depends on them, and check the current setup steps in the LiteLLM docs for Admin UI SSO.

SCIM and sign-in are separate jobs. SCIM 2.0 provisions users and teams into the proxy, but it does not create virtual keys, so a provisioned user still needs a key issued through the proxy before calling a model. The reverse matters for offboarding: when SCIM deprovisions a user, the proxy revokes that user's keys. Plan the joiner and leaver process around this behavior, and test it with a disposable account before you rely on it. The provisioning documentation at LiteLLM identity provisioning docs describes the exact flow, and SCIM itself is an Enterprise feature.

Two defaults shape the trust boundary. SAML requires signed assertions by default, and IdP-initiated login is off by default, so sign-in starts from the proxy and the provider must return a signed response. Keep those defaults unless you have a reviewed reason to change them, and confirm them in your environment after any upgrade. Also confirm that the python3-saml library is present in your image, since the SAML docs say it is an optional install that the official Docker images include. Document who can change these settings, because a misconfigured identity trust relationship affects every administrator who signs in.

Decisions to make before choosing SSO

Five choices decide how LiteLLM sign-in, provisioning and access will work and what you will pay for. Settle the identity provider and user count first, then decide how admin roles and teams are managed, and last where the state behind them lives.

Identity provider and protocol

Choose between OIDC and SAML 2.0 for Admin UI sign-in based on what your identity provider already runs. The LiteLLM docs name Okta, Microsoft Entra ID, Google and a generic OIDC provider for OIDC, and name Okta and Entra ID for SAML, noting that any SAML 2.0 compliant provider works. Confirm the redirect and callback settings with your identity team before you pick, because SAML also requires signed assertions and IdP-initiated login is off by default.

OIDC sign-in docs

User count against the free limit

Count the people who will sign in to the Admin UI, not the people who call the gateway with API keys. From v1.76.0, SSO is free for up to 5 users in the open-source edition, and an Enterprise license is required beyond that. Because the limit applies to SSO users, a team that grows past it mid-rollout will need a license before the rollout completes, so confirm the count and the license terms before go-live.

Admin roles and team management

Decide whether roles and teams are maintained by hand in the Admin UI or pushed from your directory. SCIM 2.0 provisions users and teams from identity providers such as Okta, Entra ID and Keycloak, but it is an Enterprise feature and does not create virtual keys. Deprovisioning a user revokes that user's keys, so the offboarding process in your directory becomes part of gateway access control.

Provisioning docs

JWT authentication for workloads

Sign-in for people and authentication for services are separate decisions. JWT authentication, an Enterprise feature, accepts identity provider tokens for API and workload callers, which suits pipelines and internal services that should not hold a long-lived virtual key. Map out which callers are people, which are services, and who issues and rotates each credential before you assume SSO covers them.

Where database and Redis state sit

SCIM 2.0 needs a database and a license, and virtual keys also depend on PostgreSQL. LiteLLM names PostgreSQL as the primary supported database and requires Redis 7.0 or newer once more than one proxy instance runs. Decide where these stores run and who backs them up before enabling SSO, since identity and key state both live there and a restore affects who can sign in.

Production guide

How the SSO answer changes by situation

If your workforce identity already lives in Okta or Microsoft Entra ID, the LiteLLM admin UI can sign in through either one using OpenID Connect, and the SAML 2.0 docs also name both as supported identity providers. Your identity team configures an application on the provider side, and the LiteLLM proxy is configured with the client settings and callback details that provider issues. The sign-in method is the easy part. The licensing line is what matters: the first 5 users are free from v1.76.0, and every admin beyond that needs an Enterprise license.

  • Count admin users, not employees: The 5-user limit applies to people who sign in to the admin UI, so a 200-person company may need only a handful of licensed seats.
  • Choose OIDC or SAML deliberately: Both work for admin UI sign-in. OIDC has the simpler setup path in the LiteLLM docs, while SAML requires signed assertions and keeps IdP-initiated login off by default.
  • Plan provisioning separately: SCIM provisioning is an Enterprise feature and does not create virtual keys, so keys still need a process.
  • Map group claims early: Team and role assignments depend on what your provider sends in the token or assertion.

Before you start, confirm with your identity team which protocol they will support and how many people will hold admin access in the first year.

Admin UI sign-in and provisioning flow

The flow starts with an admin user opening the LiteLLM Admin UI, which sends them to the company identity provider. The proxy acts as an OIDC client or a SAML 2.0 service provider and checks the returned token or assertion before it starts a session. Separately, the identity provider pushes user and team changes through SCIM 2.0 into PostgreSQL, which stores those users and teams. Check the deprovisioning path closely: removing a user through SCIM revokes that user's virtual keys, but SCIM does not create keys, so key issuance is a separate step to plan and test.

Admin sign-in and SCIM provisioning paths into LiteLLM and PostgreSQL.

Order of work to put SSO in production

This sequence moves LiteLLM admin sign-in from a test proxy to production, confirming licensing and user count first, then proving that allowed users get in, denied users do not, and that deprovisioning revokes access. It ends with evidence an auditor or security reviewer can check.

  1. Confirm edition and user count

    Before any configuration, the platform owner confirms which LiteLLM edition runs the proxy and how many people will sign in to the Admin UI. Open-source SSO is free for up to 5 users from v1.76.0, and an Enterprise license is required beyond that. SCIM and JWT authentication are Enterprise features in every case. Confirm the planned release line against the supported versions in the vendor's enterprise documentation. This step is done when the named user count, edition and license status are written down and approved by the budget owner.

  2. Choose protocol and register the proxy with the IdP

    The identity team selects OIDC or SAML 2.0 based on what the identity provider supports and what the organization already runs for other applications. Okta, Microsoft Entra ID, Google and generic OIDC providers are covered for OIDC, and SAML 2.0 works with any compliant provider. Register the proxy as an application in the provider, using the redirect or callback address of your production hostname, not a test address. For SAML, confirm that the deployed image includes the SAML library and that signed assertions are required. This step is done when the application exists in the identity provider and both teams can name the protocol and hostname in use.

  3. Decide role and team mapping

    The security lead and the gateway owner decide which identity provider groups map to proxy administrator, viewer and team roles before anyone signs in. Write the mapping as a table that lists each group, the role it grants and the owner who approves changes. Confirm with the vendor how group claims are read for the chosen protocol and edition, because claim names and provisioning behavior differ by method. SCIM provisions users and teams but does not create virtual keys, so the key issuance process must be documented separately. This step is done when the mapping table is approved and no group grants more access than its owner has signed off.

  4. Test allowed sign-in and a denied sign-in

    The gateway owner signs in with a test account from each approved group and confirms that the expected Admin UI role appears. Then the owner signs in with an account outside every approved group, or with a disabled account, and confirms that access is refused. Also test the sign-in flow from a fresh browser session and confirm that IdP-initiated login behaves as the team configured, since it is off by default for SAML. Record each test with the account, group, result and timestamp. This step is done when every allowed role works, every denied case fails, and the test record is complete.

  5. Enable SCIM and test deprovisioning and key revocation

    After sign-in works, the identity team enables SCIM provisioning on an Enterprise license and runs a controlled test with one non-production user. Remove that user from the identity provider and confirm the user disappears from the proxy and that the user's virtual keys are revoked, which the vendor documents as the effect of deprovisioning. Confirm that a key created for a different user remains unaffected. Check that the database and Redis dependencies the proxy relies on are healthy during the test, since SCIM 2.0 needs a database. This step is done when the test user loses Admin UI access, the user's keys stop working, and the results are logged.

  6. Record evidence for review

    The security or compliance lead collects the evidence needed for a later review: the edition and license record, the protocol configuration summary without secrets, the group-to-role mapping, the sign-in and denied sign-in test results, and the deprovisioning test record. Store the evidence in the organization's controlled repository and set an owner for re-checking it after each upgrade or identity provider change. Independent auditors and certification bodies decide whether the controls meet any framework, so the goal here is an accurate, repeatable record. This step is done when the evidence package is stored, named, and assigned an owner who will review it after the next change.

What a security reviewer asks to see for SSO

This table lists the questions a security reviewer usually asks before approving LiteLLM Admin UI sign-in, the evidence that answers each one, and where that evidence comes from in LiteLLM or the identity provider. Use it to prepare the review packet before go-live, not after. The main takeaway: each row should have a saved artifact, and the licensing and LDAP rows need written decisions, not verbal ones.

QuestionEvidence to collectWhere it comes from
How is the IdP registered with LiteLLM, and which protocol is in use?Exported client or application settings showing the protocol (OIDC or SAML 2.0), redirect or ACS URLs, allowed scopes or attributes, and the environment each registration servesIdP application configuration, plus the LiteLLM SSO settings for OIDC or SAML in the proxy configuration
Are SAML assertions signed, and is IdP-initiated login disabled?Configuration showing signed assertions are required, a test login transcript or SAML response with a valid signature, and a record of any IdP-initiated login exceptionLiteLLM SAML 2.0 settings and the IdP signing certificate configuration; confirm the defaults against the current SAML docs for your release
Which IdP groups or roles map to LiteLLM admin roles, and who approves them?Role mapping table listing each IdP group, the LiteLLM role it grants, the named approver, and the date of the last reviewIdP group assignments and the LiteLLM admin role configuration; the approval record lives in your change system
When a user leaves, do their keys stop working?Test record from a deprovisioning run: user disabled in the IdP, SCIM push observed, the user's virtual keys shown as revoked, and a request with the old key rejectedIdP provisioning logs, the LiteLLM SCIM 2.0 sync status, and the key list in the Admin UI or API; SCIM requires Enterprise
Does the deployment have a license that covers every active user?License record showing the edition, the user count in scope, the license key holder, and the renewal date; open-source use is limited to 5 SSO users from v1.76.0The LiteLLM Enterprise license issued for your organization and the user count reported in the Admin UI; the free limit is stated in LiteLLM's SSO documentation
Has the LDAP question been decided and recorded?Written decision stating whether LDAP is in scope, the reason, the alternative used (OIDC, SAML 2.0, SCIM 2.0 or JWT), and who signed offLiteLLM's OIDC, SAML 2.0 and provisioning pages do not list LDAP; confirm with the vendor if your directory requires it
Can the SSO configuration be reproduced and reviewed?Versioned configuration in your repository with secrets held in a secret manager, and the LiteLLM release used for testingYour configuration-as-code repository and secret store; the release is recorded from the LiteLLM GitHub releases page

Questions buyers ask before approving LiteLLM SSO

Is LiteLLM single sign-on free to use?

Yes, up to a limit. From v1.76.0, SSO is free for up to 5 users in the open-source edition. The limit covers Admin UI sign-in with OpenID Connect and with SAML 2.0, so it is a user count, not a per-protocol allowance. Once more than 5 users need to sign in through SSO, you need an Enterprise license. Before you approve the rollout, count the people who will sign in to the Admin UI, not the people who will call the gateway with API keys, since API key use does not depend on SSO. Confirm the current limit and how the vendor counts users on the LiteLLM documentation for single sign-on, because the vendor can change its terms between releases.

What does the Enterprise license add for SSO and SCIM?

The Enterprise license removes the 5-user SSO limit and adds SCIM 2.0 provisioning, which creates and removes users and teams from your identity provider. According to the vendor's identity provisioning documentation, SCIM and JWT authentication are both Enterprise features, and SCIM needs a database and a license. Two behaviors matter for access reviews. SCIM provisions users and teams but does not create virtual keys, so keys still need to be issued through the gateway. Deprovisioning a user revokes that user's keys. Enterprise also adds JWT authentication with identity provider tokens, audit logs and organization and team role-based access control. Ask the vendor to confirm which of these your chosen edition includes before you finalize the design.

Does LiteLLM support LDAP or Active Directory directly?

The vendor's documentation for OIDC, SAML 2.0 and identity provisioning does not mention LDAP. The sign-in and provisioning methods it describes are OIDC, SAML 2.0, SCIM 2.0 and JWT. Active Directory is therefore not a direct sign-in source in those documents. The usual approach is to keep Active Directory as the directory and connect LiteLLM to an identity provider that already federates it, then use OIDC or SAML from LiteLLM to that provider. Whether that path works in your environment depends on your identity provider, your group structure and your network. Ask the LiteLLM vendor in writing whether any LDAP option exists before you rely on one, and test the chosen path with a small group of accounts before you commit to it.

What does LiteLLM SSO work cost, and who pays for it?

There are four cost components. The LiteLLM license is paid to the vendor only if you pass the 5-user limit or need SCIM, and the vendor's pricing page sets those terms. Your identity provider licenses are already part of your existing contracts, but you may need a tier that supports the app registrations or SCIM connector you plan to use. Internal time covers administrator access, group design and testing. DeployOpen's fee, if you engage us, is set by a fixed-scope written quote, and we do not publish prices. One-time costs include design, configuration and testing. Recurring costs include the Enterprise license, identity provider upkeep and any retainer for upgrades. Ask any provider for the split between one-time and recurring work, and for the assumptions behind each line.

How long does LiteLLM SSO setup take?

The supplied sources do not give a duration for SSO setup, so treat any figure as something to confirm in writing. The main drivers are the number of identity providers, whether you use OIDC, SAML or both, how many groups map to teams and roles, whether SCIM is in scope, and how quickly your identity team can grant app registrations and test access. Access to a non-production gateway also matters, because testing sign-in, group mapping and deprovisioning takes time. Each additional identity provider or role model adds design and test cycles. Ask for a schedule that lists each milestone, the owner of each dependency, and the test cases that must pass before cutover. A fixed-scope agreement should state those milestones before work begins.

What must we provide before LiteLLM SSO work starts?

You need four inputs before design can begin. First, administrator access to the identity provider with rights to create application registrations or SAML applications, plus a named owner who can approve changes. Second, a group design that maps identity provider groups to LiteLLM teams and roles, agreed by the business owners of each model group. Third, a non-production LiteLLM environment with a database, since the vendor's documentation names PostgreSQL as the primary supported database and SCIM needs a database. Fourth, a decision on who owns signing certificates and redirect addresses. For SAML, the documentation says signed assertions are required by default and IdP-initiated login is off by default, so confirm that your identity team accepts those settings before configuration.

Can our own team set up LiteLLM SSO without a partner?

Yes, a team with identity provider administration skills can set up OIDC or SAML sign-in using the vendor's documentation. The SAML documentation notes that the official Docker images include the python3-saml library, so you do not need to install it separately if you use those images. The harder parts are usually group design, role mapping, deprovisioning tests and the change record for an access path that controls who can administer model access and spend. Those tasks benefit from a second reviewer, especially when several identity providers or an Enterprise SCIM rollout are involved. If you hand the work to a partner, ask for a written scope that lists the identity providers, protocols, test cases and the handover documents your team will keep.

Primary sources for LiteLLM SSO

Start with the vendor's own sign-in documentation before you size a licence or pick an identity provider. The LiteLLM docs: Single sign-on (OIDC) page explains how the Admin UI signs users in through OpenID Connect and lists setup options for Okta, Google, Microsoft (Entra ID) and a generic SSO provider. Read it alongside your identity provider's own OIDC client settings, because the redirect URI, client secret handling and group or role claims are configured on both sides. The page covers the Admin UI only. It does not say how API calls authenticate, which is a separate question for virtual keys and JWT auth.

If your identity provider is SAML-only, read the LiteLLM docs: SAML 2.0 page next. It states that the proxy acts as the SAML service provider for Admin UI sign-in, that any SAML 2.0 compliant identity provider works, and that the optional python3-saml library is needed, which the official Docker images include. It also states that signed assertions are required by default and that IdP-initiated login is off by default. Confirm these defaults against your running version, since a change to either one affects how your identity provider must be configured.

Use the LiteLLM docs: Provisioning identities and issuing keys page to decide whether SCIM is needed at all. It states that SCIM and JWT auth are Enterprise features, that SCIM 2.0 needs a database and a license, and that SCIM provisions users and teams but does not create virtual keys. It also states that deprovisioning a user revokes that user's keys. Ask your vendor or partner to confirm in writing which of these behaviors apply to your edition and version. The LDAP question is not answered on any of these three pages, so confirm it directly with LiteLLM before you commit to an identity design.

How DeployOpen works on this

DeployOpen plans, implements, integrates and documents self-hosted LiteLLM gateways inside your own infrastructure, including the choice of sign-in protocol, identity provider and edition. We start by confirming which edition, user count and identity provider your organization needs, then build and hand over a tested configuration that your team can operate.

How we scope

  • Confirm the number of Admin UI users, since the free open-source limit applies from v1.76.0 and Enterprise is needed beyond five users.
  • Record which identity provider you run, such as Okta, Microsoft Entra ID or another OIDC or SAML 2.0 provider, and whether LDAP is involved.
  • Agree the written scope in advance, covering protocols, provisioning needs, test users and the edition decision before any work starts.

How we build

  • Configure OIDC or SAML 2.0 sign-in for the Admin UI, including redirect URIs, claims mapping and signed assertion settings.
  • Plan SCIM and JWT authentication as Enterprise features, and confirm that a database and license are in place before enabling them.
  • Test sign-in, role mapping and deprovisioning behavior with dedicated test accounts in a non-production environment first.

How we hand over

  • Document the chosen protocol, identity provider settings, edition and license decision so your team can audit the configuration later.
  • Record the known limits, such as SCIM provisioning users and teams without creating virtual keys, and how deprovisioning revokes keys.
  • Walk your identity and platform engineers through the runbook for rotating secrets and changing identity provider settings.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the initial scope is delivered.
  • Revisit the configuration when you change identity providers, move to a newer supported LiteLLM release line or add users beyond the free limit.
  • Confirm with the LiteLLM vendor any capability not covered in the vendor documentation before you commit to a design.

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.