Bring-your-own identity provider for SaaS customers in Zitadel explained
Enterprise buyers increasingly require that their own identity provider controls sign-in to your SaaS product, so each customer needs its own sign-in path. In Zitadel, you can meet this by giving each customer organization its own identity provider configuration, so users from one customer are routed to that customer's Entra ID, Okta or SAML provider while other customers keep theirs. Zitadel can federate login over OIDC or SAML for each organization independently, which is the core of the bring-your-own identity provider model. The decision you face is whether a shared login with a few social or generic options satisfies your buyers, or whether each customer must bring its own provider and keep control of its users' access.
The per-organization model fits when your customers are enterprises with their own IdP, security reviews that ask who controls authentication, and offboarding requirements that must follow their directory. A shared login fits when customers accept your credentials, MFA and social options, because it is simpler to run and test. Zitadel documents that each customer organization can use a different identity provider, which lets you keep one application and one tenant model while varying the sign-in method. Confirm in your own environment which OIDC and SAML attributes each target provider returns, since claim mapping differences are a common source of login failures in federated setups.
Before you offer this to customers, decide who configures the connection, who supports it, and where your responsibility stops. Many teams let organization administrators create the IdP link themselves, but then your support team needs a clear boundary: you own the Zitadel configuration and the application side, while the customer owns its directory, group membership and provider application registration. Write that split into your support terms, and ask your Zitadel partner or internal team to confirm which settings an organization administrator can change before you publish the feature. The details of the setup steps and domain discovery are covered in the sections that follow.
Which identity provider option fits each customer
This table compares the five ways a customer organization can connect its own identity provider to Zitadel, from Entra ID and Okta to generic OIDC, generic SAML and JWT-based federation. Read each row for the setup effort, what the customer admin must supply, and the situations where that option fits best. The main takeaway is that the two named providers are the simplest path, while generic and JWT options shift more configuration work onto the customer.
| Option | Setup effort | What the customer admin provides | When it fits |
|---|---|---|---|
| Microsoft Entra ID | Low to moderate: Zitadel documents a dedicated Entra ID template | An application registration in their Entra tenant, the tenant identifier and the client credentials Zitadel needs | Customers that already run Microsoft 365 or Entra ID and want a documented, named template |
| Okta | Low to moderate: Zitadel documents a dedicated Okta template | An OIDC or SAML app in their Okta org, with the client details and the domains they want routed | Customers standardized on Okta who want the same named-template path as Entra ID |
| Generic OIDC | Moderate: the org admin enters issuer, endpoints and client settings manually | Issuer URL, client ID and secret, requested scopes, and confirmation of which claims carry the email and name | Any OIDC-compliant provider not covered by a named template, such as a self-hosted provider |
| Generic SAML 2.0 | Moderate to high: certificates, entity IDs and attribute mappings must match on both sides | Metadata or endpoint values, signing certificate, entity ID, and the attribute names for email and name | Older enterprise IdPs or customers whose security policy requires SAML |
| JWT identity provider | High: the customer system issues tokens that Zitadel must trust and parse | Token issuer, signing key or JWKS location, and a defined claim set for the user and organization | Customers with an in-house login service that already issues signed tokens and cannot act as a standard OIDC or SAML provider |
| Customer must verify domains first | Applies to all options when domain discovery routes users by email domain | Proof of control over each email domain Zitadel should route to their provider | Confirm the verification steps for your Zitadel version before promising self-service setup |
Set up customer-managed SSO in Zitadel step by step
This sequence takes a SaaS provider from an empty customer organization to a tested, rolled-out customer identity provider, with a check that closes each stage so no customer goes live before its login works.
Confirm the organization and provider model
Before touching settings, confirm with your team that each enterprise customer maps to one Zitadel organization inside your instance, and that the identity providers you will allow (Entra ID, Okta, generic SAML or OIDC) are the ones your customers actually use. Record the allowed list and the owner of each customer organization in a short written decision. The step is done when the list is agreed and each pilot customer has a named organization and a named admin contact. Confirm with your Zitadel administrators whether your instance version supports the self-service identity provider settings you plan to use, because these depend on the release you run.
Enable self-service IdP setup for org admins
Turn on the organization-level settings that let an organization administrator add and manage an identity provider without involving your operations team. Restrict this to organization administrators only, and keep instance administrator rights separate so a customer cannot change instance-wide configuration. Check the console or API for the specific policy and role names in your release. The check is a test login as a customer organization administrator: the admin should see the identity provider section and be able to create a draft connection, while a regular user in the same organization should not.
Set the default and allowed identity providers
Define which providers appear for each organization and which one is the default when a user reaches the login page. Set the default to your standard fallback, usually the built-in password or passkey login, so that customers without SSO keep working. Limit the allowed list to the providers you have agreed to support. The check is to open the login page for a test organization with no SSO configured and confirm only the expected options appear, then repeat for an organization that has one provider configured.
Configure domain discovery for each customer
Verify each customer's email domain for its organization and enable domain discovery so that a user who enters an address at that domain is routed to the customer's identity provider automatically. Verification proves the customer controls the domain before any login is redirected. Confirm the exact verification method and the discovery behavior for your release in the Zitadel documentation for identity providers. The check is a login attempt with an address from a verified domain, which should reach the customer provider, and an address from an unverified domain, which should not.
Collect the customer's redirect and metadata values
Give the customer admin the callback (redirect) URL and any metadata Zitadel generates for the connection, and collect the values from their side: the issuer or metadata URL, client ID and secret for OIDC, or the metadata XML and signing certificate for SAML. Ask for the attribute names the customer uses for email and display name, and for the group or role claims if you plan to map them. Store the values in your ticketing system with the organization name, not in shared chat. The check is that the admin has returned every required value, and the record lists each one with its source.
Register and test with a pilot user
Enter the customer's values into the identity provider configuration for the pilot organization and save the connection. Then sign in with one pilot user from the customer's domain, from a clean browser session. Confirm the user lands in the correct organization, that the email and name attributes are populated, that the expected roles or grants apply, and that logout returns the user to your application. Repeat with a user who is not in the customer's identity provider to confirm the failure message is clear. The step is complete when both tests give the expected result and the customer admin has signed off in writing.
Roll out and hand over the support boundary
Enable the connection for the rest of the customer's users, then communicate what the customer manages and what your team manages. The customer typically owns its identity provider, user assignments, certificate and secret rotation, and group membership, while your team owns the Zitadel settings, the allowed provider list and escalation for login failures. Confirm the boundary in the onboarding record and schedule a check of the first full login cycle. The step is done when all intended users sign in through the customer provider and the boundary document is accepted by the customer admin.
What org admins can do and what stays with your team
Customer organization administrators do the work that depends on their own directory: they enter the connection details for their identity provider, test a sign-in with their own test users, and rotate the client secret or signing certificate on their side when their security policy requires it. Your team should not hold those credentials or perform those steps for them, because the customer owns the trust relationship with its directory.
- Self-service entry: Org admins add the Entra ID, Okta or SAML provider in the Console for their organization, using the callback and metadata values your team documents for them.
- Testing before enforcement: They run a test sign-in with a non-admin user before they make the connection the only login path for their people.
- Certificate and secret rotation: They rotate the client secret or SAML signing certificate in their own identity provider and update the matching value in their organization.
- Domain ownership: They prove control of the email domains they want to route to their provider, where your onboarding flow requires it.
- Their own users: They manage memberships and role assignments for their people within the roles your project grants allow.
Before handing over the screens, confirm with the customer which steps their admins actually own and which they expect your team to perform.
Your platform team sets the policy that every organization inherits. It decides which provider types a tenant may use, what the instance-level login and security defaults are, and how external identities map to the roles in your projects. Tenants can change their own connection details, but they should not be able to weaken the controls your product depends on.
- Allowed provider types: Define which protocols and providers are permitted, for example OIDC and SAML only, and whether any custom provider is approved.
- Instance-level policy: Own the password, passkey and multi-factor defaults and any login rules that apply to all organizations.
- Role mapping: Decide how claims from a customer provider map to your project roles, and keep role names stable so customer changes do not break your applications.
- Support escalation: Handle failures that involve your instance, certificates on your side, or the platform itself, and define what a customer must send when they open a ticket.
- Change control: Review new provider types and mapping changes before release, since a mistake here affects every tenant.
Confirm internally who approves a new provider type and who receives escalations on a weekend.
Not every setting in an organization is open to its admins. The boundary between what an organization can override and what remains at instance level must be confirmed against the Zitadel version you deploy, because override options change between releases. Plan the split before you hand out administrator roles, not after a tenant has already changed a setting.
- Connection details: Org admins normally control the connection values for their own provider, within the provider types you allow.
- Login behavior: Check which login policy settings an organization can change and which are inherited from the instance.
- Branding: Confirm which branding values a tenant may set and whether your product needs to restrict them.
- Security controls: Keep instance-wide security defaults, such as rules that cannot be relaxed per organization, under your control.
- Verification: Test each override as a customer admin account to confirm the actual behavior matches your written policy.
Ask Zitadel documentation for the current list of organization-level settings before you publish a customer-facing policy.
Security risks to design for in customer-managed SSO
When a customer connects its own identity provider, the trust decision moves partly into the customer's hands. The six risks below follow that path from claiming a domain, through the secrets and users the connection creates, to the changes an admin makes later. Each one needs a deliberate owner and a check before the self-service flow goes live.
Domain ownership before discovery
Domain discovery sends a user to the identity provider linked to their email domain, so whoever controls that link controls the login path. Before any organization can claim a domain, confirm that the requester controls it, and keep unverified domains out of discovery. Check which domains are verified, who can add a domain, and what happens when a domain is removed from an organization.
Zitadel organizationsAccount takeover through unverified domains
If an organization can register a domain it does not own, users at the real company may be routed to an identity provider controlled by someone else. The attacker's provider can then issue sign-ins for accounts that look legitimate in your application. Test this path with a domain you do not control, and confirm that a second organization cannot claim a domain already verified by another tenant.
Client secret and certificate handling
Each customer IdP connection carries an OIDC client secret or a SAML signing certificate that Zitadel must store and rotate. Decide who can view, replace and delete these values, and confirm they are not returned to org admins after entry. Plan the rotation date for every connection and the steps for expired certificates, since a lapsed certificate breaks sign-in for every user of that customer.
Just-in-time user creation scope
Automatic user creation on first federated login is convenient, but it lets any user who can authenticate at the customer IdP create an account in your application. Decide which attributes the customer IdP must supply, whether new accounts start without roles, and whether the customer's directory group membership controls access. Test a user who is disabled or removed at the IdP to confirm the account stops working.
MFA expectations set by the customer IdP
Zitadel accepts the authentication result from the customer's provider, so the strength of sign-in depends on that provider's MFA policy. A customer may require multi-factor sign-in at Entra ID or Okta while your application trusts any valid assertion. Document the authentication context you accept, state in the onboarding contract which MFA settings the customer owns, and test a login that skips MFA at the IdP.
Audit logging of IdP changes
Org admins can change an identity provider link, its settings or its endpoints without your team seeing the change. Those edits can redirect logins or weaken a connection, so they need a record that your security team can review. Confirm which IdP configuration events Zitadel records, where the audit trail lives in your deployment, how long it is kept, and who is alerted when a connection changes.
How a customer user signs in through their own IdP
The sign-in starts at the login page of your application, where the user enters an email address. Zitadel uses the email domain to find the customer organization and the identity provider configured for it, then redirects the browser to that provider. The customer's IdP authenticates the user and returns an assertion or ID token to Zitadel, which links the identity to a user in that organization and issues tokens to your application. The trust boundary sits where the redirect leaves Zitadel: your team confirms what the IdP is trusted to assert and which domains each organization may claim.
The browser hands the sign-in to the customer IdP and back to Zitadel before tokens reach your application.
Questions SaaS teams ask about customer-managed SSO in Zitadel
What drives the cost and effort of each customer SSO connection?
The effort for each connection depends on the customer's identity provider, how many domains and organizations it covers, and how much of the setup your team must review. A customer on Entra ID or Okta with a clean SAML or OIDC configuration is usually far less work than one with a custom attribute mapping, legacy SAML settings or several domains. One-time costs include designing the organization model, building the setup flow and testing it. Recurring costs include reviewing new connections, handling certificate or metadata changes and supporting customer admins. Ask any partner for a quote that separates the one-time build from the per-connection work and the recurring support.
Can our customers' org admins set up their own identity provider?
Yes, Zitadel supports federating each customer organization with its own identity provider, so an organization administrator can be given the job of entering that provider's details. Whether that is a good default depends on your product. Self-service works well when the customer's admin understands their own IdP and your domain rules are clear. You still need to decide which settings the admin can change, how domains are verified, and what happens when a connection breaks. Most teams combine self-service for routine setup with a guided path for complex or regulated customers.
How long does a pilot take, and what drives that time?
A pilot can only be timed once its scope is fixed, because the duration depends on how many identity providers, organizations and login flows it covers. The main drivers are the customer's IdP configuration, access to their admins, the number of attribute and group mappings, and how many test users must sign in. Delays often come from waiting for the customer to create an application in their IdP or to approve a certificate, not from Zitadel itself. Ask for a written timeline that lists which steps depend on the customer and which on your team.
What does the work need from the customer's IT team?
The customer's IT team usually needs to create an application or enterprise connection in their identity provider, supply the metadata or client details, agree on which attributes and groups are sent, and confirm the domains they own. Someone must test sign-in with real users and decide how to handle users who already exist locally. Plan for a named contact who can respond during the pilot, because most blocked setups wait on that person. Your own team should confirm the same items before any customer is promised a date.
When should we bring in an outside partner for this work?
Bring in a partner when the connection design affects your product model, such as tenant boundaries, role mapping or domain ownership, or when your team lacks time to build the setup flow and test it against several identity providers. A partner is also useful when your security or compliance team needs the controls documented before a customer review. Keep the work in-house when you have an experienced identity team and a small number of customers with similar IdPs. Either way, agree the scope, deliverables and support boundaries in writing before work starts.
What does Zitadel Enterprise support add for this work?
The Zitadel pricing page says the Enterprise plan includes custom support agreements and technical account management, and it lists custom pricing for self-hosted or cloud deployments. Support agreements define response expectations and escalation paths, which matter when a customer's SSO breaks during a business day. Technical account management can help plan upgrades and review configuration changes. The page does not describe what each agreement covers in detail, so ask Zitadel for the written service terms and confirm whether they include help with your customers' identity provider configurations.
Which parts of customer SSO should we confirm before committing to a date?
Confirm which identity providers you must support at launch, how domains are verified, how users are matched when they already exist, and who owns the support queue when a customer's sign-in fails. Also confirm whether your product requires SCIM provisioning for user lifecycle changes, and whether each customer needs its own branding on the login. Each of these changes the build and the test plan. Ask for the list of open decisions in any proposal so you can see which ones your team must make first.
What to confirm with Zitadel and your customers before launch
Before you commit to customer-managed SSO, settle three questions: which identity provider types your customers actually run, whether any customer needs its own virtual instance instead of an organization inside your instance, and where support responsibility sits when a login fails. Start with an inventory. Ask your largest prospects and existing customers whether they use Entra ID, Okta, another OIDC provider or a SAML provider, and whether any use LDAP or a legacy directory. Zitadel documents federation with Entra ID and Okta over OIDC or SAML and with any OIDC-compliant provider, but the setup steps for each type differ, and you should confirm with Zitadel which configuration options your target versions expose before promising a self-service flow for a given type.
Next, decide the tenant boundary for each customer that asks for special treatment. An organization inside one instance is usually enough for a customer that wants its own IdP and admins. A virtual instance is the choice when a customer needs its own domain, issuer or full settings. Confirm with Zitadel's documentation what a virtual instance costs you to operate, including upgrades, backups and per-instance configuration, and whether your self-hosted deployment has the capacity for the number you expect. Also confirm the sequence of steps your org admins will follow, such as verifying a domain before the IdP is linked to it, because that order determines who can set up SSO without your involvement.
Finally, agree the support boundary in writing before launch. Your team should own the Zitadel configuration, the federation settings in your instance, and the platform's availability. The customer's IdP administrators should own their directory, their users, their application registrations on their side and their conditional access policies. Most failed logins will sit on one side of that line, so write down who triages each symptom, which logs and error details the customer must provide, and how quickly your team responds. Ask Zitadel what diagnostic information its administrators can see for a failed federated login, and confirm it against your own environment before you put a response commitment in a customer contract.
How DeployOpen scopes and delivers customer SSO for SaaS products
DeployOpen plans, builds, documents and hands over customer SSO on self-hosted Zitadel in infrastructure you control. We start from a written scope that names the customer organizations, identity providers and support boundaries, then test and document each connection before your team takes it over.
How we scope
- We agree in writing which identity providers, protocols and customer organizations the engagement covers before work starts.
- We map which setup steps customer admins perform themselves and which ones your team keeps, such as domain verification and attribute mapping.
- Engagements are fixed-scope, so deliverables and timelines are agreed in writing, and a quote follows from that scope.
How we build
- We configure the Zitadel instance, organization settings and identity provider templates for Entra ID, Okta or generic SAML and OIDC connections.
- We test domain discovery, login routing, account linking and just-in-time user creation with test identities from each provider.
- We check that role and attribute claims reach your applications as designed, and that a failed federation fails safely.
How we hand over
- We deliver runbooks for customer admin self-service setup, with screenshots and the exact fields each provider requires.
- We document support boundaries in writing: what your team handles, what customer IT handles, and what escalates to DeployOpen.
- We hand over configuration as code where the platform supports it, so changes can be reviewed and repeated across environments.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing like the initial build.
- We can retest identity flows after Zitadel upgrades or changes to a customer's identity provider configuration.
- Ask for a quote that lists each deliverable, the test cases covered, and which recurring support items are included or excluded.

