image for site

Anatomy of a JWT Request - Frequently asked questions

Explore common questions about JWT requests, including structure, usage, and troubleshooting. Find answers to enhance your understanding of JSON Web Tokens.

Frequently asked questions

What is a JSON Web Token (JWT) and how is it used in Zendesk SSO?

A JSON Web Token (JWT) is a technology used for single sign-on (SSO) authentication in Zendesk. It allows Zendesk to trust login requests from your systems. JWTs are not placed directly in URLs due to security concerns. Instead, they are generated…

How is a JWT structured in Zendesk SSO?

A JWT in Zendesk SSO consists of three parts: the header, payload, and signature. The header indicates the type of token and hashing algorithm used. The payload, or claims set, contains user information like name, email, and other optional data….

What information is included in the JWT payload for Zendesk SSO?

The JWT payload, also known as the claims set, includes various pieces of information such as the issued at timestamp (iat), JSON Token ID (jti), user's name, email, and optional fields like external ID, organization, tags, remote photo URL, and…

How does the JWT signature ensure security in Zendesk SSO?

The JWT signature is a crucial part of ensuring security in Zendesk SSO. It is generated by encrypting the header and payload with a shared secret using the HMAC-SHA256 algorithm. This signature allows Zendesk to verify that the token has not been…

What is the role of the 'iat' and 'jti' fields in a JWT for Zendesk SSO?

In a JWT for Zendesk SSO, the 'iat' (issued at) field is a timestamp indicating when the token was created, ensuring it is used within a valid timeframe. The 'jti' (JSON Token ID) is a unique, random string that prevents token reuse, adding an…

Can I use custom user fields in a JWT for Zendesk SSO?

Yes, you can include custom user fields in a JWT for Zendesk SSO. These fields must be defined in your Zendesk instance and passed as a JSON object. Ensure the values match the expected format for each field type, such as booleans for checkboxes…

How do I set a user's locale in Zendesk using a JWT?

To set a user's locale in Zendesk using a JWT, include the 'locale_id' in the payload. This ID must correspond to an activated locale in your Zendesk account. If the locale does not update as expected, ensure the ID is correct and matches an active…

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