Skip to main content

Single sign-on

Configure an external OIDC identity provider for the DALP Console, and understand that a complete entry replaces local Console sign-in deployment-wide.

OpenID Connect (OIDC) connects Console sign-in to an external identity provider. One complete provider entry replaces local Console sign-in for the whole deployment, while the Investor portal keeps password sign-in for investors. Verify the provider, the admin claim, and the recovery path before rollout. Wallet verification has separate settings and remains a distinct control.

OIDC is the only external sign-in protocol the platform supports. It has no SAML or LDAP connector, so a SAML federation, an LDAP directory or Active Directory connects through an identity provider that issues OIDC tokens.

The Console authenticates through the identity provider or providers you configure under auth.oidcProviders. That value lives on the parent chart under global.dalpApp.config, not on the dapp subchart alone, and both the Console and the Platform API read it. Sign-in works with any OIDC issuer that serves standard discovery and returns the email and name claims, such as FusionAuth, Okta or Auth0. The identity-provider wallet factor works only with FusionAuth.

Default: no external provider

auth.oidcProviders is an empty list by default. With no provider configured, the Console authenticates locally with email and password plus passkeys.

Adding a provider

Each entry in auth.oidcProviders needs an id, a display name, the issuer URL, and a client ID. It also needs a client secret, injected as an environment variable rather than set as a plain value:

global:
  dalpApp:
    config:
      auth:
        oidcProviders:
          - id: "fusionauth"
            displayName: "FusionAuth"
            issuer: "https://auth.example.com"
            clientId: "dalp"
            clientSecret: "${OIDC_PROVIDER_CLIENT_SECRET:-}"
            adminClaim: "dalp-admin"

Everything except clientSecret is plain configuration set directly in your values file. issuer must be an https:// URL, except for a loopback host reserved for local testing. Any other http:// issuer passes chart rendering and then fails config decode at pod boot, causing an upgrade waiting on readiness to time out.

Inject clientSecret from a secret through OIDC_PROVIDER_CLIENT_SECRET or your secret manager rather than setting a literal in values or a plain ConfigMap (see Values and secrets). An unencrypted values file lands the secret in Helm release history and in etcd. Add further list entries to offer more than one provider at sign-in.

An entry only counts as a configured provider once id, issuer, clientId, and clientSecret all have real values. A partially filled entry parses without an error and changes nothing: local sign-in stays active, and no external sign-in option appears. This stops a values file mid-edit, or a Secret that has not synced, from taking down local login.

Set two more fields explicitly rather than leaving their defaults:

  • scopes lists the OIDC scopes the Console requests. When omitted, the Console requests openid, email, and profile. Setting scopes replaces that list, so keep every default scope you still need alongside any scope required for roles, groups or your adminClaim. Omitting email breaks sign-in, because DALP refuses a sign-in without an email address.
  • adminClaim names the value that grants the platform administrator role across every organisation on the instance. A user carries it when roles or groups contains the value, or when a claim of that name is true or "true". Restrict who at your identity provider can assign it, and pick a value no other role, group or user-editable claim uses. Leaving adminClaim unset gives every SSO user the member role (see Granting and removing the platform administrator role).

Granting and removing the platform administrator role

With a provider configured, every sign-in through it sets the account's platform role from the admin claim: platform administrator when present, and member when absent. Any role held earlier inside DALP is overwritten on sign-in.

The first-account-becomes-administrator rule applies only to local email-and-password sign-up on an empty instance. The first SSO account signs in as a member unless it carries the admin claim. When no provider entry sets adminClaim, every SSO user lands as a member, and adding adminClaim later requires a values change and redeploy.

Set adminClaim in the same release that adds the provider. Assign the admin claim at your identity provider to at least two platform operators, using email addresses that do not already hold local accounts on the instance. DALP refuses a first SSO sign-in whose email matches an existing local account (see A complete entry disables local Console sign-in). After rollout, have both operators sign in and confirm they can open Platform users in the Console.

An account that never signs in through the provider keeps its existing role and API key permissions. That covers a pre-existing local administrator or an account restored via Restore the platform administrator role. Once your SSO administrators have signed in, open any legacy local administrator under Platform admin → Platform users and change its role to “Member” (see Change the platform role).

Removing the admin claim at your identity provider demotes the user at their next SSO sign-in. Until then, open Console sessions (renewed daily while active) and existing API keys keep the administrator role. To demote the account immediately, open it under Platform admin → Platform users and set its role to “Member”.

DALP does not block the last platform administrator from losing the role through an identity provider claim change. Removing the claim from the last administrator leaves the instance without one until another account carrying the claim signs in, or until an operator restores the role to a password account (see Recovering from a lockout).

SSO sign-ins write no audit trail entry for admin-claim role changes. Keep the record of who holds the admin claim and when it changed at your identity provider.

A complete entry disables local Console sign-in for the whole deployment

One complete OIDC entry flips a deployment-wide switch, with no per-user exception.Before any OIDC entry is complete, the Console authenticates locally with email, password, and passkey, and a partially filled entry, missing a field or waiting on a secret that has not synced, parses without error and changes nothing. The moment a release rolls out with one entry holding all four required fields, id, issuer, clientId, and clientSecret, the authentication service treats Console sign-in as OIDC-only across the deployment. It disables the local email and password credential flow at the API layer, rejects passkey sign-in and passkey registration at that same layer, and rejects password change, password reset, email change, and enabling a new login two-factor method as a second, independent check. Two-factor already enrolled can still be turned off, and wallet-signing two-factor is untouched, because neither is part of that second check. The platform refuses a first OIDC sign-in whose email matches a pre-existing local account, rather than adopting that account. Returning users resolve by provider and subject. This applies to every Console user on the deployment the moment the release rolls out: there is no per-user or per-organisation exception, and no in-band fallback for an operator who gets locked out. A partial entry never triggers any of this. The only way back is to redeploy with global.dalpApp.config.auth.oidcProviders set back to an empty list, which restores local sign-in immediately. No partial fix exists, because enablement is all-or-nothing.One complete OIDC entry flips a deployment-wide switch, with no per-user exception.Before any OIDC entry is complete, the Console authenticates locally with email, password, and passkey, and a partially filled entry, missing a field or waiting on a secret that has not synced, parses without error and changes nothing. The moment a release rolls out with one entry holding all four required fields, id, issuer, clientId, and clientSecret, the authentication service treats Console sign-in as OIDC-only across the deployment. It disables the local email and password credential flow at the API layer, rejects passkey sign-in and passkey registration at that same layer, and rejects password change, password reset, email change, and enabling a new login two-factor method as a second, independent check. Two-factor already enrolled can still be turned off, and wallet-signing two-factor is untouched, because neither is part of that second check. The platform refuses a first OIDC sign-in whose email matches a pre-existing local account, rather than adopting that account. Returning users resolve by provider and subject. This applies to every Console user on the deployment the moment the release rolls out: there is no per-user or per-organisation exception, and no in-band fallback for an operator who gets locked out. A partial entry never triggers any of this. The only way back is to redeploy with global.dalpApp.config.auth.oidcProviders set back to an empty list, which restores local sign-in immediately. No partial fix exists, because enablement is all-or-nothing.

What one complete OIDC entry flips for Console sign-in at rollout, and the one way back.

One complete OIDC entry replaces local Console sign-in for every Console user on the deployment, from the moment the release that carries it rolls out. No per-user or per-organisation exception exists, and no in-band fallback exists: an operator who is locked out cannot sign in locally to fix the configuration.

The API enforces these restrictions as well as the Console. Calling a blocked credential flow directly does not bypass the restriction.

A first OIDC sign-in never adopts a pre-existing local account sharing the same email address. DALP refuses the sign-in and redirects the browser back to the Console sign-in page. Returning users resolve by provider and subject, so only accounts created through the provider can sign in through it.

Plan for this before rollout: a Console user who already holds a local account with the same email cannot sign in at all once SSO is active. A platform administrator can delete that local account under Platform admin → Platform users only when it is not an organisation's sole owner or a wallet checker, holds no tokens, and has no bound on-chain identity. After deletion, the user's next SSO sign-in creates a fresh account without the old memberships.

SSO centralises authentication at your identity provider, giving you one place to enforce password policy, MFA and access revocation. Open Console sessions stay valid until they expire, and the identity provider becomes a single point of failure for Console access.

Recovering from a lockout

If a misconfigured OIDC entry locks every user out, clear the list at its full parent-chart path (global.dalpApp.config.auth.oidcProviders) and redeploy:

global:
  dalpApp:
    config:
      auth:
        oidcProviders: []

Do not set a top-level oidcProviders: [] key, because the chart ignores it. Local email-and-password sign-in returns as soon as the redeploy completes.

Accounts originally created through SSO hold no local password, and a new local sign-up on a non-empty instance does not become a platform administrator. If no password-based account holds that role, use Restore the platform administrator role. If no password account exists at all, sign up a local account after the redeploy and then restore the role to it. Fix and test the OIDC configuration in staging before re-enabling it in production.

What stays independent

Three controls stay independent of the all-or-nothing rule:

  • OIDC-based wallet verification uses its own apiKey and applicationId fields on the provider entry and does not disable local sign-in.
    • It works only for accounts that signed in through that provider, matched by linked identity rather than email.
    • Without issuer, apiKey and applicationId, the provider's authenticator is not offered as a wallet factor.
    • DALP verifies codes against the FusionAuth user and two-factor APIs (/api/user/{id}, /api/two-factor/start, /api/two-factor/login) using apiKey. Other OIDC providers cannot act as a wallet factor.
    • PINs, recovery codes and wallet authenticators keep working under SSO (see Wallet verification).
  • Existing login two-factor can still be turned off, but only through POST /api/auth/two-factor/disable: the Console hides the Sign-in code card under SSO. Enrolling new login two-factor, passkey sign-in and registration, password changes, password resets and email changes are all refused. Wallet-signing two-factor stays active.
  • Investor portal sign-in keeps its local methods (see below).

Investor portal sign-in under single sign-on

External OIDC replaces sign-in on the Console only. The Investor portal keeps email-and-password sign-in, passkeys, password reset and two-factor enrolment, including email and text message sign-in codes where enabled by the organisation.

SSO closes self sign-up on the Investor portal so new accounts cannot be registered there. Any account holding a platform administrator role or an active organisation owner or admin role cannot start a Portal session. The portal refuses it with 403 Forbidden (ADMINISTRATION_NEEDS_CONSOLE_SIGN_IN) and the message This account administers the platform or an organization, so it signs in to the Console through the identity provider.

Role writes that need a Console session

The Platform API checks the issuing app of a session before accepting these writes, even when the caller's wallet holds the on-chain role:

  • system, asset, offering, venue and custody gateway role grants and revokes
  • trading venue creation, which can grant the venue admin role to the admins you list
  • changes to an asset's supply delegate, hold reserver, authorised converter and burner capability
  • fixed-yield and offering fund withdrawals
  • undeliverable-purchase refunds

These writes require a Console-issued session. A Portal-issued session, an anonymous session or a session with no recorded issuing app returns 403 Forbidden with WALLET_ROLE_ADMINISTRATION_NEEDS_CONSOLE_SIGN_IN (DALP-200384) and starts no write. On /api/v1, the same check returns 403 Forbidden with DALP-9485.

This check applies with or without SSO, and sessions issued before issuing-app tracking was recorded must sign in to the Console again. It does not end an active Console session when identity-provider access changes, revoke an on-chain role or disable API keys. Investors continue to buy, claim and transfer their own holdings through the Investor portal.

Production rollout checklist

Before rolling a complete OIDC entry into production:

  • Verify a full sign-in round trip in staging with one platform administrator and one ordinary member.
  • Confirm your identity provider enforces MFA for Console users, because auth.enforce2fa stops applying to OIDC-only accounts.
  • Confirm clientSecret (and apiKey if using OIDC wallet verification) comes from a Kubernetes Secret, never a values literal.
  • Confirm adminClaim is set and assigned to at least two operators at your identity provider, and restrict who can assign it.
  • Register the callback URL /api/auth/callback/<provider-id> at your identity provider for every host the Console serves from.
  • Confirm operators with deploy access know how to clear global.dalpApp.config.auth.oidcProviders: [] under Recovering from a lockout.

Failure modes

Symptom
Likely cause
Fix
Everyone is locked out after enabling a provider
Any complete entry disables local Console sign-in deployment-wide, by design.
Redeploy with global.dalpApp.config.auth.oidcProviders: [], fix the configuration, verify in staging, then re-enable.
helm upgrade reports success, but the Platform API pods never become ready
issuer is not an https:// URL (and is not the loopback exception reserved for local testing). Config decode runs at pod boot, not during the Helm install.
Set issuer to the identity provider's https:// URL and redeploy.
Sign-in redirects fail with a callback or redirect-URI error
The callback URL from the production rollout checklist is not registered with the identity provider, or does not exactly match the host the Console served the request from.
Register that callback URL for every host the Console is reachable on.
Sign-in fails or lands with no name
The token lacks name, or email, or returns email_verified: false. An explicit false is rejected, and an absent claim is accepted.
Confirm the scopes return a populated name claim and a verified email. Some providers need profile added.
A user returns to the Console sign-in page after signing in at the identity provider
The email the provider returns already belongs to a local account that never signed in through this provider. DALP refuses to link the two.
A platform administrator deletes the local account under Platform admin → Platform users when permitted (no sole ownership, tokens or bound on-chain identity), then the user signs in through the provider again. The new account starts without the old account's memberships.
A user signs in through OIDC as an ordinary member when they should be a platform administrator
The identity provider does not send the admin claim for that user: a roles or groups claim that contains the adminClaim value, or a claim of that name set to true or "true".
Confirm the provider sends the admin claim at sign-in, not only in an internal profile. The fix takes effect on the user's next sign-in.

These sit alongside oidcProviders in the same auth block. restrictOrgCreationToAdmin, membershipLimit, and walletTwoFactor apply the same way whether or not you configure OIDC. enforce2fa does not: it stops applying to an account whose only sign-in is the identity provider, because the provider then owns login authentication. An account that holds a password or a passkey, such as an investor on the Investor portal, still needs two-factor.

Setting
Purpose
enforce2fa
Requires two-factor authentication for accounts that sign in with a password or a passkey. Stops applying to accounts whose only sign-in is the identity provider: an operator who kept enforce2fa: true for Console users needs an equivalent MFA policy at the identity provider before rollout, because DALP no longer enforces one for them.
restrictOrgCreationToAdmin
Restricts who can create a new organisation on the instance.
membershipLimit
Caps members per organisation (default 10,000).
walletTwoFactor
Configures wallet TOTP (RFC 6238): algorithm, digits, period, secret length, issuer string, and used-token expiration.

See also

  • Values and secrets for how a Kubernetes Secret reaches clientSecret and apiKey without touching the values file.
  • Security for the sign-in code, transaction PIN and transaction code from a signed-in user's own account settings.
  • Install the Helm charts for the redeploy command itself.

Frequently asked questions

If I grant a user the platform administrator role inside DALP, does that survive after they start signing in through OIDC?

No. Every sign-in through the provider sets the platform role from the admin claim. A user without the admin claim becomes a member at their next sign-in, whatever role they held inside DALP before.

Was this page helpful?