Docs menuFeatures

DOCS / FEATURES

Single sign-on

People at an organization's verified email domains can sign in through the org's own OpenID Connect identity provider. Accounts and memberships are created on first sign-in, and the org can make SSO the only way in. The code is in api/src/sso/. It works with any OpenID Connect provider: Microsoft Entra ID, Okta, Google Workspace, Auth0, Keycloak, JumpCloud, and others. It's on the Scale plan, and only the org's owner can configure it, from the Single sign-on card on the organization page (web/src/features/sso/).

Setting it up

  1. Claim a domain. The owner enters acme.com and gets a TXT record to publish: name _launchcrate-verification.acme.com, value launchcrate-verification=<token>. An org can claim up to 20 domains.
  2. Verify it. Once the record is live, Verify looks it up. A domain can be verified by only one organization. Others can claim it, but verifying it fails with 409.
  3. Connect the provider. Register the redirect URI the card shows ({API_URL}/api/auth/sso/callback) as a web application at the provider, then enter its issuer URL, client ID, and client secret. Saving fetches the issuer's discovery document, so a wrong issuer fails here rather than at someone's first sign-in.
  4. Sign in once through SSO to prove the setup works.
  5. Optionally require SSO (see Requiring SSO).

Signing in

On the login page, "Use single sign-on" asks for a work email. The address's domain picks the org that verified it, and the browser goes to that org's provider. When it comes back, the API:

[ full guide ]

The rest of this guide comes with the repo.

  • Requiring SSO
  • Settings endpoints
  • Implementation notes
  • Not included
Get LaunchCrate