Installing Onfido

Prerequisites

Before installation, you need to have:

  • An active FintechOS account. For details, contact a FintechOS sales representative.

  • Make sure you have the latest dcs-sdk-onfido.js installed on your environment.
NOTE  We recommend that you load sdk/dcs-onfido-component.js and sdk/dcs-onfido-component.js.map by placing them in the custom-on-demand folder, and import them using the injectScriptAsync method. See example below:
Copy
if (window.OnfidoComponent == undefined) {
      var slash = ebs.getBaseUrl().slice(-1) === "/" ? "" : "/";
      await ebs.injectScriptAsync(
        ebs.getBaseUrl() +
          slash +
          "custom-on-demand/components/dcs-onfido-component.js"
      );
  }

1 Install the SysPacks

  1. Download the SySDigitalSolutionPackages.zip archive.
  2. Unzip the archive and follow the instructions from the from the SysPacks Installation page.

2 Set up the Onfido service subscription key

On the FintechOS Portal or B2C environment, open the web.config file in a text editor and add the following entries in the <appSettings> section:

In order to configure the processors to make the requests correctly to DCS, you must add in web.config / FTOS Vault (Portal / B2C - depending where the server side script is executing) the following keys:

Key Path Key Name Value
kv/<environment>/<FintechOS Portal instance>/app-settings FTOSServiceOnfidoEndpoint DCS web app endpoint URL provided by FintechOS.
kv/<environment>/<FintechOS Portal instance>/app-settings FTOSServicesOnfidoAppId ID for the Onfido service subscription.
kv/<environment>/<FintechOS Portal instance>/app-settings FTOSServicesOnfidoSubscriptionKey Subscription key for the Onfido service.
kv/<environment>/<FintechOS Portal instance>/app-settings

FTOSServicesOnfidoenableMock

Optional and false by default. Set this to true and the processor will use mock functionalities starting with Syspack 22.1.4003.

DCS Onfido configurations are stored using Vault secrets inside a KV (key-value) Service, using the following structure path: kv/dcs/kyc-onfido.

IMPORTANT!  
Make sure that the Vault configurations are done and that the Webhook is created.