- Qubitara eSign
- SSO and SCIM
- Connect Okta
Connect Okta
This page helps an Okta administrator connect Okta to Qubitara eSign. You set up sign-in, then user provisioning, then roles. Do the parts in order.
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 Okta and eSign use for SSO. |
IdP | Identity provider: the system that holds your company accounts. Here it is Okta. |
SCIM | A standard that lets Okta create, update and deactivate eSign users for you. |
Group Push | The Okta feature that sends groups to eSign. |
Prerequisites#
You need:
Okta Super Admin or Application Admin access to the Okta Admin Console.
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 Okta#
These steps follow Okta's Create SAML app integrations (opens in a new tab) and the SAML field reference (opens in a new tab).
In the Okta Admin Console, go to Applications → Applications.
Click Create App Integration.
Select SAML 2.0 as the sign-in method and click Next.
Under General Settings, enter the App name (for example
Qubitara eSign). You can also upload a logo. Click Next.Under Configure SAML, fill in the SAML settings:
Okta field
Value
Single sign-on URL
eSign ACS URL:
https://acme.esign.qubitara.com/api/v1/auth/sso/callback/acmeUse this for Recipient URL and Destination URL (label to be confirmed)
Leave selected
Audience URI (SP Entity ID)
eSign SP Entity ID:
https://acme.esign.qubitara.com/saml/acmeDefault RelayState
Leave blank, or the eSign SSO Login URL
Name ID format
EmailAddress
Application username
Email (or Okta username if it equals the email)
Update application username on
Create and update
Under Attribute Statements, add:
Name
Name format
Value
emailBasic
user.emailfirstNameBasic
user.firstNamelastNameBasic
user.lastNamedisplayNameBasic
user.displayNameOptional: under Group Attribute Statements, add
groupswith the filter Matches regex.*. You can use a narrower Starts with filter instead.Leave Show Advanced Settings at the defaults. Do not enable Signed Requests.
Click Next, choose I'm an Okta customer adding an internal app, and click Finish.
Open the app's Sign On tab. Find SAML Signing Certificates and Identity Provider metadata details. Copy the metadata URL. Or use View SAML Setup Instructions to copy the IdP SSO URL and X.509 Certificate.
On the Assignments tab, assign yourself and one other administrator. Assign everyone else after testing.
Part 2: Configure eSign#
You do this part on the SSO tab of Org Settings in eSign.
In eSign, switch to the Organization Workspace and open Org Settings → SSO.
Under Identity Provider, choose Okta. The tab shows the Okta setup steps.
Under Import from IdP Metadata, choose Fetch URL.
Paste the Okta metadata URL from Part 1 step 10 and click Fetch. eSign fills in the Identity Provider SSO URL, the entity ID and the IdP X.509 Certificate.
Click Save SSO Config.
If you cannot use the metadata URL, choose Upload File or Paste XML and use the downloaded metadata. You can also fill in the fields by hand:
eSign field | Okta value |
|---|---|
Identity Provider SSO URL | IdP SSO URL from View SAML Setup Instructions |
IdP X.509 Certificate | X.509 Certificate (PEM) |
SP Entity ID | Leave the default |
With Okta selected, the first field is labelled Okta Identity Provider SSO URL.
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. If the SSO Email Domain is set, the banner "Your organization uses SAML sign-in" appears.
Click Sign in with SSO. If the domain is not set yet, open the SSO Login URL directly:
https://acme.esign.qubitara.com/api/v1/auth/sso/initiate/acme.Sign in to Okta. You should arrive on the eSign dashboard.
Test sign-in that starts from Okta. Click the Qubitara eSign tile in the Okta End-User Dashboard.
If a test fails, see SSO and SCIM troubleshooting.
Part 4: SCIM provisioning in Okta#
These steps follow Add SCIM provisioning to app integrations (opens in a new tab) and Add a private SCIM integration (opens in a new tab). Provisioning must be enabled for your Okta org.
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 Okta, open the eSign app and click the General tab. Under App Settings, click Edit.
In the Provisioning field, select SCIM and click Save.
Click the Provisioning tab. Under Settings → Integration, click Edit and enter:
Okta field
Value
SCIM connector base URL
https://acme.esign.qubitara.com/api/v1/scim/v2/acmeUnique identifier field for users
userNameSupported provisioning actions
Push New Users, Push Profile Updates, Push Groups (and Import New Users and Profile Updates if wanted)
Authentication Mode
HTTP Header
Bearer token field shown for HTTP Header (label to be confirmed)
The eSign Bearer Token
Click Test Connector Configuration. Okta tests the URL and the token. Then click Save.
Under Settings → To App, click Edit. Enable Create Users, Update User Attributes and Deactivate Users. Click Save.
Check the attribute mappings in the Profile Editor. Make sure
userName,givenName,familyName,displayName,emailandactiveare mapped.On the Assignments tab, assign the users and groups who need eSign accounts. Okta creates each user in eSign.
On the Push Groups tab, click Push Groups → Find groups by name (or by rule). Select the groups and save.
Group members must already be assigned to the app. See Group Push prerequisites (opens in a new tab).
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 Okta.
For each pushed group, set Map role to Owner, Admin, Member or Viewer. Leave No role for groups that should not change roles.
Expand a group to check its members.
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.
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 Okta:
The Single sign-on URL must not contain underscores.
The Name ID format must be EmailAddress when eSign's request includes a NameIDPolicy.
Group push fails for members who are not yet assigned to the app.
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.