<?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 Connecting to the Engine multiple times (without certificates) in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-the-Engine-multiple-times-without-certificates/m-p/124069#M1744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have some questions regarding the user authentication. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Node.js &lt;SPAN style="font-size: 13.3333px;"&gt;(with &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;enigma.js&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;) &lt;/SPAN&gt;script that at the end should export the load script from app(s) and store the script locally (probably a lot more stuff will be added but script is a good start). The process of getting the scripts and storing them is ok. My problem is the authentication. Since i want to distribute the script among my colleagues i &lt;STRONG&gt;dont want to connect to QS using certificates&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i was thinking of using tickets. The plan &lt;SPAN style="font-size: 13.3333px;"&gt;was to open a session &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and if the session return &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;OnAuthenticationInformation&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; notification to spin a web server, redirect the user to the &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;loginUri&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; and when authenticated to return the ticket to the temp web server. This approach should work but the script can/should/will be executed multiple times a day and getting ticket every time is probably not the "user friendly" way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Was checking the session module api but all the implementation/examples, that i have found, are using certificates. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other options for certificate-less long lived sessions? &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Much appreciated for your help in advance (this is vicious circle is starting to make me crazy &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Nov 2018 14:46:41 GMT</pubDate>
    <dc:creator>countnazgul</dc:creator>
    <dc:date>2018-11-09T14:46:41Z</dc:date>
    <item>
      <title>Connecting to the Engine multiple times (without certificates)</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-the-Engine-multiple-times-without-certificates/m-p/124069#M1744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have some questions regarding the user authentication. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Node.js &lt;SPAN style="font-size: 13.3333px;"&gt;(with &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;enigma.js&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;) &lt;/SPAN&gt;script that at the end should export the load script from app(s) and store the script locally (probably a lot more stuff will be added but script is a good start). The process of getting the scripts and storing them is ok. My problem is the authentication. Since i want to distribute the script among my colleagues i &lt;STRONG&gt;dont want to connect to QS using certificates&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i was thinking of using tickets. The plan &lt;SPAN style="font-size: 13.3333px;"&gt;was to open a session &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and if the session return &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;OnAuthenticationInformation&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; notification to spin a web server, redirect the user to the &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;loginUri&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; and when authenticated to return the ticket to the temp web server. This approach should work but the script can/should/will be executed multiple times a day and getting ticket every time is probably not the "user friendly" way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Was checking the session module api but all the implementation/examples, that i have found, are using certificates. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other options for certificate-less long lived sessions? &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Much appreciated for your help in advance (this is vicious circle is starting to make me crazy &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 14:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-the-Engine-multiple-times-without-certificates/m-p/124069#M1744</guid>
      <dc:creator>countnazgul</dc:creator>
      <dc:date>2018-11-09T14:46:41Z</dc:date>
    </item>
  </channel>
</rss>

