Enterprise SSO and provisioning
Configure single sign-on (OIDC, OAuth2, SAML 2.0) and SCIM user and group provisioning for your organisation. Step-by-step setup for Microsoft Entra ID, Google, generic OIDC, and SAML, plus role mapping, group-to-team sync, and deactivation. Read this when wiring enterprise identity for the org.
5 min read
Enterprise SSO lets your members sign in with your identity provider (IdP) instead of a Tale password, and SCIM lets the IdP provision, update, and deactivate members and groups automatically — no manual invites. One connection per organisation carries the sign-in protocol, the provisioning policy, and the SCIM token together. Everything lives on one page: Settings > Enterprise SSO (admins only).
Tale speaks four protocols: OIDC, plain OAuth2, SAML 2.0 for sign-in, and SCIM 2.0 for provisioning. You can enable sign-in, provisioning, or both.
Choosing a protocol
Open Settings > Enterprise SSO, pick a Protocol, and fill in only that protocol's fields — the rest stay hidden. A Setup guide on the same page lists the exact steps and shows the URLs you paste into your IdP. Use Test connection before saving to validate the configuration, and Save to enable sign-in.
- Microsoft Entra ID — Microsoft's OIDC, with group-to-team sync over Microsoft Graph.
- Generic OIDC — any OpenID Connect provider (Google, Okta, Auth0, Keycloak, …). Endpoints are discovered from the issuer.
- OAuth2 — providers without OIDC discovery; you configure the authorization, token, and userinfo endpoints by hand.
- SAML 2.0 — XML-based SSO; you exchange metadata with the IdP.
Microsoft Entra ID
- Sign in to the Microsoft Entra admin center as at least an Application Developer.
- Go to Entra ID > App registrations > New registration, name it, and choose Single tenant.
- Under Redirect URI, select the Web platform and paste the Redirect URL shown on the Tale settings page, then Register.
- On the app's Overview, copy the Application (client) ID and Directory (tenant) ID. Your issuer URL is
https://login.microsoftonline.com/{tenant-id}/v2.0. - Open Certificates & secrets > New client secret and copy the secret Value (not the Secret ID).
- In Tale, choose Microsoft Entra ID, and enter the client ID, client secret, and issuer URL.
- For group-to-team sync, add the Microsoft Graph GroupMember.Read.All permission under API permissions and grant admin consent.
Google is configured as a generic OIDC provider.
- In the Google Cloud Console, open APIs & Services > Credentials > Create credentials > OAuth client ID.
- Choose the application type Web application.
- Under Authorized redirect URIs, add the Redirect URL shown on the Tale settings page, and save.
- Copy the Client ID and Client secret from the top of the client page.
- In Tale, choose Generic OIDC, enter the client ID and secret, and set the issuer URL to
https://accounts.google.com. Endpoints are discovered automatically.
Google's standard OIDC does not return group memberships, so group-to-team sync is unavailable with Google alone — it needs the Admin SDK / Cloud Identity API with a Workspace admin. Sign-in and role-by-claim mapping work normally.
Generic OIDC and OAuth2
For any other OIDC provider (Okta, Auth0, Keycloak), choose Generic OIDC, paste the issuer URL and the client ID/secret — Tale reads the authorization, token, and userinfo endpoints from the issuer's .well-known/openid-configuration.
If a provider exposes OAuth2 but no discovery document, choose OAuth2 and enter the authorization, token, and userinfo endpoint URLs by hand. When the provider uses non-standard claim names, map email, name, and groups under the connection's advanced fields (dot-paths are supported, e.g. realm_access.roles).
SAML 2.0
- In Tale, choose SAML 2.0. The page shows your SP metadata URL and ACS (reply) URL — copy them.
- In your IdP, create a new SAML 2.0 application. Set its ACS URL and Entity ID / Audience to the SP values shown (or upload the SP metadata URL), and set the Name ID format to email address.
- Copy the IdP's entity ID, single sign-on URL, and signing certificate (PEM) into Tale and save.
- Map the email, name, and group attributes in your IdP; if their names differ from the defaults, set the matching attribute names in Tale's advanced fields.
Tale supports both IdP-initiated SAML (the IdP posts an assertion to the ACS URL) and SP-initiated SAML (a member clicks Sign in with SSO and Tale redirects to the IdP). Signed assertions are required; encrypted assertions are supported when you supply an SP keypair.
Provisioning: roles and teams
Every protocol shares one provisioning policy:
- Default role — the role a newly provisioned member receives (Member by default).
- Auto-assign roles from the IdP — when on, role-mapping rules map a job title, app role, group, or claim to a platform role; the default role applies when nothing matches.
- Sync IdP groups to teams — when on, each of the user's IdP groups becomes (or joins) a team of the same name on sign-in; Exclude groups skips noisy groups (comma-separated).
SCIM provisioning (users and groups)
SCIM lets your IdP push changes without anyone signing in. In the SCIM provisioning section, click Generate token — copy it once (it is never shown again) — and paste it, along with the SCIM base URL shown, into your IdP's provisioning settings. The IdP authenticates with the token as a bearer credential; Tale resolves the organisation from the token, so it is the tenant boundary.
Tale implements SCIM 2.0 Users and Groups: create, read, list (with userName/displayName filters), replace, patch, and delete. Provisioned users map to organisation members; groups map to teams. Deactivation is soft — when the IdP sets a user inactive (active: false) or sends a delete, the member's role is set to disabled (which removes their access) rather than hard-deleting them, so re-activation restores their prior role.
Verifying
Use Test connection for OIDC/OAuth2 to confirm discovery and credentials before saving. For SAML, download the SP metadata into your IdP and run a test login. For SCIM, most IdPs offer a "test" or "provision now" action that creates a sample user — confirm it appears under Settings > Members. End-to-end SSO sign-in is best verified against your real IdP in a staging organisation.