<?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 Trouble Passing User cookie to CRM Card Iframe in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Trouble-Passing-User-cookie-to-CRM-Card-Iframe/m-p/419527#M41576</link>
    <description>&lt;P&gt;We have a button in our custom CRM Card that opens up a page in our actual system in an IFRAME. The problem that we are having is, even the user is logged into our system in the browser the IFRAME shows them not logged in. So I believe the user cookie is not passed to the IFRAME, it used to work when we first published our app but it suddenly stop working, c&lt;SPAN&gt;an anybody help us figure this out&lt;/SPAN&gt;?&lt;/P&gt;</description>
    <pubDate>Wed, 17 Mar 2021 16:18:46 GMT</pubDate>
    <dc:creator>okangul</dc:creator>
    <dc:date>2021-03-17T16:18:46Z</dc:date>
    <item>
      <title>Trouble Passing User cookie to CRM Card Iframe</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trouble-Passing-User-cookie-to-CRM-Card-Iframe/m-p/419527#M41576</link>
      <description>&lt;P&gt;We have a button in our custom CRM Card that opens up a page in our actual system in an IFRAME. The problem that we are having is, even the user is logged into our system in the browser the IFRAME shows them not logged in. So I believe the user cookie is not passed to the IFRAME, it used to work when we first published our app but it suddenly stop working, c&lt;SPAN&gt;an anybody help us figure this out&lt;/SPAN&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 16:18:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trouble-Passing-User-cookie-to-CRM-Card-Iframe/m-p/419527#M41576</guid>
      <dc:creator>okangul</dc:creator>
      <dc:date>2021-03-17T16:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble Passing User cookie to CRM Card Iframe</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trouble-Passing-User-cookie-to-CRM-Card-Iframe/m-p/419893#M41617</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/132709"&gt;@okangul&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you getting any error messages?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Adding a few people to the conversation.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/130838"&gt;@SamKreeke&lt;/a&gt; , &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/169127"&gt;@EkramulHuq&lt;/a&gt; , &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/151956"&gt;@Ali7&lt;/a&gt; , &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/129546"&gt;@hilton22&lt;/a&gt; , &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/152839"&gt;@catalinsendsms&lt;/a&gt;&amp;nbsp; can any of you offer some help &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 14:46:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trouble-Passing-User-cookie-to-CRM-Card-Iframe/m-p/419893#M41617</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-03-18T14:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble Passing User cookie to CRM Card Iframe</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trouble-Passing-User-cookie-to-CRM-Card-Iframe/m-p/419939#M41624</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. There isn't any specific error, the server just returns HTTP 401 because of the lack of user information even I am logged into the system with my admin account in the same browser.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-03-18 at 11.58.15 AM.png" style="width: 974px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/39646iF441DDF21FB2142C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-03-18 at 11.58.15 AM.png" alt="Screen Shot 2021-03-18 at 11.58.15 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 16:00:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trouble-Passing-User-cookie-to-CRM-Card-Iframe/m-p/419939#M41624</guid>
      <dc:creator>okangul</dc:creator>
      <dc:date>2021-03-18T16:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble Passing User cookie to CRM Card Iframe</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trouble-Passing-User-cookie-to-CRM-Card-Iframe/m-p/420002#M41638</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/132709"&gt;@okangul&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I understood correctly, the problem here is log you user in you app, once this user load the object page (contact, deal, ticket etc) containing the widget/CRM card, right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ok... I believe that you will have a problem working with hubspot cookies and iframes... those two thing doesn't work very well together... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My sugestion here for you, is work with the request that Hubspot make to your application. At the very moment that your CRM card is loaded on the Hubspot page, Hubspot send to your app a request (GET) to the endpoint that you provided, to load the card in the Hubspot page.&lt;/P&gt;
&lt;P&gt;Hubspot add some parameters in this endpoint of yours, like the ID and e-mail of the hubspot user that is trying to load the CRM card, for exemple.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe you can use this parameters to log your user in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;You can have more information in this documentation&amp;nbsp;&lt;A href="https://legacydocs.hubspot.com/docs/methods/crm-extensions/crm-extensions-overview" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&amp;nbsp;in the "Data fetch request " section.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;I hope I've helped.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 17:58:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trouble-Passing-User-cookie-to-CRM-Card-Iframe/m-p/420002#M41638</guid>
      <dc:creator>hilton22</dc:creator>
      <dc:date>2021-03-18T17:58:18Z</dc:date>
    </item>
  </channel>
</rss>

