<?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: Comprehensive Questions on Using qlik-embed with Cookie Authentication in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Comprehensive-Questions-on-Using-qlik-embed-with-Cookie/m-p/2504861#M103856</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/245721"&gt;@amj&lt;/a&gt;&amp;nbsp;do you already have this bookmarked:&amp;nbsp;&lt;A href="https://qlik.dev/embed/foundational-knowledge/best-practice-auth/" target="_blank"&gt;https://qlik.dev/embed/foundational-knowledge/best-practice-auth/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2025 19:23:29 GMT</pubDate>
    <dc:creator>David_Friend</dc:creator>
    <dc:date>2025-02-06T19:23:29Z</dc:date>
    <item>
      <title>Comprehensive Questions on Using qlik-embed with Cookie Authentication</title>
      <link>https://community.qlik.com/t5/App-Development/Comprehensive-Questions-on-Using-qlik-embed-with-Cookie/m-p/2504860#M103855</link>
      <description>&lt;P data-pm-slice="1 1 []"&gt;&lt;SPAN&gt;Hello Qlik Community,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have been working on integrating qlik-embed into an Angular 17+ application that currently utilizes the Capabilities API (via require.js) to connect to a self-hosted Qlik Sense server. Our backend authenticates against Qlik Sense and returns an authentication cookie that the frontend uses. However, I am facing challenges in implementing qlik-embed within this setup and have several questions I hope the community can help clarify.&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL start="1" data-spread="true"&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Authentication Using Cookies:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL data-spread="false"&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;In our current setup, the backend handles authentication and passes an auth cookie to the frontend. With qlik-embed, I couldn't find clear documentation on how to proceed with this approach.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;The constructor for client-managed authentication was suggested (&lt;/SPAN&gt;&lt;A href="https://qlik.dev/embed/qlik-embed/authenticate/connect-qlik-embed/#connecting-to-qlik-sense-enterpri..." target="_blank"&gt;&lt;SPAN&gt;link&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;), but how does this work in scenarios where a backend handles authentication and not the frontend directly?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;We also use a proxy to manage HTTPS and WSS traffic, ensuring the Qlik Sense server remains private. Since qlik-embed requires &lt;/SPAN&gt;&lt;CODE&gt;&lt;SPAN&gt;data-host&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;CODE&gt;&lt;SPAN&gt;data-login-uri&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN&gt; to directly access the Qlik Sense server, is there a recommended way to further secure this setup?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Handling WebSocket Connections:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL data-spread="false"&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;In our current implementation with the Capabilities API, we manage WebSocket (WSS) connections manually, allowing us to open and close connections as needed, particularly useful when handling multiple apps in a mashup.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;With qlik-embed, how can we manage WebSocket connections efficiently? Is there an equivalent way to programmatically control when connections are opened and closed?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Event Handling in qlik-embed:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL data-spread="false"&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;Using the Capabilities API, we can handle events such as session timeouts. However, I couldn't find documentation on handling similar events with qlik-embed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;How can we catch session expiration, connection failures, or other relevant events when using qlik-embed?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;I appreciate any guidance or documentation that could help clarify these points. Thank you in advance for your support!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 19:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comprehensive-Questions-on-Using-qlik-embed-with-Cookie/m-p/2504860#M103855</guid>
      <dc:creator>amj</dc:creator>
      <dc:date>2025-02-06T19:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Comprehensive Questions on Using qlik-embed with Cookie Authentication</title>
      <link>https://community.qlik.com/t5/App-Development/Comprehensive-Questions-on-Using-qlik-embed-with-Cookie/m-p/2504861#M103856</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/245721"&gt;@amj&lt;/a&gt;&amp;nbsp;do you already have this bookmarked:&amp;nbsp;&lt;A href="https://qlik.dev/embed/foundational-knowledge/best-practice-auth/" target="_blank"&gt;https://qlik.dev/embed/foundational-knowledge/best-practice-auth/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 19:23:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comprehensive-Questions-on-Using-qlik-embed-with-Cookie/m-p/2504861#M103856</guid>
      <dc:creator>David_Friend</dc:creator>
      <dc:date>2025-02-06T19:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Comprehensive Questions on Using qlik-embed with Cookie Authentication</title>
      <link>https://community.qlik.com/t5/App-Development/Comprehensive-Questions-on-Using-qlik-embed-with-Cookie/m-p/2504862#M103857</link>
      <description>&lt;P&gt;also&amp;nbsp;&lt;A href="https://qlik.dev/embed/qlik-embed/authenticate/connect-qlik-embed/" target="_blank"&gt;https://qlik.dev/embed/qlik-embed/authenticate/connect-qlik-embed/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 19:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comprehensive-Questions-on-Using-qlik-embed-with-Cookie/m-p/2504862#M103857</guid>
      <dc:creator>David_Friend</dc:creator>
      <dc:date>2025-02-06T19:24:20Z</dc:date>
    </item>
  </channel>
</rss>

