Single sign-on with SAML and OIDC
Connect your identity provider, map groups to roles, enforce SSO for everyone, and keep a break-glass account.
Single sign-on lets your team sign in to Workflow Builder with your identity provider instead of a separate password. Workflow Builder supports SAML 2.0 and OpenID Connect and has tested configurations for Okta, Microsoft Entra ID, Google Workspace and OneLogin. SSO is an Enterprise feature and is configured by an Owner.
Before you start
- Your workspace's primary email domain must be verified under Settings → Workspace → Domains. SSO applies to users whose email is on a verified domain.
- Have admin access to the identity provider.
- Decide whether you will allow SSO alongside passwords or enforce it. Start with allow; enforce once a few people have signed in successfully.
Connecting the provider
- Go to Settings → Security → Single sign-on and choose SAML or OIDC.
- Copy the values Workflow Builder shows into a new application at your provider: for SAML the ACS URL and entity id; for OIDC the redirect URI.
- Paste the provider's details back: for SAML the metadata URL or the certificate and sign-in URL; for OIDC the issuer, client id and client secret.
- Press Test. You are sent to the provider and back; a successful test shows the attributes received.
- Press Enable. Users on the verified domain now see a Sign in with SSO button.
Attributes and group mapping
Workflow Builder reads email (required), name, and groups. With group mapping you assign a role to each provider group, and optionally map provider groups to Workflow Builder groups for table access:
| Provider group | Role | Workflow Builder group |
|---|---|---|
| wb-admins | Admin | Administrators |
| wb-builders | Builder | Operations |
| everyone | Member | (none) |
Mapping is evaluated at every sign-in. A person removed from wb-admins at the provider becomes a Member on their next sign-in. The Owner role is never assigned by mapping; Owners are managed by hand so a provider misconfiguration cannot create or remove them.
Just-in-time provisioning
With JIT provisioning on, a person who signs in through SSO for the first time gets a user account automatically with the mapped role. With it off, they must be invited first; SSO then only authenticates them. Most teams enable JIT for Members and invite Builders and Admins deliberately.
Enforcing SSO
Enforcing disables password sign-in for everyone on the verified domain, including API key creation through the UI (existing keys keep working). Before enforcing, confirm at least two Owners have signed in through SSO. Enforcement cannot lock out the break-glass account described below.
Break-glass account
When enforcing, Workflow Builder requires one Owner account exempt from SSO, on an email address outside the verified domain or explicitly marked as break-glass. Protect it with a long password and two-factor authentication, store the credentials offline, and use it only when the identity provider is unavailable. Every sign-in with the break-glass account is an audit log event that notifies all Owners.
Session length
Sessions last 12 hours by default and can be set between 1 hour and 30 days. With SSO, Workflow Builder also honours a sign-out request from the provider when the provider supports single logout.
Troubleshooting
- "No email attribute received": the provider is not releasing
email; add it to the application's attribute statements. - "Email domain not verified": the person's email is on a domain you have not verified; add the domain or invite them as an external user.
- Clock skew: SAML assertions more than 5 minutes off are rejected; check the provider's clock.