Skip to content
AvailableUpdated 2026-11-28

Set up workspace SSO (OIDC)

Connect an identity provider, verify the callback and test the first SSO sign-in.

Workspace SSO uses OpenID Connect. Members sign in with the company identity provider instead of a separate Ordeploy password.

Before you start

  • Owner or admin access to the workspace.
  • An OIDC application at your identity provider.
  • The callback URL shown in the SSO panel: `/v1/auth/sso/callback` on your API host.
  • At least one verified workspace domain for automatic (JIT) membership.

Create the provider application

  1. 1Create a confidential OIDC web application at the provider.
  2. 2Add the callback URL exactly as shown in the SSO panel.
  3. 3Enable the openid, email and profile scopes.
  4. 4Copy the issuer URL, client ID and client secret.

Configure Ordeploy

  1. 1Open Members and find Single sign-on (OIDC).
  2. 2Enter the issuer URL and client ID.
  3. 3Enter the client secret. It is encrypted and never returned by the API.
  4. 4Choose the default role for new users from a verified domain.
  5. 5Enable SSO and save.
  6. 6Use Test sign-in to complete one round trip before announcing it.

How the first sign-in works

  • Ordeploy resolves the work email domain to a workspace with SSO enabled.
  • The provider authenticates the person and returns an ID token.
  • Ordeploy verifies the issuer, audience, signature, state and nonce.
  • The email must be verified by the provider.
  • A new account is linked by issuer and subject, never by email alone.
  • A user who is not yet a member is added only if their email domain is verified for the workspace.

Enforce SSO

  • Verify the email domain in Workspace domains first.
  • Enable Require SSO in the SSO panel.
  • Members on the verified domain can no longer sign in with a password.
  • Owners keep password sign-in as the break-glass path.
  • Members on other domains keep password sign-in; add and verify their domain before enforcing it.

Security notes

ItemBehaviour
Client secretAES-256-GCM encrypted at rest; never returned by the API
State and nonceOne-time, bound to the authorization request and a short-lived HttpOnly cookie
PKCES256 verifier stored encrypted and consumed once
Login handoffOne-time code hashed in the database; tokens are issued after exchange
EnforcementPassword login rejected for non-owner members on a verified domain
Identity linkIssuer + subject, not email

Was this page helpful?