Skip to main content

iFrame Integration

To use face authentication with an iFrame, insert the verification platform URL directly into your iFrame tag:
The token query string parameter is obtained after generating a token. After the process is finished, you may close the iFrame and display a desired page to your client. Example redirect URL: https://face.authentication.idenfy.com/?token=3FA5TFPA2ZE3LMPGGS1EGOJNJE

Code Example


Webhook

You can receive information when face authentication actions are performed by setting up a FACIAL_AUTHENTICATION notification type webhook.

Possible status Values

Possible failReason Values

Webhook Response Example (EXPIRED)


iFrame Console Status Values

Information about the face authentication statuses is available in the browser console on the data object.
To assess the face authentication session, evaluate the webhooks sent from the back-office. The statuses in the iFrame console are complementary.