We have been integrating Front Chat into our app, and the experience has been great so far. However, we are facing a challenge with supporting multiple logins on the same machine.
Expected Behavior:
• When a user logs in, they should see the continuation of their own previous chat (if available).
• If a different user logs in, they should only see their own chat history (or start a new conversation if no prior chat exists).
Current Issue:
Right now, when a new user logs in on the same machine, they see the chat history of the first logged-in user, which we want to avoid.
We attempted using the shutdown() method from the Front Chat SDK to clear the chat on logout, but this also removes the previous chat history, preventing the original user from retrieving their past conversations when they log back in.
can someone help me out on this matter?
You’re looking for the shutdown and clear session option on logout to both shut down the chat widget and clear the chat session.
thank you for the reply! Yes I have tried the shutdown and clear session in the chat widget which would clear the data but when the first user logs in they wouldn’t see the previous chat on logging in which is what we are trying to avoid. We are looking for the feature where the user would see his previous chats on logging in. Do you guys support this feature?
Hi there! Cat here from the Front support team
This isn’t currently possible, I’m sorry, but there is an open idea in our Product Ideas Portal to which you can add a comment and vote: https://front.ideas.aha.io/ideas/PRD-I-6298
Cheers,
Cat
Reply
Login to the community
No account yet? Create an account
Use your Front credentials
Log in with FrontEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.