Skip to main content
With identity verification on, the widget only starts a conversation for a customer you’ve signed in. The agent knows their email, escalated tickets land on the right customer, and they can come back to the same conversation.

Turn it on

  1. Open Widgets, select your widget, and open the Security tab.
  2. Under Identity verification, turn on Verify customers.
  3. Pick a Method:
  1. Fill in the method’s settings, below.
  2. 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.
A Configuration incomplete warning next to Method means a required field is still empty.

Zendesk Help Center

Enter your Help Center subdomain, the acme 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, like acme.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 iss claim in your ID tokens exactly, like https://login.example.com.
  • Audience: the aud claim, 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.
In the snippet, replace 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 to Decimal.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:
The key differences from the standard embed code:
  • data-disable-autoboot prevents the widget from loading until a token is provided.
  • Decimal.boot({ user_token }) initializes the widget with the signed JWT.
You can also pass 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.