Docs · Get started

Single sign-on

Workspaces on the Pro and Agency plans can let their people sign in with the company's identity provider, using OIDC or SAML 2.0. SSO is not part of the trial, Free, Solo or Team. If a workspace's plan changes to one without SSO, its identity provider settings are kept but paused — everyone signs in with their password — and choosing Pro or Agency again turns SSO back on without setting it up again.

Setting it up

  1. Claim your email domain. In the workspace, open Settings → Single sign-on, enter your domain (for example example.com) and add the TXT record it shows at _a1lane-challenge.example.com. Press Verify once the record has propagated. One domain belongs to one workspace on this deployment.
  2. Add your identity provider — OIDC (issuer URL, client ID, client secret) or SAML (metadata URL, or Entity ID + SSO URL + signing certificate). One OIDC and one SAML provider per workspace.
  3. Run the test sign-in with your own account. Single sign-on cannot be turned on until a test sign-in by you succeeds and at least one domain is verified — so a typo can never lock anyone out.
  4. Turn it on. It starts as Optional: people on your domain see “Continue with your company's sign-in”, and passwords keep working.
  5. Require it (owners only, optional). Under Required, members and admins on your verified domains sign in through your identity provider. Workspace owners always keep their password and two-factor sign-in — see If your identity provider is down.

Values to give your identity provider

OIDC redirect URI (one for every workspace)
https://staging.a1lane.ai/sso/oidc/callback
SAML SP Entity ID (Audience)
https://staging.a1lane.ai/sso/saml/<workspace id>/metadata
SAML ACS URL (Single sign-on URL / Reply URL)
https://staging.a1lane.ai/sso/saml/<workspace id>/acs
SAML Name ID format
urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress (EmailAddress)

Your workspace's exact values — with its workspace id filled in, and SP metadata XML to download — are on Settings → Single sign-on in the workspace.

Guides

What happens at first sign-in

The first time someone on a verified domain signs in through your identity provider, they join the workspace as a Member (they can draft, schedule and publish; they cannot manage billing, members or SSO). SSO never makes anyone an Admin or Owner — change roles under Members. Someone whose email is not on a verified domain is refused, and nothing is created.

Two-factor authentication

If the workspace requires two-factor authentication, an SSO sign-in counts only when your identity provider reports that multi-factor was used (OIDC amr containing mfa, or a multi-factor acr; SAML's multi-factor authentication context). Otherwise, anyone with two-factor turned on enters their code after the identity provider.

What SSO does not do (yet)

  • No SCIM. When your identity provider stops signing someone in, they can no longer sign in through it, but their membership here stays until a workspace admin removes it under Members. Remove leavers here too.
  • No single logout. Signing out of your identity provider doesn't end sessions here. End them per device under Account → Security, or remove the member.