Face Authentication
Table of Contents
Create a new session
To start the Web Face Authentication session, the user must receive a link idv.ondato.com/?id=IDV_session_id (custom domain and subdomain can be used if it is configured for the application).
For the Mobile and Web SDKs, only the IDV session ID (without URL) is necessary as the parameter to initiate the user session.
In order to get a IDV_session_id you must call IDV API → POST /v1/identity-verifications
endpoint.
setupId
refers to face authentication flow setupidentityVerificationId
refers to IDV session of KYC identification.
Requirements for eligible IDV sessions
KYC status must be approved
KYC must be passed with active liveness
IDV session must belong to the same application
IDV session data must not be deleted
Check session results
To check the outcome of the user's Face Authentication session (once an application callback, URL redirect with IDV session ID, or webhook is received), follow these steps:
Call IDV API → GET /v1/identity-verifications/{id}
endpoint with the IDV_session_id that was generated for the user’s session to get a reference to faceAuthentication
resource.
From the previous response, take the id
of faceAuthentication
to call https://ondato.atlassian.net/wiki/spaces/PUB/pages/2566717463 → GET /v1/face-authentications/{id}
.
The status
property indicates the user’s authentication result.
Flows