Auth for Embedded Twins
For embedded chat experiences inside your existing site (e.g., WordPress, Kajabi, Squarespace, etc.):
- You must provide a cookie containing the user’s name and email, readable by the chat.
- To ensure cross-subdomain access, the cookie domain must include a leading dot, such as .example.com
- This allows
chat.example.comto access cookies set byexample.com.
Optional: Encrypted Cookies
For enhanced security:
- You may encrypt cookie contents (e.g., using HMAC-SHA256).
- If you do, please share with us:
- The encryption algorithm used
- The secret key required for decryption
This allows the chat to securely verify the user without exposing sensitive data.
Last updated on