Verify your visitors' identity
If your customers sign in to your site, you can tell the messenger who they are. Rilo then knows their name and email, and can look up their orders or account when you connect an integration.
- In Settings › Messenger, open identity verification and create a secret. It is shown once; store it on your server.
- On your server, sign a short token for the signed-in user with that secret (HS256, valid for at most 10 minutes, with your messenger id as the audience).
- Pass the token to the messenger before the install code.
Never put the secret in your page's code. Anyone who has it can pretend to be any of your customers. If it leaks, create a new one; the old one stops working at once.