<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Update authenticated user at re-login in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Update-authenticated-user-at-re-login/m-p/711564#M31083</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I am still waiting for a reply&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to this post.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2022 11:23:14 GMT</pubDate>
    <dc:creator>GC5</dc:creator>
    <dc:date>2022-10-28T11:23:14Z</dc:date>
    <item>
      <title>Update authenticated user at re-login</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Update-authenticated-user-at-re-login/m-p/709861#M31023</link>
      <description>&lt;P&gt;Hi everyone, i am trying to integrate hubspot chat with javascript code, and i am having a problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Theese are may steps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. loading the chat with the method:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;window.HubSpotConversations.widget.load() &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Passing email and token of the authenticated user in the settings:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;window.hsConversationsSettings = {
loadImmediately: false,
identification Email: myEmail,
identificationToken: myToken,
};&lt;/LI-CODE&gt;&lt;P&gt;3. After a conversation, when the user logout I perform these cleaning operations:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;window.HubSpotConversations.clear();
window.HubSpotConversations.widget.remove();&lt;/LI-CODE&gt;&lt;P&gt;4. Now, if another user with different email and token login,&amp;nbsp;the previous conversation remains and when the message is sent I find the previous user in the inbox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I doing something wrong? how can I solve this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;GC5&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 11:18:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Update-authenticated-user-at-re-login/m-p/709861#M31023</guid>
      <dc:creator>GC5</dc:creator>
      <dc:date>2022-10-25T11:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Update authenticated user at re-login</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Update-authenticated-user-at-re-login/m-p/710972#M31059</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/460315"&gt;@GC5&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to the Community!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wanted to invite our subject matter experts to see if they have insight.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/257487"&gt;@LMeert&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259"&gt;@Mike_Eastwood&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/20405"&gt;@himanshurauthan&lt;/a&gt;&amp;nbsp;- Have y&lt;SPAN&gt;ou integrated javascript with HubSpot chat like&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/460315"&gt;@GC5&lt;/a&gt;&amp;nbsp;is describing?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Kristen&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 11:18:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Update-authenticated-user-at-re-login/m-p/710972#M31059</guid>
      <dc:creator>kvlschaefer</dc:creator>
      <dc:date>2022-10-27T11:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Update authenticated user at re-login</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Update-authenticated-user-at-re-login/m-p/711564#M31083</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am still waiting for a reply&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to this post.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 11:23:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Update-authenticated-user-at-re-login/m-p/711564#M31083</guid>
      <dc:creator>GC5</dc:creator>
      <dc:date>2022-10-28T11:23:14Z</dc:date>
    </item>
  </channel>
</rss>

