Turn it on
- Open Widgets, select your widget, and open the Security tab.
- Under Identity verification, turn on Verify customers.
- Pick a Method:
- Fill in the method’s settings, below.
- Copy the Embed snippet again and replace the one on your site. The snippet changes with the method, and the old one won’t pass a token.
Zendesk Help Center
Enter your Help Center subdomain, theacme in acme.zendesk.com. The snippet fetches the signed-in user’s token from your Help Center, so there’s no backend work.
Auth0
Enter your Auth0 domain, likeacme.us.auth0.com, and the Client ID of the Auth0 application your site signs in with. The snippet reads the user’s ID token from the Auth0 SPA SDK, so auth0 in it must be your createAuth0Client instance.
Custom OIDC
- Issuer: must match the
issclaim in your ID tokens exactly, likehttps://login.example.com. - Audience: the
audclaim, which is the OAuth client ID for most providers. - Email claim: leave blank if the email is in
email. - JWKS URL: leave blank and Decimal finds it from the issuer.
getIdToken() with your provider SDK’s call that returns the signed-in user’s ID token.
Shared secret
Decimal generates a Signing secret when you pick this method. Your backend signs a JWT with it for the signed-in user, and the widget passes that token toDecimal.boot().
Keep the signing secret on your server. Regenerate invalidates every token signed with the old one, so update your backend at the same time.
Embed code
The snippet waits for your token before it boots:data-disable-autobootprevents the widget from loading until a token is provided.Decimal.boot({ user_token })initializes the widget with the signed JWT.
metadata to Decimal.boot(), or update it later with Decimal.update(). Whatever it holds travels with the ticket when a conversation escalates to a human. Metadata is set in the visitor’s browser and isn’t verified, so put anything your team relies on, like an account ID or plan, in signed claims instead.
Sign the token
On your backend:Claims
Any other claim you add is stored and lands in the escalation ticket’s metadata, which is how account IDs or plan types reach your support team. What the ticket does with them depends on the integration handling the escalation.
Let customers start anonymously
This feature is enabled per workspace. Email us to turn it on.
With Zendesk Help Center or Auth0, customers can start a conversation without signing in and log in from the widget when they need to. Turn on Allow anonymous conversations under Identity verification, and Log in button to show it in the widget header. Auth0 also needs the Client secret from the same Auth0 application.