I'm implementing the feature "Enabling authenticated visitors for messaging with Zendesk SDKs". However, I'm encountering an issue where the Zendesk Messaging Widget displays the conversation history of the first authenticated user, even after logging in with a different user. The widget does not reset or reflect the new user's session correctly.
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Thank you for sharing your experience with the Zendesk Messaging Widget. The behavior you're describing where the conversation history from a previous authenticated user persists is a known challenge related to session management.
To address this, it’s important to properly end the messaging session when a user logs out or switches accounts. This ensures that the widget resets and does not display the previous user's conversation history. You can find detailed guidance on how to manage and end messaging sessions here:
https://support.zendesk.com/hc/en-us/articles/8009788438042-About-ending-messaging-sessions
By following the steps outlined in that article, you should be able to clear the previous session data and have the widget correctly reflect the current authenticated user's session.
If you continue to experience issues after implementing those steps, feel free to provide more details, and the community will be happy to assist further.
Best regards!