- Qubitara eSign
- SSO and SCIM
- Custom SAML identity providers
Custom SAML identity providers
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.
Create a new SAML 2.0 application, client or service provider.
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/acmeEntity ID / Audience / Client ID / Issuer of SP
https://acme.esign.qubitara.com/saml/acmeLogin URL / Start URL / Default RelayState
https://acme.esign.qubitara.com/api/v1/auth/sso/initiate/acmeNameID format
urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress, value = user's emailBinding
HTTP-POST
Sign assertions
Yes
Require signed AuthnRequests
No
Encrypt assertions
No
Add the attribute mappings
email,firstName,lastNameanddisplayName, with the Basic name format. You can also addgroups.Copy the IdP's SSO URL (HTTP-POST endpoint) and X.509 signing certificate. Or copy its metadata URL.
Assign yourself and one other administrator.
Part 2: Configure eSign#
You do this part on the SSO tab of Org Settings in eSign.
Open Org Settings → SSO.
Under Identity Provider, choose Custom SAML.
Under Import from IdP Metadata, use Fetch URL (with the metadata URL), Upload File or Paste XML.
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.
Open a private browser window and go to the eSign sign-in page.
Enter your work email and click Sign in with SSO. Or open the SSO Login URL directly.
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.
In eSign, open Org Settings → SCIM and turn on Enable SCIM.
Copy the SCIM Endpoint URL (
https://acme.esign.qubitara.com/api/v1/scim/v2/acme) and the Bearer Token.In the IdP's provisioning settings, set the base URL to the SCIM Endpoint URL.
Set authentication to a bearer token (
Authorization: Bearer <token>).Run the IdP's connection test.
Enable user creation, updates and deactivation, and group provisioning.
Assign users and groups.
Part 5: Map groups to roles#
You map groups on the Groups tab of Org Settings in eSign.
In eSign, open Org Settings → Groups.
Click Refresh.
Set Map role for each group.
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.
In Qubitara Central, open the applications area and add a new SAML application for eSign.
Enter the eSign ACS URL, SP Entity ID and Login URL from the table in Part 1. Set the NameID format to email address.
Add attribute mappings for
email,firstName,lastName,displayNameandgroups.Copy Central's IdP metadata URL (or SSO URL and certificate) into eSign, as in Part 2.
For provisioning, open Central's outbound provisioning (SCIM) settings for the eSign application.
Enter the eSign SCIM Endpoint URL and Bearer Token, and test the connection.
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:
In the JumpCloud Admin Portal, go to Access → SSO Applications and click + Add New Application.
Choose Custom Application and click Next.
Select Manage Single Sign-On (SSO) → Configure SSO with SAML and click Next.
Enter a Display Label (for example
Qubitara eSign).Set SP Entity ID and ACS URL to the eSign values. Set Default URL to the eSign SSO Login URL.
Tick Show this application in User Portal.
Set the NameID to the user's email, with the format emailAddress. Add the attribute mappings. You can also include the group attribute.
Export the metadata into eSign. Or download the IdP certificate, copy the IdP URL, and enter them in eSign (labels to be confirmed).
SCIM:
Open the application and click the Provisioning tab.
Enter the eSign SCIM Endpoint URL as Base URL and the Bearer Token as Token.
Enter a Test User Email that does not exist in eSign.
Click Test Connection (this sends
GET /Users), then Activate. JumpCloud runs create, get, update and delete tests with the test user.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)).
In the Keycloak admin console, go to Clients → Create client.
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).
On the Settings tab, set Valid redirect URIs and Master SAML Processing URL to the eSign ACS URL.
Set Name ID format to email and enable Force Name ID Format.
Enable Sign assertions and Force POST binding.
Disable Client signature required. These guides assume that eSign does not sign AuthnRequests (see the note in Part 1).
Under Client scopes, add User Property mappers for
email,firstNameandlastName. Add a group list mapper namedgroups.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.
In the Auth0 Dashboard, go to Applications → Applications. Select or create an application.
On the Addons tab, enable SAML2 Web App.
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" } }Click Enable.
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#
SCIM provisioning: the eSign side of provisioning and role mapping.
Organization settings: limit the sign-in methods.
SSO and SCIM overview: Service Provider details and the recommended order.