openDesk SSO and identity federation

Federating openDesk with your existing identity provider decides who signs in, where users come from and how access is removed. This guide covers the design choices, build sequence and checks.

On this page

Why openDesk SSO and identity federation needs a plan before the cluster is built

If your organization must keep identities in its own directory while running openDesk's Keycloak-based IdP, the decision that matters most is which system is the source of truth for users. openDesk supports OIDC-based federation between your existing identity provider and the openDesk IdP, and it supports one-way user provisioning from LDAP or Active Directory using the Nubus Directory Importer. Those two mechanisms can coexist, but they answer different questions: federation handles who signs in and how, while provisioning decides which accounts exist and who maintains them. Settle that split with your identity team before the Kubernetes cluster and external services are sized, because the answer changes the directory connections, the attributes you must expose and the procedure for disabling a leaver.

The work is harder than it looks for three reasons. First, users are matched between systems by username or by another attribute, such as mailPrimaryAddress. If the primary address in your directory differs from the value openDesk expects, or if usernames are reused or renamed, accounts will fail to match or will match the wrong person. Confirm the matching attribute against real directory data, including aliases and shared mailboxes, before any pilot. Second, Microsoft Entra ID does not expose LDAP, so an Entra ID tenant cannot feed the Nubus Directory Importer directly. openDesk's documentation points to Azure AD Domain Services as the route, which adds a managed domain with its own cost, sync latency and operational ownership. Third, someone must own the user lifecycle: joiners, role changes, leavers and group membership. Ask the identity team and the openDesk operator to write down who creates, changes and removes accounts, and which system wins when the two disagree.

Ask for the exact federation and provisioning design in writing as part of any quote or internal plan, and confirm three points with your identity team and against the current openDesk federation documentation: the matching attribute, the directory or domain service that will be queried, and the owner of each lifecycle step. Those answers determine the build sequence and the verification steps that follow, so they belong in the plan before any configuration is written.

Which openDesk and identity components are involved

Identity in openDesk is split across several parts: the Keycloak-based IdP, the Nubus portal and IAM layer, the directory importer, and the organization's own identity source. Each part has a different job, and the setup only works when the matching attribute and the directory path are decided before any federation is configured.

Keycloak-based openDesk IdP

This is the identity provider that openDesk applications trust for login. In a federated setup, it sits between your existing identity provider and the openDesk services, so users sign in through their home credentials while openDesk issues the tokens its components accept. Confirm early which realm and client settings ZenDiS documents for your openDesk release, because changes here affect every bundled application.

Federation docs

Nubus for portal and IAM

Nubus provides the portal and identity and access management layer that openDesk components rely on for user and group information. It is also the component that the Nubus Directory Importer feeds. Review how group membership and roles are represented in Nubus, since access to each bundled application depends on it, and confirm which parts you will manage from the portal and which from the directory.

Nubus Directory Importer

The Directory Importer is the recommended one-way route for provisioning openDesk users from LDAP or Active Directory. Because it only flows from the directory into openDesk, changes made in openDesk are not written back. Plan which organizational units, groups and account states are imported, and test deprovisioning, since disabled accounts in the source directory must stop working in openDesk.

Your existing identity provider

Your current identity provider holds the authoritative credentials, MFA policy and account lifecycle. openDesk federates to it over OIDC for sign-in, and the directory path (AD or LDAP) supplies user records. Confirm who owns password policy, MFA enforcement and offboarding, and whether the source system exposes the attributes openDesk needs for matching.

Azure AD Domain Services for Entra ID

Microsoft Entra ID does not expose LDAP, so an Entra ID tenant cannot feed the Directory Importer directly. The documented route is Azure AD Domain Services, which provides an LDAP-compatible directory synchronized from Entra ID. Ask your Microsoft administrator whether this service is already licensed and enabled, and confirm how it is scoped, because it adds a component to your identity path.

User matching attributes

Federation must match each external identity to exactly one openDesk account. The openDesk documentation supports matching by username or by another attribute such as mailPrimaryAddress. Choose the attribute before go-live, verify it is unique and stable in your directory, and test renamed or re-addressed users, because a mismatch can create duplicate accounts or block sign-in.

Which identity source of truth and federation pattern to choose

This table compares four ways to connect users to openDesk: OIDC federation, one-way Nubus Directory Importer sync, an LDAP path through Azure AD Domain Services for Entra ID, and local openDesk accounts. Read each row against your directory, your deprovisioning process and who will own the sync. The main takeaway is that the choice decides where user lifecycle authority sits, so settle it before the pilot.

PatternWhen it fitsOperational cost and ownership
OIDC federation with the existing IdPYour IdP is the authoritative source and can issue OIDC logins to the Keycloak-based openDesk IdPYour identity team owns client registration, claim mapping and user matching by username or an attribute such as mailPrimaryAddress. Account disablement happens in your IdP, but confirm how openDesk-side accounts are removed.
One-way import with Nubus Directory ImporterOn-premises Active Directory or LDAP is the source of truth and you want accounts provisioned into openDeskThe import is one-way, so changes in openDesk do not flow back to the directory. Deprovisioning depends on the source directory, so confirm that disabled or removed users are reflected in openDesk on your schedule.
LDAP path via Azure AD Domain Services for Entra IDYour users live in Microsoft Entra ID and you need an LDAP interface for openDesk provisioningEntra ID does not expose LDAP directly, so you must provision Azure AD Domain Services. That adds a managed service, its own licensing and network design, and a second directory to keep in step.
Local openDesk accountsSmall pilots, evaluation environments or groups with no directory integrationEvery joiner, mover and leaver is handled by hand inside openDesk. This adds an audit gap and deprovisioning risk that grows with user count, so it is rarely a steady-state choice for regulated organizations.
Hybrid: OIDC login plus directory importYou want directory-backed attributes and group data while keeping a single login experienceTwo integrations to maintain and test. Confirm which system is authoritative for each attribute and which one wins when they disagree.

How login federation and directory sync fit together

Directory sync and login federation run on separate paths. The Nubus Directory Importer copies users one way from Active Directory or LDAP into Nubus, which holds the openDesk user records. For login, the browser sends the user to the Keycloak-based openDesk IdP, which hands off to the organization's existing identity provider over OIDC and returns to the openDesk applications. Check that the username or mailPrimaryAddress matching attribute resolves to the same person on both sides before go-live.

Directory sync and OIDC login as separate paths across the trust boundary.

How to build openDesk SSO federation step by step

This sequence moves openDesk sign-in from local accounts to your existing identity provider, one verified check at a time, so that users are provisioned correctly before access is widened.

  1. Confirm the matching attribute and source of truth

    Before any configuration, the identity team decides which directory is authoritative for user lifecycle, and which attribute links an account in your identity provider to its openDesk user. openDesk can match users by username or another attribute such as mailPrimaryAddress, so the choice must hold for every user, including shared mailboxes and renamed staff. Write down the decision, the attribute name and who owns it. The step is done when a sample of ten or so real accounts shows that the chosen attribute is populated and unique for each person. Confirm the exact attribute handling with the openDesk federation documentation for your release.

  2. Register openDesk as an OIDC client

    Your identity administrator creates an OpenID Connect client in the existing identity provider that represents the Keycloak-based openDesk IdP. The client needs the redirect URI for your openDesk domain, the agreed client identifier and secret, and the scopes that carry the matching attribute and group claims. Store the secret in your secrets manager, not in the values file. The step is done when the provider's discovery document loads from the openDesk side and a test token request returns the expected claims for one account.

  3. Configure federation in the openDesk IdP

    The platform team adds your identity provider as a federated identity provider in the openDesk deployment configuration, using the discovery URL, client identifier and secret from the previous step, and the matching attribute chosen in step one. Changes are made through the Helmfile-based configuration and applied with a controlled release, so that the change is traceable. The step is done when the deployment rolls out without errors and the openDesk login page offers your identity provider as a sign-in option.

  4. Provision users through the directory path

    Choose one provisioning path. For on-premises Active Directory or LDAP, the recommended route is the one-way Nubus Directory Importer, which copies users into openDesk from the directory you designated as the source of truth. For Microsoft Entra ID, Entra ID does not expose LDAP, so the directory path runs through Azure AD Domain Services, and that service must be provisioned and synchronized first. Your team owns the service accounts, bind permissions and filters. The step is done when a known test group appears in the openDesk admin view with the expected users and attributes, and a deliberately disabled account is not active in openDesk.

  5. Test sign-in with a pilot group

    Select a small pilot group that covers the main account types, such as a standard user, an administrator and a user with a non-standard attribute value. Each pilot user signs in through the federated provider, opens the core applications their role needs, and signs out. Record each result against the test plan, including the matched openDesk user record and any group or role mismatch. The step is done when every pilot user signs in on the first attempt with the correct identity and role, and any failure has a documented cause and fix.

  6. Verify deprovisioning and access changes

    Before widening access, test what happens when a person leaves a group or the directory. Disable one pilot account in the source directory, run or wait for the next import cycle, and confirm that the openDesk account is blocked and that existing sessions end according to your policy. Also confirm that a group removal removes the matching openDesk access. The step is done when both tests produce the expected result and the outcome is written into the operations runbook for your team.

  7. Widen access in controlled waves

    Add further groups in waves, each with the same sign-in, provisioning and deprovisioning checks as the pilot. Keep a rollback path for the federation settings and document who approves each wave. Ask your DeployOpen or internal team to confirm the sizing and wave plan in the written scope, because timing depends on your directory size, change control and support model. The sequence is complete when all intended groups sign in through the federated provider, the directory import runs cleanly, and the operations team has the monitoring and support steps in place.

How the identity setup changes by directory type

Active Directory is the directory the supplied openDesk documentation names first for user provisioning. The recommended path is the one-way Nubus Directory Importer, which reads users and groups from your domain and creates the matching accounts in openDesk's Nubus identity store. Authentication to the portal can then run through the Keycloak-based openDesk IdP, either against the imported accounts or through OIDC federation with your existing identity provider.

  • Import scope: Confirm which organizational units and groups the importer may read, and which account types (staff, contractors, service accounts) should never become openDesk users.
  • Matching key: Decide whether users are matched by username or by an attribute such as mailPrimaryAddress, and confirm that the chosen attribute is unique and populated for every user.
  • Group mapping: Agree which AD groups map to openDesk roles and which teams need their own pilot group.
  • Disabled and moved accounts: Ask how leavers, disabled accounts and renamed users are expected to flow through, since the importer is one-way.
  • Service accounts: Confirm the bind account the importer uses, its read-only scope and who rotates its password.

Before the build, ask the directory owner to confirm the attribute names, the base distinguished names and the bind account, and to provide a sample export of test users.

How to handle Microsoft Entra ID without LDAP

Microsoft Entra ID does not expose LDAP, so the documented route for syncing users from a Microsoft tenant into openDesk runs through Azure AD Domain Services. The Nubus Directory Importer reads from an LDAP directory, so an Entra ID tenant on its own is not a source for it. Azure AD Domain Services provides a managed domain that replicates identities from Entra ID and presents them over LDAP, and that managed domain becomes the directory the importer connects to. Decide this route before the pilot, because it changes which system holds the authoritative user record for openDesk.

Azure AD Domain Services adds a component you must operate and pay for. It is a separate managed service with its own domain, its own replica sets and its own administrative accounts, so your team needs to know who owns it and how it is monitored. The cluster must reach its LDAP endpoints over the network, which usually means confirming routing and firewall rules between the Kubernetes environment and the managed domain, and checking that the importer's TLS and bind settings match what the domain expects. Ask your Microsoft partner or tenant administrator to confirm the current domain edition, its pricing and whether your tenant's licensing covers it, since those terms are set by Microsoft and change over time.

Before you commit, check three things in your tenant. First, confirm that the users and groups openDesk needs are present in Entra ID and that the attributes used for matching, such as the username or mailPrimaryAddress, are populated and consistent. Second, measure how long a change in Entra ID takes to appear in the managed domain, because that replication delay becomes the lag between a leaver being disabled and their openDesk access being removed, and you must set your offboarding expectations around it. Third, test a bind and a sample import in a non-production tenant with the same domain configuration, so that the network path, certificates and licensing are proven before the rollout plan depends on them.

How to protect credentials, bind accounts and admin access

Federation and directory sync give the openDesk identity provider trust in two systems at once: your existing IdP and your directory. The controls below decide whether that trust stays contained. Each card covers one item you should settle before connecting production users.

Store the OIDC client secret outside config

The client secret that the Keycloak-based openDesk IdP uses to talk to your existing identity provider should never sit in a values file committed to a repository. Keep it in your secrets manager or sealed secret store, and limit who can read the Kubernetes secret that holds it. Check that rotation is documented, since you will need to replace the secret on both sides at the same time.

Federation docs

Use a least-privilege LDAP bind account

The Nubus Directory Importer reads users and groups from Active Directory or LDAP through a bind account. Create a dedicated service account that can read only the organizational units and attributes openDesk needs, such as username, mail address and group membership. Deny write access and interactive logon, and confirm with your directory team which attributes the importer actually requires before granting read scope.

Restrict admin roles in the IdP

Users who can administer the openDesk IdP can change federation mappings, create accounts and grant roles across every bundled application. Limit realm administration to a small named group, and keep it separate from the directory admins who manage your source system. Review that group on a fixed schedule and remove it from any account that no longer needs platform access.

Encrypt every federation and directory connection

Federation traffic carries tokens, and directory sync carries personal data and bind credentials. Require TLS on the OIDC endpoints and on the LDAP or LDAPS connection used by the importer, and verify certificate chains against your internal CA rather than disabling checks during testing. Ask your team to confirm which certificate authorities the cluster trusts, since a failed trust chain is a common cause of stalled sync.

Separate break-glass local admin access

Keep one or two local emergency admin accounts that do not depend on federation, so you can recover access if the external IdP or the directory is unavailable. Store their credentials offline under dual control, enable strong authentication on them, and log every use. Test the procedure in the pilot environment so that the people who would use it know where the credentials are and how to rotate them afterwards.

Confirm image and chart trust before sync

Before the importer and federation run against production directories, confirm that the charts and images you deploy are the ones you reviewed. openDesk signs most Helm charts and pins images by digest, and the security documentation describes these checks along with network policies that limit which pods reach the IdP. Verify those settings in your cluster instead of assuming they are active.

Security docs

What drives identity integration effort and how to reduce it

This table lists the factors that change identity integration effort for openDesk, with a way to reduce each one. Use it to scope your directory work before asking for a quote, and treat each row as a question to answer against your own directory. No durations are supplied for these factors, so ask for an estimate based on your directory.

DriverWhy it changes effortHow to keep it down
User count and group complexityLarger user sets and nested or overlapping groups increase mapping rules, test cases and pilot waves for the Nubus Directory Importer.Limit sync to the groups that need openDesk access, and flatten group logic into a few named roles before the pilot.
Number of directories and tenantsEach source directory or tenant needs its own mapping, credentials and reconciliation, and multiple forests multiply that work.Consolidate to one authoritative source where possible, and confirm early which directory holds the identity of record.
Attribute quality (duplicate or missing mail addresses)Federation matches users by username or another attribute such as mailPrimaryAddress, so duplicates or gaps cause mismatches and manual cleanup.Audit mail and username attributes before the pilot, and agree one matching attribute and a fix-up process for exceptions.
Deprovisioning rulesThe importer is one-way, so leaver handling, disabled accounts and orphaned mailboxes must be defined and tested, not assumed.Write the joiner, mover and leaver rules in advance, and test one deprovisioning case end to end during the pilot.
Entra ID route complexityEntra ID does not expose LDAP, so an Azure AD Domain Services route is needed for directory sync, which adds a service to build, secure and operate.Confirm whether Domain Services already exists in your tenant, and decide the route before infrastructure design starts.
Number of environmentsSeparate test, pilot and production realms each need their own federation configuration, client settings and verification.Keep configuration as code across environments, and promote tested settings rather than rebuilding them by hand.
Compliance evidence needsAssessors often ask for proof of access approvals, sync logs and deprovisioning records, which must be collected and kept from the start.Define the evidence list with your compliance team before build, and enable logging for sync and login events from day one.

How to test that federation works and fails safely

Test federation before any real user depends on it. Build a test matrix that covers one successful OIDC login for each directory group that will receive openDesk access, because a group mapping that works for one team can fail for another if its members carry different attributes or roles. Run each login from a clean browser session, confirm the user lands in the expected openDesk application with the expected permissions, and repeat the check for administrators, standard users and any group that is meant to have no access. Use dedicated test accounts in the source directory so that the results can be repeated after each configuration change or openDesk upgrade. Confirm with your identity team which attribute the federation matches on, since the openDesk federation documentation describes matching by username or by another attribute such as mailPrimaryAddress.

Next, test the negative cases, which matter more for a public sector audit. Disable a test account in the source directory and confirm that its existing openDesk sessions end and that a new login is refused. Then remove a test account from its group or delete it, wait for the next Nubus Directory Importer run, and confirm that access is removed in openDesk as your documented offboarding process expects. Test a mismatch in capitalization between the username in the directory and the value presented by the external IdP, and confirm the account either matches correctly under the case handling you configured or is rejected. Do not accept a silent creation of a second account. Ask the vendor and your integrator to confirm how the Keycloak-based IdP handles case-sensitive attributes in your version, since this behavior is a configuration decision rather than a default you can assume.

Finally, test what happens when the external IdP is unreachable, and confirm that one-way sync does not write back. Block the external IdP endpoint from the openDesk network, attempt a login, and record that access fails closed with no local password fallback you did not intend to allow. Restore connectivity and confirm recovery. For one-way sync, change a test attribute in openDesk and confirm the source directory is unchanged after the next import, then check the importer logs for any write attempts. Keep the output as evidence for the compliance team: test IDs, dates, the openDesk release and configuration version, screenshots or log extracts, expected and actual results, and the named tester. Ask your assessor which format they accept before the first run.

What to monitor, back up and document after go-live

What should we monitor after openDesk SSO goes live?

Monitor failed logins at the federated identity provider and at the Keycloak-based openDesk IdP, along with the outcome of every directory sync run. Failed logins often show up first as a spike in one error class, such as an expired client secret, a changed claim name or a certificate that no longer validates. Watch sync runs for users that were created, changed or disabled, and alert when a run fails or removes an unexpectedly large number of accounts. Confirm with your own team which log sinks, retention periods and alert thresholds your security operations center expects, since these depend on your environment.

How do we back up openDesk IdP configuration and realm exports?

Back up the realm configuration, the federation settings for your external identity provider, the sync configuration for the Nubus Directory Importer and the Helmfile values that define them. Store exports encrypted, outside the cluster, and with access limited to the team that administers identity. Test restores in a non-production environment, because an export that cannot be re-imported gives no recovery path. Ask your openDesk implementation partner or ZenDiS documentation which export method and secrets handling apply to your release, and confirm how the Keycloak database itself is backed up through your PostgreSQL service.

How do openDesk release changes affect the identity components?

Each monthly minor release can change the identity components, so treat every release as a change to SSO and sync behavior, not only to the applications. openDesk plans major releases annually in Q3, minor releases monthly and patch releases on demand, and supports only the latest minor version. Review release notes for Keycloak, Nubus and the importer before upgrading, test federation login and a sync run in a staging environment, and keep a rollback plan. Upgrade sequencing, breaking changes and Helmfile steps are covered in the separate openDesk upgrades and support topic.

How often should we rotate certificates and secrets for federation?

Rotate on a fixed schedule and after any suspected exposure, covering the OIDC client secret, the TLS certificates used for the federation endpoints, the bind account for directory access and the signing keys your identity provider uses. Plan each rotation as a change with a window, because a rotated secret that is not updated in both systems stops logins immediately. Record where each secret is stored and who can read it. Confirm the rotation interval your security policy requires, and check with your identity provider team how it issues and renews certificates.

What runbook do we need for adding or removing a directory source?

A directory source runbook should cover the request and approval, the change to the importer configuration, a test sync against a pilot group, verification of matched accounts and the rollback step. Removing a source needs extra care: decide in advance whether accounts that disappear from the source are disabled or deleted, and confirm the importer behavior in your release before you change anything. Record the attribute used to match users, such as username or mailPrimaryAddress, because a change to that attribute can create duplicate accounts. Keep the runbook under version control next to the deployment configuration.

What documentation should we keep for identity federation audits?

Keep a current record of the federation design, the attribute mapping, the sync scope, the list of administrators with identity privileges, the change history and the test evidence from each release. Auditors and your compliance team will ask who can change identity settings, how changes are approved and how you know a sync did what it was meant to do. Preparing that evidence is part of compliance readiness work, but an independent auditor or certification body decides whether your controls meet the requirements. Ask your team which control framework applies to your organization before you structure the record.

Who should own identity operations after openDesk goes live?

Assign a named owner for the IdP configuration, one for directory sync and one for the escalation path to the openDesk operations team, and document who approves changes. Ownership usually sits with the team that already runs your identity provider, with platform engineers handling the Kubernetes side. Cost depends on how much of this your staff can absorb, so ask a partner to separate one-time setup from recurring operations in the quote. Confirm support coverage with ZenDiS or your Enterprise Edition provider, because only the Enterprise Edition includes SLA-backed support.

What DeployOpen needs from your identity team before scoping

Before DeployOpen can write a fixed-scope quote for openDesk identity work, the identity team needs to settle four inputs: the directory type and size, the attribute used to match accounts, the source of truth for user data, and the admin and test-user contacts. The first decision is whether users live in on-premises Active Directory, LDAP, or Microsoft Entra ID, because that choice decides whether the one-way Nubus Directory Importer applies directly or whether Azure AD Domain Services is needed first. Confirm internally how many user objects, groups and nested group memberships will be synchronized, and which organizational units are in scope, since these drive the size of the import and the testing.

Next, confirm the matching attribute. openDesk federation can match users by username or by another attribute such as mailPrimaryAddress, so the team should check that the chosen attribute is unique, populated for every in-scope user, and identical in form between the existing identity provider and the Keycloak-based openDesk IdP. Decide also which system is the source of truth for each attribute, such as name, email and group membership. Writing this down prevents a situation where openDesk changes are overwritten by the directory on the next sync, or the reverse. For Entra ID tenants, collect the tenant ID, the domains that will be federated, and whether conditional access or multi-factor policies will apply to openDesk sign-ins.

Finally, name the people who will approve and test. Ask for one accountable owner for the identity design, the directory administrators who can grant service accounts and read access, and the people who will hold openDesk admin roles. Prepare a small set of test users covering each role and each group the pilot will use, with known passwords or MFA enrolment handled according to policy. Confirm these names and the change approval route with your internal change board before the scoping call, so the quote reflects who will actually be available. DeployOpen will confirm each input in writing as part of the scope document, and the identity design itself is covered in the sections above.

How DeployOpen scopes, builds and hands over openDesk identity work

DeployOpen approaches openDesk SSO and identity federation as written, scoped work inside the client's own infrastructure. We agree the identity sources, federation design and user provisioning path before build starts, then hand over documented configuration that the client's own teams can review and run.

How we scope

  • Engagements are fixed-scope, with the identity provider, federation method and user sources agreed in writing before work starts.
  • We confirm whether your existing provider connects over OIDC and which attribute, such as username or mailPrimaryAddress, matches users.
  • We confirm whether users come from Active Directory, LDAP or Microsoft Entra ID, since Entra ID needs Azure AD Domain Services for LDAP access.

How we build

  • We configure the OIDC federation between your identity provider and the Keycloak-based openDesk IdP in your own cluster.
  • We set up the one-way Nubus Directory Importer for LDAP or Active Directory sources, with the attribute mapping agreed during scoping.
  • We test login, logout, group mapping and account matching with a pilot set of accounts before any wider user population is connected.

How we hand over

  • You receive documented federation settings, Helmfile values and attribute mappings so your team can review and reproduce the configuration.
  • We document the provisioning rules, including which directory changes sync and what happens to accounts removed at the source.
  • Your team receives a walkthrough of the test results and a list of open items to confirm with your identity provider owners.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, covering identity changes across openDesk releases.
  • We can retest federation and provisioning after openDesk minor upgrades, since only the latest minor version is supported.
  • Retainer scope, response expectations and any service levels are set out in the written agreement, so confirm them in the quote.

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.