Weaviate OIDC and single sign-on

Self-hosted Weaviate authenticates users through OIDC with your identity provider, alongside API keys. SSO/SAML is listed on the Premium Cloud plan, and bring your own IdP is marked coming soon.

On this page

Does Weaviate support single sign-on with our company identity provider?

Self-hosted Weaviate supports OpenID Connect (OIDC) with any identity provider that implements OpenID Connect Discovery. SSO and SAML are listed under the Premium Cloud plan on Weaviate's pricing page, and bring your own identity provider is shown as coming soon, so a Cloud SSO answer does not settle the question for a cluster you run yourself. For a checklist that asks for SSO with the company identity provider, the accurate answer is that OIDC is available now, provided your identity provider meets the discovery requirement and your deployment is configured to trust it. The product supports the requirement, but four items still have to be delivered before the line can be signed off.

Start with identity provider setup. Your identity team needs to register Weaviate as an OIDC client, confirm that the issuer publishes a discovery document, and agree which claim the deployment will use as the user name. On the deployment side, the issuer and client ID are set through environment variables such as AUTHENTICATION_OIDC_ISSUER and AUTHENTICATION_OIDC_CLIENT_ID in Docker, or under authentication.oidc in Helm values.yaml on Kubernetes, and AUTHENTICATION_OIDC_ENABLED turns the feature on. Test sign-in with a set of test accounts in a non-production cluster before go-live. The authentication documentation lists the related settings.

Service accounts need a separate path. OIDC fits people signing in, so scripts, data pipelines and application backends usually authenticate with API keys, which can run alongside OIDC in the same deployment. Assign an owner for each key, and plan storage and rotation with the team that runs the identity setup. Authentication only answers who is calling, so decide what each identity may do: role-based access control is generally available from Weaviate v1.29 and cannot be combined with anonymous access, so define roles before go-live. Finally, get the vendor's written confirmation of which license covers the OIDC code in the exact build you deploy, since the repository's LICENSE says source is variously licensed under BSD-3-Clause or the Weaviate License.

Which SSO capabilities are built in, paid or left to you

This table sorts each Weaviate sign-in option by whether it is built into the self-hosted server, listed on a Cloud plan, or left for your team to provide. Read the status column first, then the notes on who runs the identity provider. The main takeaway is that OIDC and API keys are built in for self-hosted deployments, while SAML, SCIM and SSO on Free and Flex plans need confirmation with Weaviate before you plan around them.

CapabilityStatusWhat it means for you
Self-hosted OIDCBuilt inSet AUTHENTICATION_OIDC_ENABLED and related keys in Docker, or authentication.oidc in Helm values.
API keys, alone or with OIDCBuilt inAPI keys can run alone or at the same time as OIDC, so confirm which access path each client uses.
Role-based access controlGenerally available from v1.29Cannot be combined with anonymous access, so plan roles before you turn anonymous access off.
Anonymous accessAvailable, strongly discouragedLimit it to development or evaluation environments, not to systems that hold business data.
Self-hosted SAML or SCIMNot establishedConfirm with Weaviate before designing user provisioning or SAML sign-in around a self-hosted cluster.
SSO and SAML on Premium CloudListed on pricing pagePremium is a prepaid contract by quote, so ask for SSO terms in writing.
Bring your own identity provider on CloudComing soonPlan a fallback sign-in path, and confirm the availability timing with Weaviate.
SSO on Free and Flex plansNot listedDo not assume SSO is available on these plans. Confirm with Weaviate.
Identity provider itselfOutside WeaviateYou select, run and secure the IdP, including its OpenID Connect Discovery endpoint and client registration.

How Weaviate checks an OIDC login on each request

The OIDC login check depends on three parts that must agree. The identity provider authenticates the person or service and issues the token that the client presents to Weaviate. The Weaviate server does the validation. It reads the issuer's OpenID Connect Discovery metadata, which publishes where the issuer's signing keys and endpoints are, and uses that metadata to confirm that a token came from the expected issuer and was signed by it. The third part is configuration. In Docker, AUTHENTICATION_OIDC_ENABLED switches OIDC on, while AUTHENTICATION_OIDC_ISSUER and AUTHENTICATION_OIDC_CLIENT_ID tell the server which issuer and client to trust. On Kubernetes, the same settings sit under authentication.oidc in the Helm values.yaml. Before go-live, confirm that the issuer value in your settings matches the issuer value inside the tokens your identity provider issues, character for character, because that is the first place a rejected login will show up.

The server evaluates the token that arrives with each request. It checks that the token was issued by the configured issuer, that its signature verifies against the keys published in the discovery metadata, and that it is still within its validity period. Your team should confirm which token claims Weaviate reads to identify the user, and whether any audience or client checks apply to your identity provider. Those details decide whether a valid token issued to another application on the same identity provider is accepted. The Weaviate authentication documentation lists the related settings, and it is the reference to check against your Weaviate version before you finalize the configuration.

Authentication and authorization are separate decisions, and the Weaviate server makes both. Authentication answers who the caller is. Role-based access control decides what that identity may do, including which operations and data it can reach. RBAC is generally available from Weaviate v1.29 and cannot be combined with anonymous access, so a token that validates is only the first gate. Plan the mapping from your identity provider's users or groups to Weaviate roles before go-live, and test a token with limited rights to confirm that denied operations are actually denied. If you also keep API keys for service workloads, remember that OIDC and API keys can run together, so record which path each client uses and who approves changes to either one.

A user token must pass issuer validation before RBAC decides the action

The flow starts when a user signs in at the organization's identity provider, which issues a token. The user then sends a request with that token to the self-hosted Weaviate cluster. Weaviate checks the token against the configured issuer, using settings such as AUTHENTICATION_OIDC_ISSUER and AUTHENTICATION_OIDC_CLIENT_ID. If validation succeeds, the RBAC step decides which actions that identity may perform. Service accounts follow a parallel branch: they send an API key instead of a token. The organization runs the cluster and identity provider itself, while a managed identity provider is an outside option it may buy. At each hand-off, confirm the issuer URL, client ID and role assignments match the identities you expect.

Browser users send OIDC tokens, while service accounts send API keys to the same cluster.

Decisions to settle before the Weaviate SSO design is approved

Five choices shape the Weaviate SSO design and the security review that follows. Each one decides who can authenticate, what they can do, and who runs the controls afterward, so settle them with security and platform owners before the design is signed off.

Identity provider and client registration

Weaviate validates tokens from an identity provider that implements OpenID Connect Discovery, so the first decision is which IdP issues them. Settle which OIDC client Weaviate registers with, the issuer and client ID set through AUTHENTICATION_OIDC_ISSUER and AUTHENTICATION_OIDC_CLIENT_ID, and who owns that registration after go-live. Name one owner for the client and its secrets so the security review has a single accountable party. Confirm which claims the IdP places in each token, because your role design will depend on them.

Authentication docs

API keys for services and automation

OIDC and API keys can be enabled at the same time, so services, pipelines and scheduled jobs that cannot sign in interactively will still hold keys. Decide where those keys are stored, such as a secrets manager your team already operates, and who can read them from the deployment configuration. Assign rotation to a named team with a schedule and a written procedure rehearsed outside production. Confirm with Weaviate how key-based and OIDC requests appear in your logs, because the security review will ask whether automation activity is traceable.

Role model and group mapping

Role-based access control is generally available from Weaviate v1.29 and cannot be combined with anonymous access, so the role model belongs in the same design as authentication. List the roles your applications and people need, then map each role to an identity group in your IdP. Decide who approves changes to that mapping, because a new group membership can widen data access without any change to Weaviate itself. Confirm role and permission names against the RBAC documentation for the release you will run.

RBAC docs

Self-hosted or Premium Cloud

Self-hosting means your team runs and secures the cluster, including upgrades, network paths, TLS and the identity configuration. Weaviate's pricing page lists SSO/SAML under the Premium Cloud plan and shows bring your own IdP as coming soon, so an IdP you already run may not be supported on that plan today. Verify each control against the signed contract and the deployed configuration. Ask Weaviate Cloud which parts of the service its SOC 2 Type II audit covers, and get that scope in writing.

Weaviate pricing

Anonymous access in each environment

Anonymous access is strongly discouraged outside development or evaluation, and it cannot be combined with role-based access control. Decide for each environment whether it holds production or customer data, including staging copies built from production exports. Turn anonymous access off for any environment that holds such data, and record the setting per environment so the security team can check it against the design. Confirm the setting name and default for your release in the authentication documentation before it goes into a deployment template.

How the SSO answer changes by identity provider, edition and team size

The identity provider sets how much work sits on the Weaviate side. Weaviate validates tokens from an issuer that implements OpenID Connect Discovery, so a self-managed IdP such as Keycloak or authentik and a hosted enterprise IdP follow the same configuration path: set AUTHENTICATION_OIDC_ISSUER and AUTHENTICATION_OIDC_CLIENT_ID in Docker, or the matching keys under authentication.oidc in Helm values.yaml. The difference lies in operations. A self-managed IdP means your team patches, backs up and monitors the issuer alongside the database. A hosted IdP moves that work to the vendor but adds tenant limits, session rules and claim mapping you must review.

  • Discovery endpoint reachability: Confirm the issuer publishes its discovery document and that every Weaviate node can reach it.
  • Token claims: Confirm which claim carries the user identity and which claim, if any, carries group or role data.
  • Client registration: Confirm the client ID and audience settings so tokens issued for other applications are not accepted by mistake.
  • Key rotation: Confirm how the issuer rotates signing keys and whether your change process covers that event.
  • Vendor-side limits: For hosted IdPs, confirm session lifetimes, rate limits and any license needed for the connection.

Ask your identity team which issuer is the system of record before you write any Weaviate configuration. See the Weaviate authentication documentation for the full key list.

Where Weaviate leaves SSO work to the organization

Weaviate validates OIDC tokens and API keys, but it does not cover the identity work around them. The cards below list the gaps teams most often miss, what to confirm with Weaviate, and the usual way to close each one.

Self-hosted SAML support

The authentication docs describe OIDC and API keys for self-hosted clusters, and the pricing page places SSO/SAML under the Premium Cloud plan. Confirm SAML support for your self-hosted version with Weaviate before approval. If SAML is required, the usual cover is an identity provider that accepts SAML from your directory and issues OIDC tokens to Weaviate, so the cluster only ever sees OIDC. Record which component owns the SAML metadata and certificate renewal.

Authentication docs

Bring your own IdP on Cloud

The pricing page shows bring your own identity provider as coming soon, so it cannot be part of a Cloud plan you sign today. Treat Cloud as a separate identity decision until this ships. Ask Weaviate for the current availability status in writing, and do not assume Cloud logins will follow your directory policies. If your directory must govern access from day one, the usual cover is a self-hosted cluster that trusts your own OIDC issuer, where you control token lifetimes, group claims and sign-out.

Weaviate pricing

SSO on lower Cloud plans

The pricing page lists SSO/SAML under the Premium Cloud plan, and the Free and Flex plans are not listed with SSO. Confirm the exact SSO feature set for each plan in writing before you choose one. Premium is sold as a prepaid contract by quote, so SSO cost sits inside a negotiated agreement. For teams that cannot justify Premium, the usual cover is self-hosting with your own identity provider, which moves the operating work to your team. Compare that effort with the Premium quote before deciding.

Group mapping and user deprovisioning

Weaviate checks the token, but turning directory groups into database roles is a separate step. Role-based access control is generally available from v1.29 and cannot be combined with anonymous access, so each request must map to a role. Confirm which claims Weaviate reads for groups before you build the mapping. The usual cover is a group-to-role table owned by the IdP team, with joiners and leavers handled in the directory. A disabled user may keep access until a token expires, so set short lifetimes for privileged roles and test the behavior.

RBAC docs

Service accounts and API keys

API keys and OIDC can run together, which means CI jobs, scripts and applications often keep long-lived keys next to human logins. Name an owner for every key and every service identity before the cluster goes live. Set rotation dates, revocation steps and a record of which role each key carries. The usual cover is a written key process owned by the security team, with keys stored in a secrets manager and reviewed alongside the role mapping.

Authentication event logging

Auditors will ask who signed in, which key or identity made each change, and when a role changed. Confirm what the Weaviate server records for authentication events, and at what detail, before you rely on it. Whatever it records, forward those logs to your own log store with retention set by your policy, and keep IdP sign-in logs beside them. The usual cover is a log pipeline owned by the platform team, with alerts on failed logins and key use from unexpected sources.

Order of work to put Weaviate SSO into production

This sequence moves a self-hosted Weaviate cluster from an open evaluation setup to one where people sign in through your identity provider, services use scoped API keys, and anonymous access is off. Each step has an owner and a check that must pass before the next step starts. The order matters because anonymous access should only be turned off after sign-in and service keys are proven, so the team does not lock itself out.

  1. Confirm edition and license in writing

    Owner: the platform lead, with your Weaviate contact. Ask Weaviate to confirm in writing which edition and license terms cover the build you plan to run. The repository LICENSE splits the code between BSD-3-Clause and the Weaviate License, and enterprise features need a license key. Ask for the version line you will pin and confirm that the OIDC and RBAC features you need are in it, since RBAC is generally available from v1.29. Done when the written answer names the edition, the license key requirement and the pinned version.

  2. Register the OIDC client at the identity provider

    Owner: the identity team, with platform engineering. Register a client for Weaviate in your identity provider and confirm that the provider implements OpenID Connect Discovery, because Weaviate validates tokens from providers that do. Record the issuer URL and client ID, set the token settings your provider needs, and agree which claims carry the user's identity and group membership. Done when the discovery document loads from the network segment where Weaviate runs and a test user can obtain a token for the client.

  3. Configure issuer and client in a non-production environment

    Owner: platform engineering. Set the OIDC enabled flag, issuer and client ID in your Docker environment, or in the authentication.oidc block of Helm values.yaml on Kubernetes. Keep API key authentication enabled here, since OIDC and API keys can run together and a working key is your way back in if sign-in breaks. Test that a valid token from a test user is accepted and that an expired token or one issued for another audience is refused. Done when both results match what you expected and the test results are logged.

  4. Define RBAC roles and map them to groups

    Owner: the data owner, with platform engineering. Define roles from what people need to do: reading objects, writing data, managing schema, and managing roles and users. Create the roles in Weaviate RBAC, then confirm in the RBAC documentation how identity provider groups or claims reach roles in your version. That mapping is the part to verify before anyone relies on it. Done when a written role matrix is signed off and each test group resolves to the role set you designed.

  5. Decide the API key set for services

    Owner: the service owners, with security. List every service, batch job and pipeline that calls Weaviate without a person signing in. Give each one its own API key scoped to the narrowest role it needs, record who holds the key and where it is stored, and confirm the key setup works alongside OIDC in your version. No key should be shared between a person and a service. Done when the inventory lists each service, its role, its owner and its storage location, and no key is shared.

  6. Turn off anonymous access

    Owner: platform engineering. Once sign-in and service keys both work, turn off anonymous access. The documentation says anonymous access is strongly discouraged outside development or evaluation, and RBAC cannot be combined with it, so this step is required before the role model can be relied on. Restart the cluster, then confirm that unauthenticated requests are refused on the REST port 8080 and the gRPC port 50051, and that the health probes your monitoring uses still work under the new setting. Done when both checks pass and the change is recorded.

  7. Test allowed and denied paths with named accounts

    Owner: the security testing team, with the data owner. Use named test accounts: one for each role, plus one with no role or with a group that should be denied. For each account, test the operations it should allow and the ones it should refuse, covering reads, writes, schema changes and role management. Include an expired token and a user removed from a group. Record each result with the account name, and retest after any configuration change. Done when every role has a pass record for its allowed and denied cases, and each failure has a fix and a retest.

  8. Document and move to production with a rotation schedule

    Owner: platform engineering and security, with the service owners. Write a runbook covering the configuration values, the issuer and client, the role map, the key inventory and the named owner of each item. Set a rotation schedule for any client secret, the API keys and the review of group mappings, agreed with your security team, and record who performs each rotation. Move the same configuration to production through your change process, then run a smoke test with a named account. Done when the runbook is approved, every rotation has an owner and a date you set, and the production smoke test passes.

What a security reviewer asks to see for Weaviate SSO

This table maps each item a security reviewer usually requests for Weaviate OIDC and single sign-on to the system that holds it. Read each row as one evidence item: what it proves and where it is exported from. DeployOpen prepares this evidence for assessors but does not issue audit reports or certifications.

Reviewer requestWhat it showsWhere it comes from
Identity provider client configurationClient ID, issuer URL and requested scopes that Weaviate uses to validate tokensYour identity provider admin console or a configuration export
Authentication settings in the deploymentOIDC enabled flag, issuer and client ID, plus API key and anonymous access settingsDocker environment variables such as AUTHENTICATION_OIDC_ISSUER, or authentication.oidc in Helm values.yaml
RBAC role definitions and assignmentsWhich roles exist, what each allows, and which users or groups hold themWeaviate RBAC configuration. Confirm how group claims map to roles in your version
Proof that anonymous access is offAnonymous access disabled in the running instance, with RBAC enabled, since RBAC cannot run alongside anonymous accessThe live configuration and a rejected unauthenticated request sent to the endpoint
API key inventory and rotation recordEvery key that still works, its owner, purpose, creation date and last rotationYour secrets manager or key store, plus change records for each rotation
License or plan evidence for enterprise featuresWhich enterprise features are in use and the license key that covers themThe license key issued for your deployment and the vendor order or agreement behind it
Cloud contract for SSO if Premium is chosenWritten terms showing SSO is included in the Cloud plan you buyThe Weaviate Cloud agreement. The pricing page lists SSO under Premium and marks bring your own IdP as coming soon

Questions buyers and reviewers ask before approving Weaviate SSO

Does self-hosted Weaviate support SSO with our identity provider?

Yes, through OpenID Connect. Self-hosted Weaviate can validate tokens from an identity provider that implements OpenID Connect Discovery, and it can run OIDC alongside API keys. You configure it with environment variables such as AUTHENTICATION_OIDC_ISSUER in Docker, or under authentication.oidc in Helm values.yaml on Kubernetes. Your IdP must publish a discovery document that the cluster can reach, and the issuer and client ID in Weaviate must match what the IdP issues. Confirm with your IdP vendor that your tenant exposes discovery and the signing keys in the expected way. The Weaviate authentication documentation lists the settings you will need to map.

Do we need a paid Weaviate edition or Premium Cloud for SSO?

The OIDC settings for a self-hosted cluster are part of the server configuration, and they are separate from the Premium Cloud plan. Weaviate's pricing page lists SSO/SAML under Premium Cloud and shows bring your own IdP as coming soon, so the managed-service SSO offer is a different product from the one you run yourself. Whether any feature your design needs sits behind the enterprise license key is a separate question. Confirm with Weaviate which edition and key each required feature needs before you sign off on the design. Premium is a prepaid contract priced by quote, so ask Weaviate for its scope in writing if you want SSO managed for you.

What does Weaviate SSO work cost, and what changes the price?

DeployOpen fixes SSO work in a written scope, and the quote follows from that scope. The main cost drivers are the number of identity providers and issuers, the role model that must map to Weaviate roles, the number of environments (such as development, staging and production) that need configuration and testing, and how much evidence your assessors expect. Each added IdP or environment adds configuration, testing and documentation work. Recurring costs sit outside the build: hosting the cluster, rotating keys and credentials, and any Weaviate license or Cloud subscription you choose. Ask for the quote to separate one-time build, testing and handover from any retainer for ongoing upkeep, so you can compare it with the cost of your own team doing the same work.

How long does Weaviate SSO implementation take to finish?

Duration depends on the scope agreed in writing, and the main drivers are outside the Weaviate configuration itself. Your IdP team needs time to create the client registration and the group or role claims the role model depends on. Each environment that needs the same setup adds testing time, and any network path to the issuer must be requested and approved. Security review and sign-off also set the pace. Teams that already have an OIDC client pattern for other internal applications tend to move faster than teams integrating their first OIDC application with a new IdP. Ask for a timeline with milestones for IdP registration, cluster configuration, login tests, role mapping tests and security review, and name an owner for each milestone on both sides.

What does our team need to provide for the SSO work?

Three roles are needed: an IdP administrator, a network owner and a security approver. The IdP administrator creates the client registration, sets the redirect and logout settings, and defines the claims or groups used for role mapping. The network owner confirms that the Weaviate nodes can reach the issuer's discovery and key endpoints, and that any proxy or firewall rules are documented. The security approver signs off on the scope, token lifetimes, role model and test results. Your team also provides the list of users and groups, the environments in scope, and access to the repository where the cluster configuration is kept. Confirm these owners early so each person can plan their time for the work.

Is SAML available for self-hosted Weaviate, and who confirms it?

Weaviate's OIDC documentation covers self-hosted deployments, while the pricing page lists SSO/SAML under the Premium Cloud plan. Treat SAML on a self-hosted cluster as unconfirmed until Weaviate states its availability in writing for the version you plan to run. Ask Weaviate directly whether SAML is supported for self-hosted deployments, which release it applies to, and whether it needs an enterprise license key. If SAML is not available for your deployment, plan on OIDC instead, and confirm with your IdP vendor that it can issue OIDC tokens for the Weaviate client. Record the answer in the design so your reviewers can trace the decision.

Does DeployOpen certify our Weaviate SSO setup for compliance?

No. DeployOpen does not issue audit reports, attestations or certifications. It prepares the controls and evidence that an independent assessor or certification body reviews, such as the access configuration, role mapping, test records, logging settings and change records for the SSO setup. Your assessor decides whether those controls meet the framework you are assessed against. Ask DeployOpen to list the evidence items in the written scope, and ask your assessor early which artifacts they expect to see. Evidence for a self-hosted cluster has to cover the cluster you operate, not the vendor's managed service, so the evidence list should name your own infrastructure, identity provider and logs.

How DeployOpen scopes and delivers SSO for self-hosted Weaviate

DeployOpen configures OIDC and API key authentication for self-hosted Weaviate in infrastructure you control, so user tokens are checked against your identity provider. Both methods can run side by side during a migration. The work covers the identity provider, the Weaviate environment settings, and the tests that show access behaves as intended.

How we scope

  • The written scope names the identity provider, the OIDC client settings and the deployment method (Docker or Kubernetes).
  • Scope records whether API keys stay enabled alongside OIDC for service accounts and migration periods.
  • Scope sets out whether role-based access control is included, since it cannot be combined with anonymous access.

How we build

  • Configure AUTHENTICATION_OIDC_ENABLED, the issuer and client ID in Docker, or the authentication.oidc block in Helm values.
  • Confirm the identity provider publishes OpenID Connect Discovery metadata, which Weaviate uses to validate tokens.
  • Test token validation, expired tokens, and requests made with API keys before any user traffic reaches the cluster.

How we hand over

  • Deliver the environment files or Helm values, with secrets handled according to your policy.
  • Document the login flow, the identity provider settings, and the steps to rotate credentials.
  • Hand over the test results, with evidence that access checks ran against your identity provider and your chosen configuration.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers for the SSO configuration.
  • Review Weaviate release notes before each upgrade to confirm the authentication settings still apply.
  • Check the Weaviate pricing page if you later consider Cloud, where SSO/SAML is listed under the Premium plan.

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.