Recent searches


No recent searches

Setting up user authentication for messaging



image avatar

Aimee Spanier

Zendesk Documentation Team

Edited Mar 19, 2025


3

160

167 comments


window.zE('messenger', 'loginUser', function (callback) {

callback(token);

})
 
when a user clicks to open the chat for the first time, it creates a ticket for them even when no message was sent on their end. why is this? 

0


Hi 1263082263949,

this means that using JWT to authenticate the messaging Widget, if the user doesn't exists in Zendesk, it is created with email address? Now the email information isn't valued in the created user, according with the current "Email addresses in Agent Workspace" limitation.

Thanks,
Sandro

 

0


Hi 5946128918682,

Thanks for that information, that's helpful. I checked internally, and we're currently targeting January for this update of displayed verified email address in Agent Workspace once the end user is authenticated.

3


Hi 1263082297649

We are a major retailer from Japan and a newcomer to Zendesk community. Like others, we're also stuck with this limitation on surfacing e-mail address from JWS-authentication. We've been doing PoCs on Zendesk services for a while and this limitation has become a key factor for our decision on adoption of Zendesk. 

Regarding your last post that the fix will likely to be on November and as it's now December, so may I ask how it's going with this enhancement support? Any update or outlook would be truly appreciated. 

Due to the nature of our business, it is not secured and not efficient to create user profiles in advance on Zendesk for all of our customers, so the workaround which matches user external ID is not realistic for us. The workaround where agents have to merge users for every single request is also not practical at all. Thanks in advance for your response. 

15


Hi Jean -

At the moment, the Single Sign-On (feature) works separately and does not influence end-user authentication in the Web Widget.  We appreciate the feedback here so that our Product Managers can review it and consider for future implementation. 

Thanks!

0


1266427260429 We are seeing something similar. We haven't seen any tickets closed by merge, but we have seen tickets mysteriously merged without manual intervention, and examples where our conversation bot fires mid-chat as well, and ZD support has said this is due to merging happening in the background. Have you gotten any additional clarity on this? 

0


We have multiple examples where this occurs without the action of logging in or out. Some other action is randomly causing the ticket to be closed by merge. It's frustrating for agents and end users who lose the connection mid-conversation without any explanation. I've had a long back and forth with Zendesk support, which has not completely solved the problem, as we can't recreate the scenario. It's, as I said, random, leading me to believe it's buggy. Is there any way we can disable this? 

0


I have the same question as Jean-Philippe. We use our platform for an internal employee HR support service and we use SSO through Okta. The user will already be signed in, but messaging does not recognize this which creates a new user account for them. When a user has a question that cannot be solved within a conversation or needs to go back to see the conversation, they cannot view it because it is going to their SSO user profile. We try our best to merge the customer profiles created by messaging but if the user comes back and uses messaging, it again creates a new account. A lot of added steps that are needed to do this. 

0


Hello, I would like to know if we can enable end users authentification for Messaging when users are already logged-in using Single Sign-On (SSO).

The aim is to have 'articles suggestion' made by bot work for non-public articles (Articles having visibility set to Sign-in or base on User-segments). This doesn't seems to be possible for now.

3


Hi everyone,

We appreciate your feedback on this topic and would love to hear more directly from you live. Please join us on Wednesday, September 20, 2023, at 11 AM CDT, for our PM Roundtable on Messaging End-user Experience. It’ll be an open discussion on what is and isn’t working for you in this focus area of Zendesk. So please bring those questions, concerns and feedback because we want to hear from you! The link to register can be found here, we’d love to see you all there.

Best regards,

Onur

2


Sign in to leave a comment.