Recent searches


No recent searches

Messaging widget not logging user in with valid JWT?



Posted Feb 10, 2025

I have the messaging widget configured with the login callback that provides it with a JWT. The JWT is valid: I can see in the web console that the messaging widget makes a call to a `/login` route with that JWT and that route returns HTTP 200 with the correct details for the user that was described in the JWT.

 

However, even after all that happens, the messaging widget still goes through the “What is your name?” and “What is your email?” questionnaire as if the user did not have JWT authentication at all. The resulting ticket created by the messaging widget in Zendesk itself is one for a non-authenticated user.

 

Is there anything else I can double check to investigate this? From what I can tell I'm providing the right JWT to the chat widget and the chat was able to partially use it. I also opened a ticket to Zendesk support but it's been a week with no response.


0

1

1 comment

image avatar

Greg Katechis

Zendesk Developer Advocacy

Hi David!

 

It sounds like there may be a piece missing in the payload, with the usual culprit being a missing `email_verified` parameter. Take a look at this documentation to see all the steps and if you are doing everything there and still seeing this issue, let me know and I'll open a private ticket so that we can investigate this further.

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post