Single sign-on

Sign in to EntiPath through your identity provider with SAML or OIDC, tested before anyone uses it.

On this page

Before you begin

  • An admin account in your identity provider, to create the app there.
  • An EntiPath owner or admin account.
  • Nothing else: single sign-on is separate from the Okta integration EntiPath reads.

It takes about 15 minutes.

Your team signs in to EntiPath with your identity provider, over SAML 2.0 (Okta, Entra ID, Ping, ADFS) or OpenID Connect (Okta, Entra ID, Google). Each connection is tested before anyone can use it, and once tested, access reviewers sign in with it too.

Note. This is separate from the Okta integration EntiPath reads: it only decides how people sign in to EntiPath.
1

Add a connection in EntiPath

In EntiPath

  1. Go to Settings › Single sign-on and click Add connection.
  2. Choose SAML 2.0 or OpenID Connect.
  3. Fill in the Name shown on the sign-in button, such as Okta, and click Create.The connection shows the values your identity provider needs, ready to copy.
The Add SSO connection dialog in EntiPath, with SAML 2.0 and OpenID Connect, the sign-in button name and Create
2

Set up the app in your identity provider

In your identity provider, then in EntiPath

For SAML 2.0:

  1. In your identity provider, create a SAML app with these values from EntiPath:
    Single sign-on URL (ACS)
    The Single sign-on URL EntiPath shows
    Audience URI (SP Entity ID)
    The Audience URI EntiPath shows
    Name ID format
    Persistent (best), or EmailAddress
    Attribute statements
    email, firstName, lastName, and groups if groups will set roles
    Or give your provider EntiPath’s metadata instead, from Download metadata.
  2. Copy the app’s metadata URL. In Okta, it’s the Metadata URL on the app’s Sign On tab.
  3. In EntiPath, paste it into the connection and click Import metadata.The connection shows your provider’s issuer, single sign-on URL and signing certificates.
A SAML connection in EntiPath, with the Single sign-on URL, Audience URI and the box for your provider’s metadata URL
Note. Assertions must be signed. EntiPath reads the email from email, then mail, then a Name ID that’s an email address. Instead of the URL you can paste the metadata XML, or click Enter manually for the issuer, the single sign-on URL and the signing certificate.
OpenID Connect instead?
  1. In your identity provider, create an OIDC web app with these:
    Sign-in redirect URI
    The Sign-in redirect URI EntiPath shows
    Grant type
    Authorization Code (EntiPath uses PKCE)
    Scopes
    openid, email and profile
  2. In EntiPath, fill in the app’s details:
    Issuer URL
    Your provider’s issuer, a public https address such as https://acme.okta.com
    Client ID and Client secret
    The app’s, from your provider
    Groups claim
    The claim that carries groups, if groups will set roles
  3. Click Save.
Note. ID tokens must be signed with RS256, and the client secret is sent as client_secret_basic. EntiPath reads the email and groups from the ID token. An email the provider marks unverified is refused, and one with no verified flag at all (Entra sends none) is never linked to an existing member by email alone.
Note. Using SCIM too? Set the Directory ID attribute (SAML) or Directory ID claim (OIDC) to the same immutable id SCIM sends as externalId (Okta: the user id, or sub; Entra: oid), and pair the SCIM connection with this one, so the two find the same member.
3

Run a test sign-in

In EntiPath

  1. Click Test sign-in on the connection.
  2. Sign in again when your provider asks.EntiPath verifies the response and shows what it received (the email, the subject and the groups) and what a real sign-in would do. No session or member is created.

Once tested, members see “Continue with” and the connection’s name on your workspace’s sign-in page.

Note. Editing the provider’s issuer, single sign-on URL, client ID, secret, or the email or directory ID setting puts the connection back to draft, and it needs a new test. Replacing certificates doesn’t.
4

Choose who gets in

In EntiPath, on the connection

Link existing members by email

Someone who signs in with a member’s email is linked to them and signed in. Owners, and anyone who can approve plans, are linked this way only once an owner has run the test. Otherwise, and when several members share an email, the sign-in waits under Sign-in link requests for an administrator to click Approve link. Only an owner can approve linking an owner or approver.

Just-in-time provisioning

Off by default. Someone new who signs in becomes a member, with the Role for people who match no mapping set under Settings › Sessions and policy, and signs in only through single sign-on from then on. Keep it off if SCIM creates everyone.

Allow sign-in started from the identity provider

SAML only, and off by default. It lets people start from your provider’s dashboard instead of EntiPath’s sign-in page.

Roles from Okta groups

In Okta, then in EntiPath

Groups in Okta can set people’s EntiPath roles, in one of two ways. Both use groups named for the role, such as EntiPath Admins.

Push groups with SCIM (recommended)
Okta sends the groups and who’s in them to EntiPath. Roles change as soon as someone joins or leaves a group in Okta. Needs SCIM provisioning: Give roles with Okta groups, in the SCIM guide.
Groups in the sign-in (group claim)
Okta lists the person’s groups each time they sign in to EntiPath, and their role is set then. Works without SCIM, but a change reaches someone only at their next sign-in.
Note. While SCIM provisioning is active, only pushed groups count: groups in the sign-in are ignored.

Groups in the sign-in, step by step

  1. In Okta, open the EntiPath app’s SAML settings and add a group attribute statement:
    Name
    groups, or whatever the connection’s Groups attribute says in EntiPath
    Filter
    Starts with EntiPath, so only the groups you’ll map are sent
  2. Save the SAML settings.
  3. In EntiPath, on the connection, click Test sign-in.The result lists the groups EntiPath received for you, so be in one of the groups when you test.
  4. Click Map groups to roles, next to the Groups attribute.It opens Settings › SCIM provisioning, at Group-to-role mapping.
  5. Choose Source SSO group claim.
  6. Under Group, type the group’s name exactly as the test received it (capitals count), and choose a Role.
  7. Click Add.People in the group get the role the next time they sign in.
The Group-to-role mapping section in EntiPath, with Source set to SSO group claim
Note. For OpenID Connect, set the Groups claim on the app’s Sign On tab in Okta the same way: named groups, with a Starts with EntiPath filter.
  • Someone gets the highest of their own role and every mapped group’s role. No group ever makes someone an Owner, and only an owner can map a group to a role that can approve plans.
  • A role change ends the person’s sessions.
  • Under Settings › Sessions and policy, Refuse sign-in when no group mapping matches turns away anyone none of whose groups is mapped, once mappings exist (owners set by hand are exempt).

Require single sign-on

In EntiPath

Important. It needs a connection that passed its test, and at least one recovery admin (below).
  1. Go to Settings › Sessions and policy.
  2. Turn on Require single sign-on.
  3. Click Save changes.Passwords and Google stop working for members, and their password sessions end.
The Sign-in section of Sessions and policy in EntiPath, with the Require single sign-on switch

Recovery admins

A recovery admin is an owner with a password and two-factor, who can still sign in if the identity provider fails. Set up to three on Settings › Members with Make recovery admin (or Be recovery admin for yourself). Only owners who sign in with email and password can be one, so not members who sign in only through single sign-on, or whom SCIM has taken over.

They use Recovery sign-in on the workspace’s sign-in page. A recovery sign-in can only change single sign-on settings.

Sessions that end with the provider’s

Check with the identity provider every, on Sessions and policy, ends EntiPath sessions soon after someone’s session at the provider ends.

Changing a connection

In EntiPath, on the connection

  • Replace metadata imports the provider’s metadata again, replacing the trusted certificates with the ones it lists. Do it when the provider rotates its signing certificate. A certificate expiring within 30 days shows in red.
  • Disable hides the connection from the sign-in page and ends sessions made with it. Enable puts it back to draft, to test again.
  • Deleting a connection (the bin icon) ends its sessions at once, with no confirmation.
  • While single sign-on is required, the last tested connection can’t be disabled or deleted.

Troubleshooting

Find the message EntiPath showed. Each one says why it happens and how to fix it.

“Your identity provider’s response could not be verified”

EntiPath couldn’t verify what your provider sent. The connection’s Last error says more.

To fix it
  1. Check that assertions are signed.
  2. Check the Audience URI and Single sign-on URL in your provider match the ones EntiPath shows.
  3. If the provider rotated its certificate, click Replace metadata and import it again.
Importing metadata fails (“No IDPSSODescriptor found”, “No signing certificate found” …)

What was pasted isn’t identity provider metadata EntiPath can use. It needs an https single sign-on location and a signing certificate.

To fix it
  1. Paste the whole XML, from the opening tag to the closing EntityDescriptor, or the metadata URL itself.
Downloading metadata fails (“… returned HTTP …”, “… did not respond in time” …)

EntiPath couldn’t download the metadata. The URL must be public, answer directly (redirects aren’t followed), and respond within a few seconds.

To fix it
  1. Use the final URL, after any redirects.
  2. Or paste the XML instead.
“Identity provider URLs must use https” or “… must use a public host name”

The issuer must be a public https address.

To fix it
  1. Use one such as https://acme.okta.com.
“This sign-in method is not fully configured yet”

The connection is missing the provider’s details.

To fix it
  1. Import its metadata, or enter them manually, as in part 2.
“This sign-in method has not passed its test sign-in yet”

The connection hasn’t passed a test sign-in since it was last changed.

To fix it
  1. Run Test sign-in.
“Owners and people who can approve change plans can use this sign-in method only after an owner tests …”

Owners, and anyone who can approve plans, can use a connection only once an owner has tested its current settings.

To fix it
  1. An owner signs in another way.
  2. They run Test sign-in.
“Your account has not been provisioned for this workspace”

They aren’t a member, and just-in-time provisioning is off (or they need to be created by SCIM).

To fix it
  1. Invite them, or turn on just-in-time provisioning.
  2. If SCIM provisions members, assign them the EntiPath app in Okta.
“None of your groups grant access to this workspace”

Refuse sign-in when no group mapping matches is on, and none of their groups is mapped.

To fix it
  1. Add a mapping for one of their groups, as in Roles from Okta groups.
  2. Or turn that setting off.
“Your identity provider did not send an email address”

The provider sent no email.

To fix it
  1. For SAML, add an email attribute statement.
  2. For OIDC, grant the email scope.
“Your identity provider reports your email as unverified”

The provider says the email isn’t verified.

To fix it
  1. Verify it in the provider, or use an attribute that holds a verified email.
“Your email domain is not allowed to use this sign-in method”

The connection only accepts certain email domains, and this person’s isn’t one of them.

To fix it
  1. Email support@entipath.com to change the list.
“Start sign-in from this page rather than from your identity provider’s dashboard”

They started from the provider’s dashboard.

To fix it
  1. Start from the workspace’s sign-in page.
  2. Or turn on Allow sign-in started from the identity provider.
“Your identity provider returned an error”

The provider refused the sign-in, often because the person isn’t assigned the app there.

To fix it
  1. Assign them the app in your provider.
“Enable the connection before testing it” or “This sign-in method is disabled”

The connection is disabled.

To fix it
  1. Click Enable on it.
  2. Test it again.
“Sign in to the workspace before testing”, “Start the test from this page” or “The test did not complete”

The test didn’t start from the connection’s own button, or didn’t complete.

To fix it
  1. Signed in to the workspace as an owner or admin, click Test sign-in on the connection, not a copied link.
  2. If it still doesn’t complete, check the provider’s details (for OIDC, the issuer URL), then try again.
“Test an SSO connection successfully before enforcing SSO” or “Designate at least one owner … as a recovery admin …”

Requiring single sign-on needs a connection that passed its test, and an owner with two-factor set up as a recovery admin.

To fix it
  1. Test a connection.
  2. In Settings › Members, choose Make recovery admin for an owner with two-factor.
“Turn off SSO enforcement first, or test another connection …”

While single sign-on is required, the last tested connection must stay.

To fix it
  1. Turn off Require single sign-on first, or test another connection.
  2. Then disable or delete this one.
Okta groups don’t give people the role you mapped

Roles change at the next sign-in, and not at all while SCIM provisioning is active.

To fix it
  1. Check the test result lists the group exactly as you mapped it, capitals included.
  2. Check the mapping’s source is SSO group claim.
  3. If SCIM provisioning is active, map the groups SCIM pushes instead.

Still stuck? Email support@entipath.com with your workspace address and the message EntiPath showed.