Okta federation with Zitadel: what the integration does
A customer or subsidiary that runs Okta can keep its identities there while your applications sign users in through Zitadel. Zitadel can federate login with Okta over OIDC or SAML, and the Okta connection is configured per organization, so one Zitadel organization can trust Okta while other organizations use Google, Entra ID, LDAP or a different provider. Your applications keep trusting Zitadel as the single token issuer: they validate the tokens Zitadel issues, and Okta appears only as an upstream login method that Zitadel calls during authentication. The Zitadel identity providers documentation lists Okta among the supported upstream providers and explains how providers are attached at instance or organization level.
The decision that shapes the rest of the project is which protocol the customer's Okta tenant will use with Zitadel. OIDC and SAML both work, but they differ in what Okta must issue, how signing keys or certificates are exchanged, and which attributes arrive in the assertion or ID token. Confirm the exact Okta application type, redirect or assertion consumer URLs, signing settings and claim or attribute names against the current Okta administrator documentation and the current Zitadel provider guide before anyone configures the tenant, since those settings change between releases. Agree with the customer who owns the Okta admin role, which Okta group or application assignments grant access, and which organization in Zitadel will hold the connection.
The Okta connection also decides what your applications can rely on. A user who signs in through Okta still lands in Zitadel as a Zitadel user, with a Zitadel identity that your applications see in the tokens. Plan how that user is linked, whether Zitadel creates the account on first login or requires a linking step, and what happens when the same person later signs in with a local password. Lifecycle changes such as deprovisioning are handled separately: login federation tells Zitadel who is authenticating at a given moment, while SCIM is the mechanism for creating, updating and removing users ahead of login. Treat the two as separate design items with separate test cases.
What you need before connecting Okta to Zitadel
Connecting Okta to Zitadel touches your Zitadel deployment, the customer's Okta tenant, and the network path between them. Settle the ownership and attribute decisions first, because they determine how the connection is built and who can change it later.
A self-hosted Zitadel instance
You need a running Zitadel instance on a deployment method you have chosen, whether Kubernetes with the official Helm chart, Docker Compose or binaries. Zitadel stores its data in PostgreSQL, and the supported database versions are listed in the docs. Confirm the current Zitadel release and PostgreSQL support in the documentation before you plan, because both change over time.
Self-hosting overviewA supported PostgreSQL database
Zitadel requires PostgreSQL, so confirm that the version you plan to run is on the supported list for the Zitadel release you are deploying. Decide who operates the database, how it is backed up, and whether it is highly available before the federation work starts. A federation outage is also a login outage for every organization that depends on it.
Database requirementsA public HTTPS domain for Zitadel
Okta must be able to redirect the browser back to your Zitadel instance, so the instance needs a public HTTPS domain that resolves from the internet and from the users' browsers. Use the exact issuer and callback host you will register in Okta, because a mismatch in scheme, host or path is the most common cause of a failed first login. Changing this domain later means updating every connection.
An Okta admin account on the customer tenant
Build the connection with an administrator account on the customer's Okta tenant, and confirm with the customer who will own the app integration after handover. Create a dedicated test user in that tenant, separate from production accounts, to check sign-in and attribute values before any real user is affected. Ask the customer to confirm which Okta admin role will be used for changes.
TLS and certificates on both ends
Both sides need valid TLS. Zitadel must present a certificate that Okta and browsers trust, and Okta endpoints must be reachable from your network if you validate metadata or keys. For SAML, decide how the signing certificate is generated, stored, shared and rotated, and set a calendar reminder for expiry, since an expired signing certificate stops every sign-in silently.
Organization and attribute decisions
Decide which Zitadel organization owns the Okta connection, since that scopes which users can sign in through it. Then list the attributes you need from Okta, such as email, given name, family name and a stable subject identifier, and confirm with the customer that Okta sends them. Agree on which attributes Zitadel will treat as the user's identity key before you map anything.
How a user sign-in travels from your app through Zitadel to Okta
The sign-in starts in your application, which redirects the user to Zitadel. Zitadel's organization routing sends the user to the Okta provider configured on the customer organization, and the user authenticates at the customer's Okta tenant. Okta returns an assertion or ID token to Zitadel, where attribute mapping runs before Zitadel issues its own tokens to your application. Check that the trust boundary sits where your security review expects it, and confirm which claims Zitadel maps and which it stores.
The sign-in path from your application through Zitadel to a customer's Okta tenant, with the trust boundary and mapping step marked.
Choosing OIDC or SAML for the Okta connection
OIDC fits when the customer's Okta applications are modern, when your applications already consume OpenID Connect tokens, and when your team prefers claims-based attribute mapping. The identity information arrives as ID token and userinfo claims, which makes it straightforward to map a claim such as an email or department to a Zitadel user field. Key handling is usually simpler because the relying party fetches the provider's public keys from a discovery document rather than from a manually exchanged certificate.
- Key handling: Zitadel validates the Okta ID token against keys published by Okta, so rotation is largely handled by discovery rather than by manual uploads. Confirm the rotation behavior in the Zitadel identity provider docs.
- Attribute availability: Only the claims Okta includes in the token or userinfo response are available. Confirm which claims your Okta authorization server emits and which scopes are required.
- Client secret management: The Okta application needs a client secret that must be stored and rotated on the Zitadel side.
- Logout behavior: Single logout across providers is not a standard part of the basic OIDC login flow, so plan session end behavior separately.
- Mapping effort: Claim names differ between Okta configurations, so test the mapping with a few real accounts before you rely on it.
Before choosing OIDC, confirm each point against the Zitadel identity provider documentation for your version.
SAML fits when the customer already runs SAML applications on Okta, when the customer's contract or policy requires SAML assertions, or when the customer's security team has standardized on SAML for federation. Assertions carry signed attributes and a NameID, and many enterprise security teams are already familiar with reviewing them. The trade-off is more configuration surface: metadata, signing certificates, assertion attributes and encryption choices all need to line up.
- Signing certificates: Okta signs assertions with a certificate that expires. Plan who receives renewal notices and how the new metadata is loaded into Zitadel before the old certificate lapses.
- NameID and attributes: The NameID format and attribute statements must be agreed on in advance, because changing them later can create duplicate or orphaned accounts.
- Logout behavior: SAML defines single logout messages, but support across identity providers varies. Test logout end to end before you promise it to the customer.
- Clock and audience settings: Assertion validity windows and audience values must match exactly, so time drift and misconfigured entity IDs are common failure points.
- Metadata exchange: Metadata changes on either side need a documented process, since a stale copy causes login failures.
Before choosing SAML, confirm the certificate, NameID and logout details against the Zitadel identity provider documentation for your version.
Configuring Okta as an identity provider on one Zitadel organization
This sequence connects one Zitadel organization to an Okta tenant so that users of that organization sign in through Okta while other organizations stay unaffected. Each step closes with a check you can run before moving on, so a failure is caught at the point where it was introduced.
Confirm the owning organization and scope
Decide which Zitadel organization will own the Okta connection and confirm it exists in the instance where your applications authenticate. The platform team or the customer's administrator should record the organization name, its primary domain and the list of applications that will use it. Done means the organization is listed in the Zitadel console, and you can name the projects and applications that belong to it, so later steps have a clear target.
Create the Okta app integration
In the Okta admin console, create an app integration for the protocol you chose, OIDC or SAML, and enter the redirect URI or assertion consumer URL that Zitadel shows for this organization's identity provider. The Okta administrator needs to assign the test group that will sign in. Done means Okta lists the application as active with the client ID (OIDC) or metadata (SAML) saved, and the redirect or ACS URL matches the Zitadel value exactly, character for character.
Register Okta as a provider on the organization
In Zitadel, add an Okta identity provider at organization scope, not instance scope, and enter the Okta endpoints, client credentials or SAML metadata, and signing certificate. Store the client secret in your secrets manager or the Zitadel-supported secret field, and do not paste it into tickets. Done means the provider appears under this organization only, and its status shows as configured with the Okta issuer or metadata URL resolving without error.
Map Okta attributes to Zitadel user fields
Define how Okta claims or SAML attributes populate Zitadel user fields such as email, given name, family name and any custom attributes your applications read. Confirm that the email claim is verified in Okta before you rely on it for linking. Done means a test assertion or ID token contains the expected attributes, and the mapping file or settings are saved in your configuration repository so they can be reviewed and reproduced.
Run a test login with a non-admin user
Sign in as a standard Okta user, not an administrator, through an application that belongs to this organization. Use a browser session with no existing Zitadel login. Done means the login completes through Okta, a Zitadel user record is created or linked in the expected organization, and the user's profile fields match the Okta values from step four. Record the user ID and the token claims so the result can be compared later.
Confirm a second organization cannot see the provider
Sign in to the console as an administrator of a different organization in the same instance, or open its login page, and check that the Okta provider is not offered. Attempt to add the provider to that organization by reference to this one. Done means the second organization lists no Okta provider and the login page for it shows only the providers it configured. Any visibility of the Okta connection is a scoping error to fix before enabling the policy.
Enable the provider in the organization login policy
Turn on the Okta provider in the login policy for this organization only, and confirm whether local password or passkey login stays available as a fallback. Make the change with the owning administrator present, and keep a recorded rollback path. Done means a fresh login attempt for this organization offers the Okta option, the non-admin test user can sign in through it again, and the instance-level policy is unchanged.
Mapping Okta attributes to Zitadel user fields
This table compares each Okta attribute or claim with the Zitadel user field it should populate, whether it is required, and what to check before go-live. Read it as a checklist for the mapping you agree with the customer, then confirm each Zitadel field name against the current identity provider documentation for your release.
| Okta attribute or claim | Zitadel user field | Required or optional | Notes |
|---|---|---|---|
Subject identifier (sub or NameID) | External user ID linked to the Zitadel user | Required | Must stay stable across logins. Use Okta's immutable user ID, not email or login name, because those can change. Confirm which claim Zitadel uses as the external ID for your provider type. |
| Email address | Required | Often used to match or link an existing account, so check for duplicates before enabling automatic creation. Mapping it does not by itself prove ownership. | |
Email verified (email_verified) | Email verified flag | Required | Only trust the verified flag if the customer confirms Okta verifies addresses. Treat an unverified address as a matching risk. |
Given name (given_name or firstName) | First name | Optional | Used for profile prefill. Confirm the attribute name in your Okta authorization server or SAML attribute statement. |
Family name (family_name or lastName) | Last name | Optional | Same handling as given name. Blank values should not overwrite data already set in Zitadel. |
Group or role attribute (for example, groups) | Not stored as a profile field | Optional | Use it as input to a review step, not as the source of Zitadel roles. Assign roles through project grants, and use Actions to apply rules after authentication. |
Login or username (preferred_username) | Username | Optional | Usernames may differ from email across tenants. Check uniqueness within the organization before using it for matching. |
| Custom department or cost center attributes | Metadata or custom profile data | Optional | Store only what an application needs. Each extra attribute adds data-protection scope and a mapping to maintain. |
How SCIM v2 changes user lifecycle, and what to confirm first
Federation handles sign-in, but it does not handle the user lifecycle. When Okta authenticates a user, Zitadel creates or links a session for that login. Creating, updating, deactivating and removing the user record are separate concerns. Zitadel provides a SCIM v2 service provider interface for standardized provisioning, which is the mechanism to evaluate for lifecycle, but whether it fits this customer depends on facts you must confirm. Check the direction of the flow first: whether Okta pushes users into Zitadel, or another tool manages users and Okta only signs them in. Then confirm, against the current Zitadel SCIM v2 documentation and a test tenant, that the Okta SCIM integration you plan to use can reach the Zitadel endpoint, what attributes it sends, and how it represents deactivation. Do not assume that a generic Okta SCIM connector behaves the same way across tenants.
The main risk is a deactivated user who keeps working. Disabling a user in Okta stops new federated logins, but it does not by itself end sessions or revoke tokens already issued by Zitadel. Access tokens and refresh tokens issued before the change can remain usable until they expire or are revoked, and applications may keep their own local sessions. Decide the acceptable window for each application, shorten token lifetimes where the risk justifies it, and confirm in your Zitadel version how user deactivation interacts with active sessions and refresh tokens. Treat the same question for any service that caches user data or grants roles outside Zitadel.
Test offboarding end to end before go-live. Use a test user in the customer's Okta tenant, assign it to a Zitadel application, log in, obtain tokens, then deactivate the user in Okta and observe what happens at the next login, at the next token refresh and at each downstream API. Repeat for removal from the group that grants access, and for a change to an attribute that drives a role. Record the time each change takes to appear, because provisioning and session behavior are often asynchronous. Then document the result as the offboarding runbook for that customer organization.
Security settings that protect the Okta connection
An Okta connection in Zitadel is a trust relationship: whoever can change it or hold its secrets can redirect logins for every application behind it. The six controls below cover secret storage, who can edit the provider, certificate lifecycle, account linking, Okta-side access and an audit trail. Confirm where each setting lives in your Zitadel console or API version before you write the runbook.
Protect the Okta client secret
For an OIDC connection, Zitadel holds the client secret Okta issues for the Zitadel application. Anyone who reads that secret can impersonate the Zitadel side of the trust, so treat it like a database credential. Store it in your secrets manager, restrict who can view it after entry, and plan a rotation step in Okta and Zitadel together. Confirm in the console whether the stored secret is masked after save and who can re-enter it.
Identity provider docsLimit who edits the provider
Changing an identity provider's endpoints, client settings or automatic creation options changes who can sign in to your applications. Keep edit rights for the Okta connection with a small group of platform administrators, and do not give organization administrators of a customer or subsidiary the ability to repoint it. Confirm which roles can manage identity providers at the organization level and whether that scope can be separated from instance-level administration.
Track SAML signing certificate dates
If the connection uses SAML, Zitadel validates Okta's signing certificate, and an expired certificate stops logins without a clear error for users. Record the certificate expiry date in your change calendar, and schedule the metadata exchange before Okta rotates. Ask Okta how it publishes new certificates and whether the old one stays valid during overlap. Confirm where Zitadel shows the metadata currently in use.
Require verified email before linking
Account linking matches an Okta identity to an existing Zitadel user, often by email address. If Okta asserts an unverified email, a user could claim an account that belongs to someone else. Allow linking only when the email is verified by the provider and confirm how the linking prompt behaves for unverified addresses. Test this with a deliberately mismatched account in a staging instance before customer users arrive.
Review Okta app and user reach
Zitadel trusts whichever users Okta authenticates, so access to each Zitadel application depends partly on Okta's own assignments. Review which Okta applications map to the Zitadel client, which groups are assigned, and whether contractors or retired staff still hold assignments. Limit the Okta app to the users who should reach your applications, and confirm that Zitadel project grants and roles still apply after Okta sign-in.
Log changes to the connection
Changes to the Okta provider, its client settings, linking behavior and role mappings should appear in an audit record you can review. Confirm which administrative events Zitadel records for identity provider changes, where those events are exposed, and how long your deployment keeps them. Forward them to the same log platform you use for other identity events so a changed endpoint or secret update is visible to your security team.
Common Okta federation failures and how to fix them
This table pairs each common symptom in an Okta to Zitadel federation with its likely cause and the fix to try first. Read it with the Zitadel identity provider logs and the Okta system log open side by side, since the two logs usually show which side rejected the exchange and why. Most failures trace back to a mismatched URL, a certificate change, or an unstable subject claim.
| Symptom | Likely cause | Fix |
|---|---|---|
| Redirect URI mismatch or invalid callback after Okta sign-in | The redirect URI registered in the Okta app does not match the callback URL Zitadel sends, often because of a different domain, path or trailing slash | Copy the callback URL from the Zitadel identity provider settings exactly into the Okta app, then compare the request in the Okta system log against it |
| SAML assertion consumer URL rejected | The ACS URL or audience in the Okta SAML app points to a different instance domain than the one Zitadel is serving | Re-export Zitadel's service provider metadata for the current domain, update the Okta app, and confirm the audience value matches the Zitadel entity ID |
| Wrong issuer or metadata URL | The discovery or metadata URL points to the wrong Okta authorization server, or the issuer in the token differs from the one configured in Zitadel | Use the issuer from the Okta authorization server you intend to use, verify the discovery document, and check the iss value against the provider configuration |
| Signature validation fails after Okta rotates keys | The Okta signing certificate or JWKS keys changed, and Zitadel still holds the old certificate or cached keys | Refresh the metadata or key set in Zitadel, confirm the active signing certificate in Okta, and re-test a sign-in before closing the change |
| Subject claim missing or changes between logins | The configured subject or NameID attribute is empty for some users, or points to a value that changes, such as a display name | Choose a stable identifier such as an immutable user ID, map it consistently in the Okta app, and check several test users in the Zitadel logs |
| Account linking fails because email is not verified | The Okta claim for email lacks a verified flag, so Zitadel will not link the external identity to an existing local user | Confirm the email verification claim is sent, or set the linking policy so users verify ownership before linking, and review the outcome in the Zitadel logs |
| User lands in the wrong organization | The identity provider is configured at instance level or on a different organization, or domain routing sends the user to the default organization | Scope the Okta provider to the correct organization, verify the organization domain, and test with one account from each customer organization |
| Duplicate accounts after first login | The user signed in through Okta before linking, or the subject changed, so Zitadel created a new user instead of linking | Merge the duplicate accounts, fix the stable subject mapping, and set the auto-creation and linking behavior before onboarding more users |
| SCIM changes from Okta not reflected in Zitadel | The SCIM push failed, the token expired, or the Okta attribute mapping does not cover the changed field | Check the Okta system log for provisioning errors, confirm the SCIM endpoint and credentials, and compare the user record in Zitadel with the mapped attribute |
Questions buyers ask before connecting Okta to Zitadel
How much effort does connecting Okta to Zitadel take?
Effort depends mostly on how many customer organizations you connect, which protocol Okta uses for each one, how much attribute mapping the applications need, and how far SCIM provisioning reaches. A single organization with OIDC and a few claims is a small, bounded task. Each additional organization adds its own Okta app configuration, test users, mapping rules and sign-off. A SAML connection adds metadata exchange, signing certificate handling and NameID decisions. Your customer's security review can add evidence requests and retesting, so ask for those items to be listed in the scope before work starts.
Can our own team connect Okta to Zitadel without a partner?
Yes, a team with Zitadel administration experience and Okta administrator access can often do the work in-house, provided it has time for testing and change control. You will need Okta admin rights on the customer tenant or an admin willing to create the app integration, test users in several roles, the Zitadel instance and organization details, the application endpoints and redirect URIs, and written approval for changes made in the customer's identity environment. Partners are most useful when several organizations must be onboarded on a fixed schedule or when the evidence package for a review must be prepared alongside the build.
How long does an Okta federation project take?
Duration depends on the same drivers as effort: the number of organizations, the protocol, mapping complexity, SCIM scope and how quickly the customer completes its approvals and testing. Customer change windows and security review cycles often set the pace more than the configuration itself. Ask any provider for a schedule that separates build, customer-side approvals, test rounds and cutover, and for the dependencies each phase needs from your team and the customer. Treat any single number without that breakdown as a guess until the scope is agreed.
Does federating Okta with Zitadel require a paid Zitadel plan?
Plan requirements change, so check the current terms on the Zitadel pricing page before you commit. The page lists a Free plan, a Pro plan and an Enterprise plan with custom pricing for self-hosted or cloud deployments. Confirm whether the features you need, including the identity provider configuration and any SCIM or organization features in your deployment model, are available on the plan you choose. For self-hosted Zitadel, also confirm with Zitadel which costs apply to your deployment, and separate the Zitadel plan cost from the cost of your own infrastructure, database operations and the partner work.
What should we ask a partner to include in a written quote?
Ask for a quote that follows from a written scope and lists each deliverable. It should name the Zitadel and Okta versions in use, the number of customer organizations, the protocol for each, the attribute mapping rules, whether SCIM is included and which lifecycle events it covers, and the test plan with its test users and expected results. Also ask what the customer must supply, how approvals and change windows are handled, what evidence is delivered for a security review, whether retesting is included, and what happens to work outside the scope. Recurring items such as upgrades, support or ongoing SCIM monitoring should be quoted separately from the one-time build.
Can DeployOpen deliver the Okta integration and a test plan under a fixed scope?
DeployOpen plans, implements, integrates, documents and supports self-hosted open-source platforms in your own infrastructure, and most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. A fixed-scope Okta federation engagement can cover the Zitadel configuration for each organization, the Okta side settings your team approves, attribute mapping, SCIM where it is in scope, and a written test plan with results. DeployOpen does not issue audit reports or certifications, so any compliance evidence it prepares is for your independent auditors to assess. Ask for the scope document to list the organizations, protocols, tests and handover items explicitly.
How DeployOpen scopes and delivers the Okta federation
DeployOpen plans, implements, tests, documents and supports self-hosted Zitadel inside your own infrastructure, including the Okta federation described on this page. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- Confirm which Okta organization, applications and users are in scope for the federation.
- Decide with you whether Okta connects over OIDC or SAML, and which Zitadel organization receives it.
- Agree the attribute mapping, SCIM lifecycle events and login policy in the written scope before build.
How we build
- Deploy or configure the Zitadel instance and organization in your infrastructure, with SSO and access controls.
- Register Okta as the identity provider, exchange metadata or client settings, and map attributes to Zitadel users.
- Connect SCIM provisioning and test create, update and deprovision events against sample accounts before go-live.
How we hand over
- Document the Okta settings, certificates, claim mappings and SCIM configuration as built in your environment.
- Provide a runbook covering certificate rotation, failed provisioning checks and how to add another organization.
- Walk your identity and application teams through the configuration and record open items with owners.
How we support
- Offer ongoing support, upgrades and continuous testing for Zitadel and the Okta connection as a retainer.
- Retest the federation after Zitadel or Okta configuration changes, and track findings to closure.
- Ask your own team to confirm current Okta and Zitadel documentation for any settings that change between releases.

