Step A: Set up your Onfido account
Before you begin, open two browser windows. Log in to IDaaS in one window and log in to Onfido in the other.
Step 1: In Onfido, generate an API token
- From the Onfido Dashboard page, click Developers > Tokens. The API tokens list appears.
- Click Generate API token. The Generate API token dialog box appears.
- Click one of the following options:
- Live if you want to have users perform a full registration and authentication.
- Sandbox if you want to create a test environment.
- Click Generate. The Generate API token dialog box appears.
- Copy the generated token. You need to paste this value into IDaaS.
Step 2: In IDaaS, paste the API token value and copy the Webhook URL
- In IDaaS, click > Configuration > Onfido Account. The Onfido Account page appears.
- In the API Key field, paste the API token you copied from Onfido in Step 1: In Onfido, generate an API token.
- Copy the Webhook URL that appears under Use this URL to create a Webhook.
- Leave this page open.
Step 3: In Onfido, add the Webhook URL and generate a Webhook token
- In Onfido, click Developers > Webhooks. The Webhooks page appears.
- Click Create Webhook. The Create Webhook dialog box appears.
- In the URL field, paste the URL you copied in Step 2: In IDaaS, paste the API token value and copy the Webhook URL.
- Under Status, select Enabled.
- Under Environments, click Both.
- Under Select event notifications disable all options with the exception, workflow_run.completed.
- Click Save to create the Webhook.
- The new Webhook appears in the Webhooks page.
- Copy the Token value generated for your new Webhook.
Step 4: In IDaaS, add the Onfido Webhook token
- In the IDaaS Onfido Account page, do the following:
- In the Webhook Token field, paste the token you copied in Step 3: In Onfido, add the Webhook URL and generate a Webhook token.
- Select the API Region where the API key is created.
- Click Save.