Skip to content
Docs
Qubitara eSign

Custom SAML identity providers

Updated Version 2ESIGN-44

This page helps an IT administrator connect any SAML 2.0 identity provider to Qubitara eSign. Use it when your provider is not Okta, Microsoft Entra ID, Google Workspace or OneLogin.

The page has two halves:

  • Parts 1 to 5 give the general steps for any provider.

  • The later sections give notes for Qubitara Central, JumpCloud, Keycloak and Auth0.

In eSign, choose Custom SAML as the Identity Provider for all of these.

Words used on this page:

Word

Meaning

SSO

Single sign-on: you sign in once with your company account.

SAML 2.0

The standard that your provider and eSign use for SSO.

IdP

Identity provider: the system that holds your company accounts.

SP

Service provider: the app that users sign in to. Here it is eSign.

Metadata

A file or URL that holds the SAML settings of one side.

SCIM

A standard that lets your IdP create, update and deactivate eSign users for you.

Prerequisites#

You need:

  • Administrator access to your IdP.

  • The Admin or Owner role in the eSign organization.

  • Your eSign Workspace URL Slug (the short name of your organization in the eSign web address). Find it in Org Settings → Settings. The examples below use acme.

  • Password sign-in still enabled for at least one eSign Owner.

Before you start, copy your Service Provider values from Org Settings → SSO → Service Provider Details. See SSO and SCIM overview.

In the app, the SP Entity ID is labelled SP Entity ID / Audience URI. The SSO Login URL is labelled SCIM / SSO Login URL.

Part 1: Create the SAML app in your IdP#

Every SAML IdP asks for the same information, but under different names.

  1. Create a new SAML 2.0 application, client or service provider.

  2. If the IdP can import SP metadata, import https://acme.esign.qubitara.com/api/v1/auth/sso/metadata/acme. If it cannot, enter:

    Setting (common names)

    Value

    ACS URL / Assertion Consumer Service / Callback URL / Reply URL

    https://acme.esign.qubitara.com/api/v1/auth/sso/callback/acme

    Entity ID / Audience / Client ID / Issuer of SP

    https://acme.esign.qubitara.com/saml/acme

    Login URL / Start URL / Default RelayState

    https://acme.esign.qubitara.com/api/v1/auth/sso/initiate/acme

    NameID format

    urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress, value = user's email

    Binding

    HTTP-POST

    Sign assertions

    Yes

    Require signed AuthnRequests

    No

    Encrypt assertions

    No

  3. Add the attribute mappings email, firstName, lastName and displayName, with the Basic name format. You can also add groups.

  4. Copy the IdP's SSO URL (HTTP-POST endpoint) and X.509 signing certificate. Or copy its metadata URL.

  5. Assign yourself and one other administrator.

Part 2: Configure eSign#

You do this part on the SSO tab of Org Settings in eSign.

Org Settings SSO tab showing the provider picker, Import from IdP Metadata, the manual fields and Service Provider Details. The picture has Okta selected; choose Custom SAML instead.
Org Settings SSO tab showing the provider picker, Import from IdP Metadata, the manual fields and Service Provider Details. The picture has Okta selected; choose Custom SAML instead.
  1. Open Org Settings → SSO.

  2. Under Identity Provider, choose Custom SAML.

  3. Under Import from IdP Metadata, use Fetch URL (with the metadata URL), Upload File or Paste XML.

  4. Click Save SSO Config.

You can also fill in Identity Provider SSO URL and IdP X.509 Certificate by hand. Leave SP Entity ID at its default.

Part 3: Test sign-in#

Test on the eSign sign-in page before you assign all users.

The eSign sign-in page with the banner "Your organization uses SAML sign-in" and the Sign in with SSO button.
The eSign sign-in page with the banner "Your organization uses SAML sign-in" and the Sign in with SSO button.
  1. Open a private browser window and go to the eSign sign-in page.

  2. Enter your work email and click Sign in with SSO. Or open the SSO Login URL directly.

  3. Test sign-in that starts from the IdP. Use the IdP's user portal, if it has one.

Part 4: SCIM provisioning (generic)#

Use this part if your IdP can send SCIM 2.0 to other apps (outbound SCIM).

Step 1 uses the SCIM tab of Org Settings in eSign.

Org Settings SCIM tab with Enable SCIM turned on, the SCIM Endpoint URL, the hidden Bearer Token and the Regenerate link.
Org Settings SCIM tab with Enable SCIM turned on, the SCIM Endpoint URL, the hidden Bearer Token and the Regenerate link.
  1. In eSign, open Org Settings → SCIM and turn on Enable SCIM.

  2. Copy the SCIM Endpoint URL (https://acme.esign.qubitara.com/api/v1/scim/v2/acme) and the Bearer Token.

  3. In the IdP's provisioning settings, set the base URL to the SCIM Endpoint URL.

  4. Set authentication to a bearer token (Authorization: Bearer <token>).

  5. Run the IdP's connection test.

  6. Enable user creation, updates and deactivation, and group provisioning.

  7. Assign users and groups.

Part 5: Map groups to roles#

You map groups on the Groups tab of Org Settings in eSign.

Org Settings Groups tab with a list of SCIM groups, a Map role list beside each group, and the Refresh button.
Org Settings Groups tab with a list of SCIM groups, a Map role list beside each group, and the Refresh button.
  1. In eSign, open Org Settings → Groups.

  2. Click Refresh.

  3. Set Map role for each group.

  4. Open Audit Logs and click the Provisioning filter to check the result.

See SCIM provisioning.

Qubitara Central#

Qubitara Central is Qubitara's IAM platform (identity and access management: it controls who can sign in to what). It can be the SAML IdP and the SCIM source for eSign.

The eSign sign-in page tells organization users to use Sign in with SSO, so that access stays managed through Qubitara Central. Central has its own documentation at synapse.qubitara.com/docs/central (opens in a new tab).

In eSign, choose Custom SAML as the provider.

  1. In Qubitara Central, open the applications area and add a new SAML application for eSign.

  2. Enter the eSign ACS URL, SP Entity ID and Login URL from the table in Part 1. Set the NameID format to email address.

  3. Add attribute mappings for email, firstName, lastName, displayName and groups.

  4. Copy Central's IdP metadata URL (or SSO URL and certificate) into eSign, as in Part 2.

  5. For provisioning, open Central's outbound provisioning (SCIM) settings for the eSign application.

  6. Enter the eSign SCIM Endpoint URL and Bearer Token, and test the connection.

  7. Assign users and groups.

JumpCloud#

JumpCloud supports custom SAML and custom SCIM 2.0 (Configure SAML authentication (opens in a new tab); Custom SCIM integration (opens in a new tab)).

SAML:

  1. In the JumpCloud Admin Portal, go to Access → SSO Applications and click + Add New Application.

  2. Choose Custom Application and click Next.

  3. Select Manage Single Sign-On (SSO) → Configure SSO with SAML and click Next.

  4. Enter a Display Label (for example Qubitara eSign).

  5. Set SP Entity ID and ACS URL to the eSign values. Set Default URL to the eSign SSO Login URL.

  6. Tick Show this application in User Portal.

  7. Set the NameID to the user's email, with the format emailAddress. Add the attribute mappings. You can also include the group attribute.

  8. Export the metadata into eSign. Or download the IdP certificate, copy the IdP URL, and enter them in eSign (labels to be confirmed).

SCIM:

  1. Open the application and click the Provisioning tab.

  2. Enter the eSign SCIM Endpoint URL as Base URL and the Bearer Token as Token.

  3. Enter a Test User Email that does not exist in eSign.

  4. Click Test Connection (this sends GET /Users), then Activate. JumpCloud runs create, get, update and delete tests with the test user.

  5. Turn on Enable management of User Groups and Group Membership in this application, so that groups reach the eSign Groups tab.

Keycloak#

Keycloak provides SAML clients, but it has no built-in outbound SCIM (Keycloak Server Administration Guide (opens in a new tab)).

  1. In the Keycloak admin console, go to Clients → Create client.

  2. Select SAML as the client type. Enter the eSign SP Entity ID as the Client ID, and enter a Name. Or use Import client with the eSign SP metadata URL (SAML Entity Descriptor).

  3. On the Settings tab, set Valid redirect URIs and Master SAML Processing URL to the eSign ACS URL.

  4. Set Name ID format to email and enable Force Name ID Format.

  5. Enable Sign assertions and Force POST binding.

  6. Disable Client signature required. These guides assume that eSign does not sign AuthnRequests (see the note in Part 1).

  7. Under Client scopes, add User Property mappers for email, firstName and lastName. Add a group list mapper named groups.

  8. Get the IdP metadata from Realm settings → Endpoints → SAML 2.0 Identity Provider Metadata. Use Fetch URL in eSign.

SCIM: Keycloak does not have it built in. Invite members manually, or use another directory as the SCIM source. Third-party SCIM extensions for Keycloak exist, but they were not tested for this guide.

Auth0#

Auth0 can be a SAML IdP through the SAML2 Web App addon. It offers only inbound SCIM, not outbound provisioning (Configure Auth0 as SAML IdP (opens in a new tab); Auth0 SCIM (opens in a new tab)). So Auth0 cannot send users to eSign.

  1. In the Auth0 Dashboard, go to Applications → Applications. Select or create an application.

  2. On the Addons tab, enable SAML2 Web App.

  3. On the addon's Settings tab, set Application Callback URL to the eSign ACS URL. In the Settings JSON, set:

    json
    {
      "audience": "https://acme.esign.qubitara.com/saml/acme",
      "recipient": "https://acme.esign.qubitara.com/api/v1/auth/sso/callback/acme",
      "destination": "https://acme.esign.qubitara.com/api/v1/auth/sso/callback/acme",
      "nameIdentifierFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress",
      "nameIdentifierProbes": ["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"],
      "mappings": {
        "email": "email",
        "given_name": "firstName",
        "family_name": "lastName",
        "name": "displayName"
      }
    }
  4. Click Enable.

  5. On the Usage tab, copy the Identity Provider Metadata URL (https://{domain}/samlp/metadata/{client_id}). Use Fetch URL in eSign.

SCIM: Auth0 does not offer it for this use. Invite members manually, or use another directory as the SCIM source.

Troubleshooting#

See SSO and SCIM troubleshooting.

Next steps#