Single sign-on
SSO lets admins sign in to the Workforce dashboard through your identity provider (IdP). Set it up before SCIM provisioning.
SSO covers dashboard sign-in only. Employee AI clients use a separate OAuth flow. See Connect employee AI clients.
You need IdP admin access and the Manage users permission.
Configure OIDC
-
Open Provisioning → Sync and click Configure SSO.
-
In your IdP, register an OIDC web application with this redirect URI and the
openid,email, andprofilescopes:Copy it from the dialog. It must match exactly, including the trailing slash.
-
Paste the Discovery URL, Client ID, and Client secret into the dialog. The discovery URL is the full
.well-known/openid-configurationURL, not the bare issuer. -
Click Save configuration. This turns on Enable SSO.
-
Test in an incognito window with your work email.
SSO signs in existing members only. Invite them from Team and roles or provision them with SCIM first.
Per-IdP setup
Okta
Azure AD / Entra ID
Google Workspace
Other OIDC providers
- Applications → Create App Integration → OIDC - OpenID Connect → Web Application.
- Sign-in redirect URI:
https://ah-api.merge.dev/sso/oidc/callback/. - Assign the Groups that need dashboard access.
- Copy Client ID and Client secret from the General tab.
- Discovery URL:
https://<your-org>.okta.com/.well-known/openid-configuration, orhttps://<your-org>.okta.com/oauth2/<AUTH_SERVER_ID>/.well-known/openid-configurationfor a custom authorization server.
- Microsoft Entra ID → App registrations → New registration.
- Redirect URI (Web):
https://ah-api.merge.dev/sso/oidc/callback/. - Certificates & secrets: create a client secret and copy it.
- Token configuration: add
emailandprofileclaims. - Discovery URL:
https://login.microsoftonline.com/<TENANT_ID>/v2.0/.well-known/openid-configuration. - Use the application (client) ID and client secret.
- APIs & Services → Credentials → Create credentials → OAuth client ID → Web application.
- Authorized redirect URI:
https://ah-api.merge.dev/sso/oidc/callback/. - Copy the client ID and client secret.
- Discovery URL:
https://accounts.google.com/.well-known/openid-configuration. - Limit which users the OAuth client is available to in Google. Merge has no domain allowlist.
You need a client ID, client secret, the redirect URI registered, and a discovery document at <ISSUER>/.well-known/openid-configuration exposing authorization_endpoint, token_endpoint, and jwks_uri. Workforce fetches it at save time, so an unreachable document fails the save.
Requiring SSO
Turn on Require SSO under SSO settings once SSO works for your own account. It requires Enable SSO to be on. While it is on:
- Password sign-in and password reset stop working
- Anyone outside the IdP Groups assigned to the application cannot sign in
- You cannot disconnect the configuration
Turning Enable SSO off also turns Require SSO off.
Provision your team and test in incognito first. Anyone without a working SSO sign-in, including you, is locked out.