- 16 Oct 2024
- 1 Minute to read
- DarkLight
- PDF
Configuring a Custom Domain Name
- Updated on 16 Oct 2024
- 1 Minute to read
- DarkLight
- PDF
Most installations of Salesforce that host OneSpan Sign Embedded Integration for Salesforce use one of the public cloud domains listed in Environment URLs and IP Addresses.
If you want to use any other domain name, such as a private cloud or an on-premises deployment, then you must perform the following procedure.
To enable OneSpan Sign Embedded Integration for Salesforce to work with a custom domain name for OneSpan Sign:
Go to Setup > App Setup > Create > Apps.
Under Connected Apps, click New.
Under Basic Information, fill in the following fields:
Connected App Name
API Name
Contact email
Under API (Enable OAuth Settings), check the option Enable OAuth Settings.
Fill in the Callback URL as follows:
For Sandbox: https://<custom domain name>/oauth2/salesforcetest
For Production: https://<custom domain name>/oauth2/salesforce
Select OAuth Scope, and choose:
Full access
Perform requests on your behalf at any time (refresh_token, offline_access)
Under Canvas App Settings:
Select the field Force.com Canvas.
Fill in the Canvas App URL: https://<custom domain name>/
For Access Method, choose OAuth Webflow (GET).
For Locations, choose Visualforce.
Click Lookup to set the Lifecycle Class as CanvasAppLifecycle.
Click Save.
After saving the connected app, a Consumer Key and Consumer Secret is created.
The Consumer Key and Consumer Secret must be added as OAuth keys resources to the OneSpan Sign database.
Go to Setup > App Setup > Develop > Custom Settings.
On the Custom Settings page, next to OneSpan Sign Configuration, click Manage.
Next to the Default configuration, click Edit. The OneSpan Sign Configuration Edit page appears.
Fill in the Custom Canvas App Name parameters with the API name of the new Connected App.
Click Save.
At this point, your deployment should be complete. You can verify that it is by: (1) connecting your Salesforce application to your OneSpan Sign account; (2) creating and sending a transaction.
The above procedure creates a new canvas application on Salesforce.