Skip to content

JWT identity verification

Optional JWT verification lets your site pass a signed JSON Web Token to the widget so Chatevo knows the visitor’s identity — user ID, email, plan tier — without the visitor re-authenticating in chat.

Enable JWTSkip JWT
Logged-in portal or appPublic marketing site only
Personalized tool calls (account lookup)Anonymous FAQ
Audit trail tied to user ID
  1. Generate a signing secret in Deployments → widget → JWT verification (or use your IdP).
  2. Your backend issues a JWT for logged-in users.
  3. Pass the token when initializing the widget (see JWT embed security).
  4. Chatevo validates signature, expiry, and claims before accepting messages.
ClaimPurpose
subStable user ID for logs and tools
emailDisplay or CRM context
expExpiry — short-lived tokens recommended
CustomPlan, tenant, locale for tool params

Secrets and verification keys are never exposed to the browser beyond the short-lived visitor token you issue.

Tools can map JWT claims to path/query/body params via server-side context — the model does not receive the raw JWT secret.

IssueCheck
Chat works anonymously but not logged-inToken passed to widget init; clock skew on exp
401 on widget APIWrong signing secret between your server and Chatevo