Enable identity verification

Enable identity verification

Last update: ศุกร์, ต.ค. 20, 2017

Identity Verification helps ensure that your users are who they claim to be. This prevents third parties from seeing your users’ conversations or impersonating another user. We strongly encourage all Xeno customers with registered users to set up and enable Identity Verification.


To set up Identity Verification with Basic JavaScript, you’ll need to generate an HMAC on your server.

Everywhere you load user data (_xeno.identify) and have a _xeno.init code snippet, add a new attribute called user_hash and assign your HMAC code to it. This HMAC should be generated using your user_token and your widget secret key (that you can find at the bottom of the  "Integrations" page of your Xeno admin panel). Here is an example in PHP:




To verify your Identity Verification setup, log in to your website or app as a user and refresh any page with the Messenger installed.

Once you ship your changes to production, Xeno will not accept any requests for a logged-in user without a valid user hash.

 

Javascript API

12 article in this category.