Liveness Verification
This process is used to verify both the image and the liveness of the user. It ensures that the user is physically present and not using a photo or video during the verification process, enhancing security by confirming the user's live presence.
How to Setup
1 Go to Workspace > Workflows, and click on the flow created for Liveness Verification. If you need understanding in creating a workflow, refer to the step-by-step guide here.
2 Hover over the plus (+) symbol and select Workflow. From the list, click Liveness Verification to add it.
3 Click on the newly added workflow, then select the General tab to customize your preferences.
Manage General
(*) Indicates an action to be mandatory.
Name | Description |
---|---|
*Display Name | Set a name to the workflow for easy identification. |
Description | Summarize the purpose and functionality of this workflow module. |
Enable | This toggle is enabled by default. When enabled, the particular workflow module begins its execution. Conversely, if disabled, the workflow module remains inactive and won't proceed. |
Rule | This determines the criteria for triggering the particular workflow module. When the selected rule is evaluated, and is satisfied, the workflow proceeds as provided. If not, the workflow will not be executed. Note: If no rules are set, the workflow defaults to its standard action without any rule. For more information about the rules, refer here. |
4 Then, click on the Configs tab to set the necessary configurations.
Manage Configs
Configuration | Description |
---|---|
Face comparison | This feature compares the user's image and video during the verification process to confirm their identity. |
Blink verification | Users are prompted to perform specific blinking actions for verification purposes. |
Movement verification | This involves assessing the user's movements to confirm their identity. |
Fingers count verification | Users are required to display their fingers to the camera as part of the verification process. |
Speech verification | Verification necessitates users to recite a specific word in a video as a means of confirmation. |
5 After you've configured everything needed, click on the SAVE
button.
6 Proceed to attach the workflow to the relevant application for execution. Refer to instructions on how to attach a workflow to an application here.
Expected Result
Based on the provided configuration, the information that will be fetched for Liveness Verification includes the following parameters:
Name | Description |
---|---|
liveness_completed | This indicates whether the liveness verification has been completed. The value will be "True" if the verification is successfully completed and "False" if it is not. |
liveness-fingercount-verified | Checks whether the finger count during the liveness verification process has been verified ("True" if completed, "False" if not). |
liveness-speech-verified | Indicates whether the speech during the liveness verification process has been verified ("True" if completed, "False" if not). |
liveness_video | URL to the video used for the liveness verification process. |
liveness-blink-verified | Checks whether the blinking during the liveness verification process has been verified ("True" if completed, "False" if not). |
photo_url | URL to the photo used or captured during the liveness verification process. |
liveness-movement-verified | Validates the movement during the liveness verification ("True" if completed, "False" if not). |
The response received will include the accurate information mentioned above. Note that, the response values can vary depending on the specific workflow modules.
How it Works
1 Launch Postman or your preferred API tool and execute the flow by configuring the suitable Method, URL, and Body settings. If you're seeking guidance on how to perform these actions, see here.
2 Upon initiating the API call, a verification request will be sent to your configured Verification Way settings.
3 Based on the request, execute the flow in an incognito browser and follow the prompts to complete the verification process.
4 Before proceeding, familiarize yourself with the Do's and Don'ts. Once you're aware, click on Capture Picture to begin.
- Before proceeding, familiarize yourself with the Do's and Don'ts. Once you're aware, click on Start to begin.
5 Once you have taken the pictures, click on Submit.
6 The verification process will be completed only if the provided data is valid.
If "force onboarding" is enabled in the API request, all users, regardless of status, will be directed to the onboarding flow first, followed by the verification flow if configured.
7 The response can differ depending on the chosen Verification Way and Notification Way configurations. To know more, see here.
8 Here is a sample response for Liveness Verification:
{
"request_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx",
"workflow": "verification",
"user_id": "mark@gmail.com",
"liveness_completed": "true/false",
"liveness-fingercount-verified": "true/false",
"liveness-speech-verified": "true/false",
"liveness_video": "https://minio-api.eztovrfy.com/xx-xx-xx",
"liveness-blink-verified": "true/false",
"photo_url": "https://minio-api.eztovrfy.com/xx-xx-xx",
"liveness-movement-verified": "true/false"
}