- Qubitara eSign
- SSO and SCIM
- Connect OneLogin
Connect OneLogin
This page helps a OneLogin administrator connect OneLogin to Qubitara eSign. You set up sign-in, then user provisioning, then roles. Do the parts in order.
OneLogin has two connectors (ready-made app types) that you can use:
Connector | What it does |
|---|---|
SCIM Provisioner with SAML (SCIM v2 Enterprise) | SAML sign-in and SCIM provisioning in one app |
SAML Custom Connector (Advanced) | SAML sign-in only |
This page uses the SCIM Provisioner connector. It also shows what is different for the SAML-only connector.
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 OneLogin and eSign use for SSO. |
IdP | Identity provider: the system that holds your company accounts. Here it is OneLogin. |
SCIM | A standard that lets OneLogin create, update and deactivate eSign users for you. |
Prerequisites#
You need:
OneLogin administrator access.
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 OneLogin#
In the OneLogin administrator dashboard, go to Applications → Applications and click Add App.
Search for SCIM Provisioner with SAML (SCIM v2 Enterprise) and select it. For SAML only, choose SAML Custom Connector (Advanced).
Enter a Display Name* (for example
Qubitara eSign) and click Save.On the Configuration tab, under Application details, enter:
OneLogin field
Value
SAML Audience URL
eSign SP Entity ID:
https://acme.esign.qubitara.com/saml/acmeSAML Consumer URL
eSign ACS URL:
https://acme.esign.qubitara.com/api/v1/auth/sso/callback/acmeFor SAML Custom Connector (Advanced), the fields are these instead:
OneLogin field
Value
Audience
eSign SP Entity ID
Recipient
eSign ACS URL
ACS (Consumer) URL Validator*
^https:\/\/acme\.esign\.qubitara\.com\/api\/v1\/auth\/sso\/callback\/acme$ACS (Consumer) URL*
eSign ACS URL
Login URL*
eSign SSO Login URL:
https://acme.esign.qubitara.com/api/v1/auth/sso/initiate/acmeSAML initiator*
Service Provider
SAML nameID format*
Email
Relay State
Leave blank
On the Parameters tab, check that NameID* is mapped to Email.
Add these custom parameters. Tick Include in SAML assertion* for each one.
Parameter
OneLogin value
emailEmail
firstNameFirst Name
lastNameLast Name
displayNameName or First Name + Last Name
Click Save.
On the SSO tab*, copy the Issuer URL (the metadata URL). Or copy the SAML 2.0 Endpoint (HTTP) and the X.509 Certificate.
Assign yourself and one other administrator. Use the app's Users tab, or a role on the Access tab. Assign everyone else after testing.
Part 2: Configure eSign#
You do this part on the SSO tab of Org Settings in eSign.
In eSign, open Org Settings → SSO.
Under Identity Provider, choose OneLogin.
Under Import from IdP Metadata, choose Fetch URL.
Paste the OneLogin Issuer URL (metadata) and click Fetch. eSign fills in the Identity Provider SSO URL, the entity ID and the IdP X.509 Certificate.
Click Save SSO Config.
You can also fill in the fields by hand:
eSign field | OneLogin value |
|---|---|
Identity Provider SSO URL | SAML 2.0 Endpoint (HTTP) |
IdP X.509 Certificate | X.509 Certificate |
SP Entity ID | Leave the 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.
Sign in to OneLogin. You should arrive on the eSign dashboard.
Test sign-in that starts from OneLogin. Click the tile in the OneLogin portal.
Part 4: SCIM provisioning in OneLogin#
These steps follow Create a SCIM Test App (opens in a new tab). They apply to the SCIM Provisioner with SAML (SCIM v2 Enterprise) connector.
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 and the Bearer Token. See SCIM provisioning.
In OneLogin, open the eSign app and go to the Configuration tab. Under API Connection, enter:
OneLogin field
Value
SCIM Base URL
https://acme.esign.qubitara.com/api/v1/scim/v2/acmeSCIM JSON Template
Leave blank (default schema)
Custom Headers
Leave blank
SCIM Bearer Token
The eSign Bearer Token
Click Enable next to API Status. OneLogin sends a test GET request. It shows Enabled when it gets the response it expects. Save.
On the Provisioning tab, tick Enable provisioning.
To provision without manual approval, clear the Require admin approval before this action is performed boxes for Create user, Delete user and Update user.
Set When users are deleted in OneLogin, or the user's app access is removed to Suspend (recommended) or Delete. Save.
On the Parameters tab, tick Include in User Provisioning for the attributes you want to sync (email, first name, last name, display name). Make sure the Groups parameter exists.
On the Rules tab, add a rule with the action Set Groups in Qubitara eSign.
Choose Map from OneLogin (this creates matching groups in eSign) or From Existing. Select the roles or groups to push. Save.
If OneLogin asks you to reapply mappings, do so (to be confirmed).
Assign users through the Users tab or a role. OneLogin creates each user in eSign.
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 to get the latest groups from OneLogin.
For each group, set Map role to Owner, Admin, Member or Viewer.
Then check that provisioning worked. Open Audit Logs and click the Provisioning filter.
Look for the events User Provisioned (SCIM) — user and Group Synced (SCIM) — group.
Which Audit Logs event eSign records for a suspended or deleted user is to be confirmed. See SCIM provisioning.
Finish#
When SSO and SCIM both work, open Org Settings → Settings. Restrict Authentication Methods and set the SSO Email Domain. See the recommended order.
Troubleshooting#
See SSO and SCIM troubleshooting. Checks that are specific to OneLogin:
The ACS URL Validator regex must match the ACS URL exactly.
The SAML initiator must be Service Provider for sign-in that starts from eSign (SP-initiated).
Provisioning stops and waits when admin approval is required.
Next steps#
SCIM provisioning: the eSign side of provisioning and role mapping.
Organization settings: limit the sign-in methods.
Audit trail and audit logs: check provisioning events.