image for site

Enable Authenticated Visitors in Zendesk Chat Widget

Learn how to enable authenticated visitors in Zendesk Chat using JWT tokens and a shared secret for enhanced security.

How do I enable authenticated visitors in the Zendesk Chat widget?

To enable authenticated visitors in the Zendesk Chat widget, you need to configure your widget using a new Javascript API and a JWT token.

This process involves generating a Chat shared secret and creating a JWT token. The shared secret is a security setting that should be generated and securely stored. Only Chat administrators can configure these settings. Once you have the shared secret, you can create a JWT token with specific payload data, including the customer's name, email, and a unique external ID. This token is then added to your Web Widget snippet to authenticate visitors. For more details, check theoriginal documentation.


More related questions

What are the benefits of using authenticated visitors in Zendesk Chat?

Using authenticated visitors in Zendesk Chat provides enhanced security and a seamless experience across devices and domains. With authentication, you can ensure that the visitor is who they claim to be, which increases security and trust. It also…

How do I generate a shared secret for visitor authentication in Zendesk Chat?

Generating a shared secret is a crucial step for setting up visitor authentication in Zendesk Chat. To generate a shared secret, navigate to your Chat dashboard, go to Settings > Widget, and click the Widget Security tab. In the Visitor…

How can I create a JWT token for Zendesk Chat authentication?

Creating a JWT token for Zendesk Chat involves constructing a server-side payload with specific visitor information. The payload should include the customer's name, email, a unique external ID, and timestamps for issued at (iat) and expiration…

What is the agent experience with authenticated visitors in Zendesk Chat?

Agents interacting with authenticated visitors in Zendesk Chat will notice a few key differences. Authenticated visitors are marked with a green checkmark on their avatar, indicating their verified status. Agents cannot edit the visitor's name or…

How does the widget experience change for authenticated visitors in Zendesk Chat?

Authenticated visitors in Zendesk Chat have a unique widget experience with certain restrictions and benefits. Their information is read-only and cannot be modified through the widget or APIs. Chat sessions are synced across devices, allowing…

Can I use the $zopim.livechat.clearAll() API in single-page applications?

Using the $zopim.livechat.clearAll() API in single-page applications has limitations regarding re-authentication. Once this API is called, it logs out the user from the widget, and re-authentication requires a page reload. This is because the…

Interested indeflectingover 70% of your Zendesk support tickets?

Our AI customer support agent is here to help. Trained on all your help docs, installed directly into your Zendesk account, it can be used to automate customer replies for tickets or live chat. Learn more below.
Zendesk logo

Zendesk Support Tickets

Receive new tickets by email or a support form? This integration is for you.
My AskAI integrated within Zendesk to deflect support tickets
Learn about our Zendesk ticket integration
Zendesk logo

Zendesk Messaging (live chat)

Using Zendesk's Messaging widget on your site for live chat? This integration is for you.
My AskAI integrated within Zendesk to deflect customer support live chat conversations
Learn about our Zendesk Messaging integration

Join1,000+ companies reducing their support costs and freeing up support agents for more important work

Vestd company logo — Customer of My AskAI's AI customer support agents
Genesis company logo — Customer of My AskAI's AI customer support agents
Zinc company logo — Customer of My AskAI's AI customer support agents
Customer.io company logo — Customer of My AskAI's AI customer support agents
Zeffy company logo — Customer of My AskAI's AI customer support agents
NHS company logo — Customer of My AskAI's AI customer support agents
Kontakt.io company logo — Customer of My AskAI's AI customer support agents

Reduce support costs.Spend more time on customer success.

Our AI customer support agents are already used by 👇
Companies using AI assistants on their websites