Federating PingFederate or OneLogin with Zitadel over SAML

Connect a customer's PingFederate or OneLogin tenant to Zitadel as a SAML 2.0 identity provider, scoped to one Zitadel organization, with metadata, signing certificates, NameID and attributes checked before go-live.

On this page

How to connect PingFederate or OneLogin to Zitadel over SAML

An enterprise customer that runs PingFederate or OneLogin wants its workforce to sign in to your Zitadel-backed applications with the identity provider it already operates. Zitadel supports SAML 2.0 for federated login, and each customer organization can use a different identity provider, so the customer's IdP is attached to that customer's organization rather than to the whole instance. The work is a SAML trust exchange between the two systems, followed by agreeing how the subject identifier (NameID) and user attributes map onto Zitadel user fields. The exact provider setup steps for PingFederate and OneLogin must be confirmed against the Zitadel identity provider documentation and each vendor's current admin guide, because menu names, binding options and certificate handling change between releases.

Start by agreeing the trust inputs on paper before anyone changes a live setting. The customer's administrator needs to export the Zitadel service provider metadata, and Zitadel needs the customer's IdP metadata or the equivalent endpoint, entity ID, signing certificate and binding details. Confirm which signing certificate and algorithm each side will use, who owns renewal and how the rotation date is communicated. Decide which attribute is the stable identifier for a user, typically an immutable employee ID rather than an email address that can change, and confirm that the NameID format the IdP sends is the one Zitadel expects. Also confirm which attributes (email, given name, family name, groups) the IdP will release, because a missing or differently named attribute is the most common cause of failed or duplicated logins.

Test in a non-production organization first, using a test user whose account is not used for production work. Verify the full login path, including what happens on first sign-in and on a repeat sign-in, and check that the user lands in the intended organization and no other. Confirm that signing-certificate expiry, clock skew and the logout behavior of each side are recorded in the runbook, since a certificate that expires silently will stop every user of that customer from signing in. Plan the cutover and the rollback step together. Keep the customer's existing login route available until the test results are accepted in writing, and make sure the customer's security team has reviewed the assertion contents against its own data-handling rules.

What you need before the SAML trust is configured

A PingFederate or OneLogin SAML trust touches two organizations, two admin planes and several certificates, so most delays come from missing inputs rather than from configuration itself. The cards below list what each side must have ready, and who owns each piece before anyone edits a connector.

A self-hosted Zitadel instance

Confirm the Zitadel release you will run and the PostgreSQL version against the self-hosting database documentation before you plan the trust, since PostgreSQL support is limited to versions 14 through 18. Record the exact release in the change ticket so the SAML settings you test are the ones you ship. Check that the instance is reachable for the organization that will own the federation.

PostgreSQL versions
14 to 18
Database docs

Admin access to Zitadel

You need administrator rights on the Zitadel instance and on the target organization, because the identity provider is registered at the level where the customer's users will sign in. Confirm who can create the provider, who can change its settings, and who can approve a rollback. Keep these roles separate from the customer's administrators so each team controls its own side.

Admin access to the customer's IdP

The customer needs an administrator on their PingFederate or OneLogin tenant who can create a SAML connection for your service and export the metadata. Ask which product version and deployment model they run, since the connector screens and metadata export steps differ between them. Agree on a named contact for certificate changes before go-live.

A public HTTPS endpoint for Zitadel

The customer's IdP must reach the Zitadel endpoints that receive SAML responses and publish metadata, so the instance needs a stable public hostname with a valid TLS certificate. Confirm the domain you will publish before exchanging metadata, because changing it later invalidates every trust built on the old address. Check that your reverse proxy and firewall rules allow the callback path.

Self-hosting overview

Agreed certificate and metadata source

Decide which signing certificate the customer's IdP uses to sign assertions, and whether trust is built from a metadata file, a metadata URL or manually entered values. Metadata URLs refresh automatically, while uploaded files need a manual update at every certificate rotation. Write down the rotation owner and the expiry date of the current certificate.

Clear ownership of the customer side

The customer's identity team must own the configuration of their PingFederate or OneLogin tenant, including attribute release, NameID format, application mapping and their own MFA policy. DeployOpen or your team can document the required values and test them, but the customer's administrators make and maintain those changes. Put this split in the statement of work so responsibility for any later mismatch is clear.

How a SAML login moves between the customer IdP and Zitadel

The login starts when the user opens an application that trusts Zitadel and is sent to Zitadel's login page. Zitadel sends a SAML AuthnRequest to the customer's PingFederate or OneLogin IdP, which authenticates the user under its own policies. The customer IdP returns a signed SAML response to Zitadel's assertion endpoint, and Zitadel validates the signature and then issues its own OIDC tokens to the application. Check the signing certificate, the audience, and the NameID at the point where the response crosses the trust boundary.

Signed SAML assertion crosses from the customer IdP into Zitadel, which then issues OIDC tokens.

Configuration sequence for the SAML trust

This sequence turns a customer's PingFederate or OneLogin deployment into a working SAML identity provider for one Zitadel organization. It ends with a test login that lands in the right organization with the expected NameID and attributes.

  1. Create the SAML provider in the target organization

    Open the customer's Zitadel organization, not the instance, and add a new identity provider using the SAML option documented for Zitadel identity providers. Give the provider a name the customer's admins will recognize and keep it scoped to this organization so other customers are unaffected. Leave the metadata fields empty for now, since the provider needs Zitadel's service provider details before the customer's metadata can be added. Check: the provider appears in the organization's identity provider list with a status that shows it is not yet active, and the instance-level list shows no change.

  2. Export Zitadel's service provider metadata

    From the new provider's configuration, download or copy Zitadel's SAML service provider metadata, including the entity ID and the assertion consumer service endpoint for the HTTP-POST binding. Store the file with the engagement records and note which Zitadel domain it was generated from, because a mismatch in the host name is a common cause of later failures. Check: the metadata file opens as valid XML and contains the entity ID and ACS URL that match the Zitadel domain serving the customer's login.

  3. Register Zitadel as an application in PingFederate or OneLogin

    Ask the customer's identity team to create a SAML application in PingFederate or OneLogin using Zitadel's metadata. Confirm the entity ID, ACS URL and binding match the exported file exactly, and confirm which attributes the application releases, starting with the user's email. The exact menu paths differ by product and version, so confirm them against the vendor's current documentation and the customer's installed release. Check: the application shows as enabled in the customer's admin console and the attribute mapping lists the attributes Zitadel will need.

  4. Return the customer's IdP metadata to Zitadel

    Export the metadata from PingFederate or OneLogin, which contains the identity provider entity ID, the single sign-on endpoint and the signing certificate, and upload or paste it into the SAML provider in the customer's organization. Zitadel parses the entity ID and endpoints from this file, so use the metadata produced for this application, not a generic one. Check: Zitadel accepts the metadata without a parse error, the entity ID displayed matches the one in the customer's console, and the sign-in endpoint is the HTTPS address the customer expects.

  5. Confirm the signing certificate and binding

    Verify that the signing certificate in the metadata is the active one the customer intends to use, and confirm the binding for the sign-in request and response matches what both sides support. Record the certificate's expiry date and the rotation owner, since a certificate rollover on the customer side will break the trust unless Zitadel's copy is updated. Ask the customer to confirm whether assertions are signed, the whole response is signed, or both, because the requirement can differ by configuration. Check: the certificate fingerprint shown in Zitadel matches the one in the customer's console, and a test assertion is shown as signed in the customer's SAML tracing output.

  6. Map NameID and attributes

    Choose the NameID format the customer's application sends, most often an email address or a persistent identifier, and map it to the Zitadel user attribute that will be used to link or create accounts. Map the remaining attributes, such as given name, family name and email, from the assertion to Zitadel's user profile fields. Document the mapping in the engagement record so later changes to the customer's directory do not silently change which Zitadel account a user lands in. Check: a sample assertion from the customer's test user contains the expected NameID value, and Zitadel shows the mapped profile fields for that test user after login.

  7. Activate the provider and run a test login

    Activate the provider for the organization, then sign in with a dedicated test user from the customer's directory using a private browser session. Confirm the user is redirected to PingFederate or OneLogin, authenticates there, and returns to Zitadel with a session in the expected organization. Repeat the test with a second user from a different customer organization to confirm the provider is not visible or usable outside its scope. Check: the test user lands in the correct organization, the account is linked or created as designed, and the second organization's login page does not offer the provider.

How SAML attributes and NameID map to Zitadel user fields

This table lists the identity fields to agree with the customer before configuring the SAML connection, including the source attribute in PingFederate or OneLogin, the Zitadel user field it fills, and whether login depends on it. Confirm every attribute name in the customer's own IdP configuration, because vendors and customers often rename claims, and treat the owner column as the sign-off list.

FieldSource attribute in the IdPZitadel user fieldRequired for login and owner
NameIDConfirm the NameID format and the value it carries in the customer's PingFederate or OneLogin SAML applicationExternal user identifier used to link the federated loginYes. Customer identity administrator confirms format and value
EmailConfirm the attribute name the customer sends, which may not be the default email claimEmail address, used for verification and domain matchingYes if used for linking. Customer IdP administrator confirms
Given nameConfirm the attribute name for first name in the customer's SAML mappingFirst name on the Zitadel user profileNo, but needed for a complete profile. Customer IdP administrator confirms
Family nameConfirm the attribute name for last name in the customer's SAML mappingLast name on the Zitadel user profileNo, but needed for a complete profile. Customer IdP administrator confirms
Group or role claimsConfirm which attribute carries groups and whether it is multi-valued in the customer's configurationRead by a Zitadel Action to assign project roles or grants after loginNo for login. Your team and customer application owner confirm the role mapping
Attribute name formatConfirm whether the customer sends URI-style or friendly attribute namesMapping key used in the Zitadel SAML provider and ActionsYour team confirms against a test assertion from the customer's environment
Signing and encryption useConfirm which certificate signs assertions and whether assertions are encryptedNot a user field, but it determines whether the assertion can be trusted at loginYes. Customer security team confirms certificate ownership and rotation

Choosing a stable NameID and attribute set

The NameID that PingFederate or OneLogin sends in each SAML assertion is the value Zitadel uses to recognize a returning user through a federated identity link, so it must stay the same for that person for as long as they hold an account. Agree on the NameID format and the source attribute with the customer before go-live, and write the decision down. If the customer later changes the NameID format, the source attribute, or the directory field behind it, Zitadel receives a value it has never linked before. The result is usually a second user object for the same person, with separate roles, grants and audit history. Fixing that after launch means merging accounts by hand, so treat the NameID as a contract, not a display setting.

Email is a weak key for this purpose. Addresses change through marriages, name corrections, domain renames and mergers, and some organizations reuse or alias addresses. A stable identifier such as an immutable employee ID or a directory object identifier is a better candidate for the NameID when the customer can supply it, and the customer's identity team should confirm that the value does not change when the person moves departments or leaves and returns. If the customer insists on email, confirm how they handle address changes and whether Zitadel will see the new address as a different user. Check this with a test account that has its address changed in the customer's directory before you rely on it.

Attribute release rules on the PingFederate or OneLogin side decide what Zitadel receives. A user only gets an attribute in the assertion if the connection's attribute mapping or release policy includes it, so confirm the exact list the customer will release and which attributes are required versus optional. Decide with the customer whether group or role claims are needed for Zitadel to assign roles, and whether those groups are stable enough to drive authorization in your organization. Group membership often changes more often than identity, so many teams keep groups out of the linking decision and manage roles in Zitadel. Record each optional attribute, its owner and what happens when it is missing, so the first login does not silently create incomplete profiles.

Scoping the SAML provider to one organization

This is the most common starting point. One customer organization runs its own PingFederate or OneLogin tenant, and only that organization's users should reach the provider. The SAML identity provider is created inside that customer's organization so its settings, signing certificate and attribute mapping belong to that one tenant. Domain discovery then sends users whose email domain is verified for that organization to the provider, and nobody else sees it on the login page.

  • Where it lives: Create the SAML provider on the customer organization in the Zitadel console. Confirm the current console path in the Zitadel organizations documentation before you write the runbook.
  • Discovery: Verify the customer's domain on that organization so login by email address routes to the provider.
  • Metadata: Exchange metadata between the customer's administrator and your Zitadel team, so each side's entity ID and certificate are recorded against this organization only.
  • Adding a second organization later: You create a second provider on the second organization. The first customer's settings do not change, but you must confirm that entity IDs and ACS URLs are unique per provider.
  • Ownership: Record which customer administrator can change the provider, since organization-level administrators may hold that permission.

Before go-live, confirm with the customer that only their verified domain routes to this provider and that a test user from another domain cannot see it.

Security settings for the federated SAML trust

A SAML trust between PingFederate or OneLogin and Zitadel is only as strict as its settings. The cards below cover the controls that decide who can sign in, which certificates Zitadel accepts, how far a customer's provider can reach into your identity platform, and how the trust is changed and recorded over time.

Require signed responses and assertions

Configure the customer's IdP to sign SAML responses and assertions, and confirm that Zitadel rejects unsigned or incorrectly signed messages before a provider goes live. Test with a deliberately altered assertion in a non-production organization. A trust that accepts unsigned content lets anyone who can reach the assertion endpoint forge a login, so treat this as a go-live gate, not a later tuning task.

Zitadel identity providers

Pin the accepted signing certificates

Register only the signing certificate that the customer's PingFederate or OneLogin environment actually uses, and avoid trusting a certificate chain broadly. Record the certificate's fingerprint, expiry date and owner. Agree a rotation procedure with the customer before the first renewal date, including an overlap window in which both old and new certificates are accepted, so that a rotation does not cause a sign-in outage or push teams toward accepting untrusted keys.

Scope the provider to one organization

Attach the customer's SAML provider to that customer's organization only, so its users can reach that organization and no other. Confirm that the provider cannot be selected for users in other organizations or at instance level, and that its login policy does not widen access. Checking this with two test organizations, one of them unrelated to the customer, shows whether the boundary holds.

Keep the admin console out of reach

Customer administrators who manage PingFederate or OneLogin should not receive Zitadel console or instance administrator rights as a side effect of the federation. Limit any delegated access to the organization they need, and keep Zitadel's administrative accounts, console access and instance roles under your own control. Confirm this with a role review after the trust is created, because federated accounts can otherwise inherit roles through grants.

Put IdP metadata under change control

Treat the metadata file, entity ID, assertion consumer URL and attribute mapping as configuration that changes only through a recorded request. Store the approved version in your configuration repository, compare any new metadata against it, and require a second reviewer for changes to endpoints or certificates. Ask the customer to confirm who on their side may change the metadata and how they notify you.

Log every federated sign-in

Confirm that each federated login, failed assertion and provider change appears in the audit trail with the organization, provider and user identifier. Decide how long these records are kept and who may read them, and test that an event from the customer's IdP can be traced to a specific Zitadel user. Your customer's IdP session and MFA policy still apply to every login, so ask them to confirm the session lifetime and MFA requirement they enforce before signing off the trust.

Common SAML failures and how to fix them

This table pairs each common symptom in a PingFederate or OneLogin to Zitadel SAML connection with its likely cause and the fix. Read each row against the logs of both systems before changing configuration, because several symptoms look identical from the user's screen. The main takeaway is that most failures trace back to a mismatch in a value both sides must agree on: certificate, entity ID, ACS URL, NameID or attribute names.

SymptomLikely causeFix
Assertion rejected with a signature validation errorThe signing certificate in Zitadel is wrong, expired or was rotated on the IdP without updating the provider metadataConfirm the active signing certificate and its expiry date in PingFederate or OneLogin, then re-import the current metadata or certificate into Zitadel and test a fresh login
Error about an audience restriction or unexpected audienceThe entity ID configured on the service provider side does not match the audience the IdP puts in the assertionCompare the SP entity ID in the IdP connection with the value Zitadel expects for that organization, and correct whichever side differs; the values must match exactly, including trailing slashes
Browser returns to login with no session created, or the POST failsThe ACS URL registered in PingFederate or OneLogin does not match the assertion consumer service URL Zitadel exposes for the organizationCopy the ACS URL from the Zitadel provider settings into the IdP connection, confirm the binding is HTTP-POST, and check the Zitadel log for the destination value it received
Second login creates a new user instead of reusing the existing accountThe NameID format or value differs between logins, for example an email address on one attempt and an opaque identifier on anotherChoose one persistent NameID format in the IdP, keep the same source attribute, and verify the NameID in the SAML response logs before enabling automatic user creation for the organization
Login fails after authentication with a message about a missing email or profile fieldThe IdP does not release the email or name attribute, or the attribute name differs from the mapping in ZitadelCompare the attribute names in the assertion with the mapping configured for the provider, add the attribute release rule in PingFederate or OneLogin, and retest with a test user
Assertion reported as not yet valid or expiredClock skew between the IdP, Zitadel and the user's network time sourceCheck time synchronization on both systems with NTP, review the NotBefore and NotOnOrAfter values in the log, and fix the drift before adjusting any validity window
User signs in and lands in another customer's organizationThe provider is attached at instance level, or the organization or domain routing sends the user to the wrong identity providerScope the SAML provider to the correct organization, confirm each IdP connection points to its own organization, and test with one user from each customer before going live
Login works for one customer but not another with the same IdP productEach customer's PingFederate or OneLogin environment has different certificates, entity IDs or attribute namesKeep one provider configuration per organization, record each customer's values separately, and verify every connection against its own IdP logs rather than a copied template

Questions buyers ask before outside help on a PingFederate or OneLogin federation

What drives the effort of a PingFederate or OneLogin federation with Zitadel?

The effort is driven mostly by how many customer identity providers you connect, how complex the attribute and group mapping is, how much access your team gets to each customer's IdP administrators, how certificates are issued and rotated, and how much testing you require. One customer with a single SAML connection and a short list of attributes is a small piece of work. Ten customers on different PingFederate or OneLogin versions, each with its own group model and signing certificate, is a much larger one. Ask the provider to show which of these drivers its scope assumes and what changes if any of them grows.

Can our own team set up a SAML federation with PingFederate or OneLogin alone?

Yes, if your team has someone who can administer Zitadel, someone who can administer each customer's PingFederate or OneLogin tenant, and time to test the login flow end to end. The usual gaps are not the SAML settings themselves but the coordination: exchanging metadata, agreeing on the NameID format, confirming which attributes the customer will send, and checking that signing certificates are valid on both sides. A first connection is often easier to build with an outside engineer who has done it before, then handed over with a runbook for the next customers.

What do we need to provide before the work starts?

Plan for four inputs. First, administrator access to your Zitadel instance, or a named engineer who holds it, with the right to create organizations and identity providers. Second, a written decision on the NameID format, the attributes Zitadel will map to user profile fields, and how group or role claims are handled. Third, a named contact at each customer who can change settings in their PingFederate or OneLogin tenant and approve certificate exchange. Fourth, test users in each customer tenant, including one account that should be denied access, so you can confirm both the success and failure paths.

How long does a federation like this take?

The duration follows the same drivers as the effort: the number of customer tenants, how quickly each customer's administrators respond, how many attributes and groups must be mapped, and how many test rounds the security team requires. A single connection can be tested within a short working session once both sides agree on the configuration, while several customers on different platform versions take longer because each one needs its own metadata exchange and test cycle. Ask for the timeline to be broken into phases with a dependency on customer responses, since that is where most delays happen.

How are signing certificates handled, and who renews them?

Each side signs or verifies SAML assertions with keys and certificates, so the metadata exchange must carry the right certificate for each organization. Decide up front who owns certificate issuance, where the private keys are stored, how the expiry date is tracked, and how the rotation is coordinated, because an expired certificate breaks logins without warning. Your written scope should name the certificate owner on both the Zitadel side and each customer side, and it should include a rotation procedure your operations team can run without the outside engineer.

What should we ask for in a written quote?

Ask for a scope that lists each customer tenant to be connected, the PingFederate or OneLogin versions in use, the NameID and attribute decisions, and the group mapping rules. Ask for the testing scope, including which test users and negative cases are covered, and whether a retest is included. Ask who is responsible for each customer-side change, what the customer must have ready before work begins, what is delivered at the end (configuration records, runbook, certificate calendar), and what support is included after handover. A fixed-scope quote with these items in writing makes it easier to compare options and to add customers later.

Does the work cover audit evidence for our customers' security reviews?

DeployOpen can document the federation configuration, the access rules, and the test results so your compliance team has material to review. It does not issue audit reports, attestations or certifications, which come from independent auditors and certification bodies. Ask the provider to list the evidence it will deliver, such as configuration exports, test records and a change log, and confirm with your auditor which items they will need for their assessment.

How DeployOpen scopes and delivers a SAML federation for Zitadel

DeployOpen plans, implements, tests and documents SAML federation between Zitadel and your customers' PingFederate or OneLogin identity providers, inside infrastructure you control. Engagements are fixed-scope, with the scope, deliverables and timeline agreed in writing before work starts.

How we scope

  • Confirm which customer organizations in Zitadel will each trust their own PingFederate or OneLogin tenant.
  • Record the SAML attributes, NameID format and signing certificate expectations agreed with each customer identity team.
  • Write down the Zitadel version, PostgreSQL version and deployment model the federation will run on before build starts.

How we build

  • Configure each SAML identity provider per organization, exchanging metadata and verifying signing certificates in a controlled test environment.
  • Map NameID and attributes to Zitadel user fields, and test login, logout and error paths for each organization.
  • Set up domain-based routing and per-organization scoping so one customer's provider cannot be used by another organization.

How we hand over

  • Deliver configuration records covering metadata versions, certificate owners and expiry dates, and attribute mappings for each organization.
  • Provide a runbook for certificate rotation, provider changes and customer onboarding, written for your operations team.
  • Walk your engineers and customer administrators through the test results and the open items agreed in the written scope.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the initial handover.
  • Retesting after Zitadel upgrades or customer identity provider changes can be included in a retainer scope.
  • Ask for the support scope, response expectations and upgrade handling in writing before you sign, since these are set per engagement.

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.