Skip to content
Docs
Qubitara eSign

SSO and SCIM troubleshooting

Updated Version 2ESIGN-46

This page helps IT administrators fix problems with SSO and SCIM. Find your problem in the tables, then follow the fix.

Words used on this page: SSO is single sign-on with SAML 2.0. SCIM is the standard that creates and removes users for you. The IdP (identity provider) is the system that holds your company accounts, such as Okta.

Most SAML problems come from a value that is not exactly the same in the IdP and in eSign. So start by comparing the values, character by character.

First checks#

  1. Open Org Settings → SSO. Compare every value in Service Provider Details with the IdP app. Look for a slash at the end, http in place of https, and a slug typed by hand.

  2. Check that the user is assigned to the eSign app in the IdP.

  3. Check that the email of the user in the IdP is exactly the same as in eSign.

  4. Check that the Workspace URL Slug in Org Settings → Settings has not changed since you set up the IdP.

  5. Open Audit Logs and use the Auth & Login and Provisioning filters to see recent events.

  6. Capture the SAML response with a browser extension such as SAML-tracer. Then read the assertion.

SAML sign-in errors#

Symptom

Likely cause

Fix

"Audience restriction validation failed", "Invalid audience", "No matching audience"

The Audience / Identifier / Entity ID in the IdP is not https://<org>.esign.qubitara.com/saml/<org>

Correct the value in the IdP. Remove a slash at the end (WorkOS (opens in a new tab)).

"Recipient does not match", "SubjectConfirmation validation failed", "Destination mismatch"

The ACS / Reply / Recipient / Destination URL in the IdP is wrong

Set it to https://<org>.esign.qubitara.com/api/v1/auth/sso/callback/<org>. In Okta, keep Use this for Recipient URL and Destination URL selected.

"Signature validation failed", "Unable to verify SAML signature", "Invalid certificate"

The IdP has a new signing certificate, or the wrong certificate was pasted

Import the metadata again in eSign with Fetch URL, or paste the new IdP X.509 Certificate. Then click Save SSO Config. Plan for new certificates: Entra and Okta both change them (Manage federation certificates (opens in a new tab)).

"Assertion has expired", "Conditions are not yet valid"

The clocks of the IdP and eSign show different times

Sync the clocks with NTP. A tolerance of 5 minutes is typical.

"InvalidNameIDPolicy", "Requested NameID format not provided"

The NameID format is not emailAddress, or the NameID is not the email

Set the NameID format in the IdP to EmailAddress, with the email of the user as the value. Okta needs the same format when the request has a NameIDPolicy (Okta field reference (opens in a new tab)).

"InResponseTo does not match any pending requests"

An IdP-initiated assertion came with an InResponseTo, or an SP-initiated session expired

Try again from the eSign sign-in page. In IdP-initiated flows the assertion must not have InResponseTo.

General "Authentication failed" after a successful IdP login

The attribute names are not the names eSign expects, or the user is not a member

Check the attribute names in SSO and SCIM overview. Check the member in Org Settings → Members.

IdP-initiated works, SP-initiated fails

The IdP app has no Sign on / Login / Start URL, or the SP-initiated flow is off

Set the Login URL to https://<org>.esign.qubitara.com/api/v1/auth/sso/initiate/<org>. In OneLogin, set SAML initiator to Service Provider.

The IdP rejects the request from eSign because it is not signed

Signed Requests (Okta) or Client signature required (Keycloak) is on

Turn it off. The IdP guides assume that eSign does not sign AuthnRequests (to be confirmed).

Sign-in page problems#

Symptom

Likely cause

Fix

The "Your organization uses SAML sign-in" banner never appears

SSO Email Domain is empty or is not the domain of the user

Set the domain in Org Settings → Settings. Until then, open the SSO Login URL directly.

You cannot tick SSO (SAML) under Authentication Methods

SSO is not set up yet

Complete and save the SSO tab first.

Users can still sign in with a password after SSO is set up

Authentication Methods still allows Password

Tick only the methods you want and click Save Methods. Keep Password for one emergency Owner account.

Nobody can sign in after you allowed only SSO

SSO broke after the change (new certificate, new slug)

Sign in with the password of the emergency Owner account. Allow the other methods again. Then fix SSO. If you have no such account, contact Qubitara support.

Google users see "user not found" or the app is missing

The Google app is not on for the organizational unit of the user, or the change is not active yet (up to 24 hours)

Turn on User access for the right OU and wait (Google (opens in a new tab)).

Everything stopped working at the same time

The Workspace URL Slug changed

Copy the new Service Provider Details and SCIM Endpoint URL into the IdP. See Organization settings.

Missing groups or wrong roles#

Symptom

Likely cause

Fix

A group does not appear on Org Settings → Groups

The IdP has not pushed it, or SCIM is off

Click Refresh. In Okta, push it on the Push Groups tab. In Entra, assign the group and keep group mappings on. In OneLogin, add a Set Groups rule.

The group appears but has no members

The members were not assigned to the eSign app in the IdP

Assign the users first. Okta pushes only members who are already assigned (Group Push prerequisites (opens in a new tab)).

Members of a group do not get the role

Map role is still No role

Set the role on the Groups tab.

The groups SAML attribute is empty

Entra leaves out group claims above 150 groups. Google sends only selected groups (max 75). The Okta filter regex excludes them.

Use Groups assigned to the application in Entra. Select the groups in Google. Make the Okta filter wider. Prefer SCIM groups to SAML group attributes.

SCIM provisioning errors#

Symptom

Likely cause

Fix

Connection test fails with 401

Wrong or revoked bearer token

Copy the current token from Org Settings → SCIM. If the token was regenerated, the old token does not work any more.

Connection test fails with 404 or connection refused

Wrong endpoint URL, or SCIM is not on

Turn on Enable SCIM. Use the exact SCIM Endpoint URL.

Connection test fails with a TLS error

Entra needs TLS 1.2, or a proxy changes the connection

Check the network path. You need TLS 1.2 or later (Entra tutorial (opens in a new tab)).

Users are created but never updated (Entra)

Non-compliant PATCH format

Add ?aadOptscim062020 to the end of the Tenant URL (Entra SCIM compliance (opens in a new tab)).

A removed user is still a member

The IdP sent active: false but eSign does not show the change, or the user was removed from a group and not from the app

Check Audit Logs for Member Removed. Unassign the user from the app, not only from the group.

Duplicate user error (409)

The email already exists as an invited or manual member

Remove the manual member, or let the IdP manage the user. How eSign handles this case is not verified (to be confirmed).

OneLogin Enable never shows Enabled

The validation test did not get the response it expects

What the test path returns is not verified (to be confirmed). Contact Qubitara support. See Connect OneLogin.

Nothing is provisioned in Entra

No users or groups are assigned, and the scope is "assigned only"

Assign users and groups, or change the scope.

Provisioning stops in OneLogin

Require admin approval is ticked

Clear the approval boxes on the Provisioning tab.

Verify with Audit Logs#

Audit Logs in the Organization Workspace records sign-ins, sign-outs and SCIM events. Each event shows the user, the IP address and the time. The page heading in the app is Audit Trail.

The organization Audit Logs page with filter chips such as Auth & Login and Provisioning, the event table and Export CSV
The organization Audit Logs page with filter chips such as Auth & Login and Provisioning, the event table and Export CSV

What you want to check

Filter chip

Events to look for

SAML sign-in sessions

Auth & Login

Sign-ins and sign-outs

SCIM provisioning

Provisioning

User Provisioned (SCIM), Group Synced (SCIM), Member Removed

Click Export CSV when you open a support ticket. See Audit trail and audit logs.

Get help#

When you contact Qubitara support, include:

  • your Workspace URL Slug

  • the IdP and the connector type

  • the SAML response, with the certificate removed

  • the time of the failure

  • the Audit Logs export

Never include the SCIM bearer token.

Next steps#