Skip to Content
Clowder

SSO

Single sign-on with OIDC

Clowder supports Single Sign-On (SSO) through OpenID Connect (OIDC), allowing users to authenticate using their preferred identity providers. The SSO connections are organization scoped: people with an email on a provider’s domains sign in through it and join that organization as members.

Only instance admins can set up SSO.

Prerequisites

  • An OIDC-compliant identity provider (e.g., Voidauth, Pocket-id, Google, Okta or Auth0)
  • These details from your identity provider:
    • Client ID
    • Client Secret
    • Issuer URL (which contains all the required endpoints)

Configuration Steps

  1. Navigate to your organization’s settings page.
  2. Select “Single sign-on” from the sidebar.
  3. Click “Add provider”.
  4. Copy the Redirect URI shown at the top of the dialog into your identity provider’s client settings. It looks like https://clowder.example.com/api/auth/callback/oidc-<id>. Clowder asks for the openid, email and profile scopes.
  5. Fill in the required fields with the details from your identity provider:
    • Name: Shown on the login button, like “Continue with Okta”.
    • Issuer URL: The endpoint containing all the other endpoints. Clowder checks it serves /.well-known/openid-configuration when you save.
    • Client ID: The client identifier provided by your identity provider.
    • Client secret: Leave it empty when editing to keep the current one.
    • Email domains: The domains that sign in through this provider, like example.com, example.org. A domain can only belong to one provider.
  6. Choose the options:
    • Enabled: Turn a provider off without removing it.
    • Allow password sign-in: When off, people on these domains can only sign in through the provider. Instance admins can always use their password.
    • Link existing accounts: Signs people into the account that already has their email. Leave it off unless you trust who created those accounts, since their passwords keep working.
  7. Click “Save”.

Signing in

With a provider enabled, the login page asks for an email first. On a provider’s domains it shows “Continue with” the provider, plus the password field when password sign-in is allowed. (This doesnt block password managers. 1Pass for example would still fill in both email and password)

If someone already has an account with their email and “Link existing accounts” is off, single sign-on refuses them. Turn linking on for the provider to let them in.