<?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: Mashup/Capability API without a redirect for authentication? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969147#M3601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just if it helps anyone - the dark_noise picture moved location &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;/resources/img/core/dark_noise_16x16.png&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2017 17:04:27 GMT</pubDate>
    <dc:creator>alexbjorlig</dc:creator>
    <dc:date>2017-01-24T17:04:27Z</dc:date>
    <item>
      <title>Mashup/Capability API without a redirect for authentication?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969138#M3592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All of the examples of the mashup/capability API in node.js that I've seen use the qlik-auth module.&amp;nbsp; The drawback of the qlik-auth module is that it relies on redirection through the proxy to obtain a ticket.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to do is obtain a ticket via ajax, and defer loading the qlik client until the ticket is returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There doesn't, however, seem to be an API in the client to pass in the ticket and/or session and the qlik client assumes that a valid cookie is set when loaded, otherwise it redirects to the authentication URL in the virtual proxy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can the qlik js client be loaded without needing to be redirected to the authentication url by using the QPS session API to first obtain a ticket?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 13:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969138#M3592</guid>
      <dc:creator />
      <dc:date>2015-09-30T13:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup/Capability API without a redirect for authentication?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969139#M3593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sense-demo.qlik.com" rel="nofollow"&gt;http://sense-demo.qlik.com&lt;/A&gt;&lt;SPAN&gt; site does exactly that. We fetch a ticket in the background, then we consume said ticket by just issuing a GET against a resource behind the proxy with the ticket attached to it. Once the ticket has been consumed and the session cookie is present in the client you can just inject the qlik.js script into the head or manually bootstrap our API onto the page.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process&lt;/P&gt;&lt;P&gt;1. Browser requests ticket from server component.&lt;/P&gt;&lt;P&gt;2. Server component issues ticket to user/browser&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Browser consumes ticket by requesting &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;your QS server&amp;gt;/resources/img/dark_noise_16x16.png?qlikTicket=&amp;lt;yourticket&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;4. QS Server returns the image and a Set Cookie header.&lt;/P&gt;&lt;P&gt;5. Discard the image and just load the qlik.js API&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 16:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969139#M3593</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-09-30T16:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup/Capability API without a redirect for authentication?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969140#M3594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Alexander!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Once the ticket has been consumed and the session cookie is present in the client you can just inject the qlik.js script into the head or manually bootstrap our API onto the page.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a follow-up question regarding this.&amp;nbsp; The &lt;A href="http://branch.qlik.com/projects/showthread.php?437-nodejs-qliksense"&gt;node.js mashup example&lt;/A&gt; uses a third approach, which is to load the master require.js (full html &lt;A href="https://github.com/switchnick/nodejs-qliksense/blob/master/public/index.html"&gt;here&lt;/A&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pl-s1"&gt;&amp;lt;&lt;SPAN class="pl-ent"&gt;script&lt;/SPAN&gt; &lt;SPAN class="pl-e"&gt;src&lt;/SPAN&gt;=&lt;SPAN class="pl-s"&gt;&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;hostname&amp;gt;:&amp;lt;hostport&amp;gt;/resources/assets/external/requirejs/require.js&lt;/SPAN&gt;&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;&amp;lt;/&lt;SPAN class="pl-ent"&gt;script&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's the difference between loading this require.js file (which is different stock require.js) and directly loading the qlik.js file?&amp;nbsp; Also, can you give an example of manually bootstrapping the API?&amp;nbsp; I'm not quite sure what you mean by that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 17:52:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969140#M3594</guid>
      <dc:creator />
      <dc:date>2015-09-30T17:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup/Capability API without a redirect for authentication?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969141#M3595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alexander, could you clarify how exactly "1. Browser requests ticket from server component." is achieved?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 17:38:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969141#M3595</guid>
      <dc:creator />
      <dc:date>2016-03-02T17:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup/Capability API without a redirect for authentication?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969142#M3596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This sounds like exactly what I need to do as I need to authenticate (get session for a user) via client side ajax...care to elaborate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 09:34:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969142#M3596</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-03T09:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup/Capability API without a redirect for authentication?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969143#M3597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can read more about the authentication API here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense-developer/2.1/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-ProxyServiceAPI-Authentication.htm?q=ticket" title="http://help.qlik.com/en-US/sense-developer/2.1/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-ProxyServiceAPI-Authentication.htm?q=ticket"&gt;Authentication API ‒ Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The service that is used to actually obtain a ticket is here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense-developer/2.1/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-ProxyServiceAPI-Authentication-Ticket-Add.htm" title="http://help.qlik.com/en-US/sense-developer/2.1/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-ProxyServiceAPI-Authentication-Ticket-Add.htm"&gt;Add ticket ‒ Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you were using normal authentication, then you wouldn't have to worry about getting a ticket since the app would do it on your behalf, but if you are using a proxy with an authentication module (as would be the case in most node.js examples), then the service you deploy (i.e. the node.js app) calls the ticket method in the QPS after using whatever authentication the application defines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 13:32:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969143#M3597</guid>
      <dc:creator />
      <dc:date>2016-03-03T13:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup/Capability API without a redirect for authentication?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969144#M3598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IMHO, the best place to start would be to work through one of the examples of a mashup application in node.js or the .net SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should give you a pretty good understanding of the architecture behind mashups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you've already gotten that far, then you'd have to give us more details on what else you'd like to know about the approach that Alexander laid out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 18:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969144#M3598</guid>
      <dc:creator />
      <dc:date>2016-03-03T18:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup/Capability API without a redirect for authentication?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969145#M3599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you are loading the requirejs file from behind the proxy a authentication check is performed.&lt;BR /&gt;So if you are not authenticated when the page tries to load requirejs it will trigger the authentication re-direct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 18:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969145#M3599</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2016-03-03T18:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup/Capability API without a redirect for authentication?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969146#M3600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You build a server component that is trusted by Qlik Sense by certificates.&lt;/P&gt;&lt;P&gt;Your server component is responsible for authenticating the user, if that is successful you request a ticket for the user and pass it along.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 18:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969146#M3600</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2016-03-03T18:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup/Capability API without a redirect for authentication?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969147#M3601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just if it helps anyone - the dark_noise picture moved location &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;/resources/img/core/dark_noise_16x16.png&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 17:04:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969147#M3601</guid>
      <dc:creator>alexbjorlig</dc:creator>
      <dc:date>2017-01-24T17:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup/Capability API without a redirect for authentication?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969148#M3602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a trouble related with this post issue:&lt;BR /&gt;I have server A and server B:&lt;BR /&gt;-Server A is the server where i've qlik sense server installed. (domain1)&lt;BR /&gt;-Server B is the server where I've have the code of QS mashup app. (domain2)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I want a Qlik ticket to authenticate app. To get this ticket I do a call to my API from the app of server B that return the string of the ticket. With this string I build an URL like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/https:" rel="nofollow" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;http://&lt;/A&gt;‌&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;lt;my QS server&amp;gt;/myproxy/resources/img/dark_noise_16x16.png?qlikTicket=&amp;lt;myticketstring&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;And put an iframe in my app to obtain the cookie to access to QlikSense.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The problem with this come when I want to import the libraryes that needs qlik to access to the app:&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;script&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;my QS server&amp;gt;/myproxy/resoyurces/assets/external/requirejs/require.js&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It seems the first access that app need to do is to import requirejs and in this moment I don't have access to the session cookie and windows autehnticate form pops up.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;To fix that &lt;SPAN style="font-size: 13.3333px;"&gt;I tried to do a landing page that load the iframe and then redirect to my app with which needs requirejs.&lt;BR /&gt;&lt;/SPAN&gt;The problem with that is landing page puts cookie into domain1 and I need to put it in the domain2 for my app can view it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to access to my app or to obtain the cookie before load requirejs or something similar?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 12:14:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/969148#M3602</guid>
      <dc:creator>eric_careta</dc:creator>
      <dc:date>2017-04-03T12:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup/Capability API without a redirect for authentication?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/1620072#M11219</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2623"&gt;@eric_careta&lt;/a&gt;&amp;nbsp; Hope you figured out solution for this, we got stuck in similar situation. Can you share the fix?&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 13:17:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/1620072#M11219</guid>
      <dc:creator>prabhu0505</dc:creator>
      <dc:date>2019-09-04T13:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup/Capability API without a redirect for authentication?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/1688711#M12559</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22913"&gt;@prabhu0505&lt;/a&gt;&amp;nbsp; Did you find any solution?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Mar 2020 12:02:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Capability-API-without-a-redirect-for-authentication/m-p/1688711#M12559</guid>
      <dc:creator>PriyankaM08</dc:creator>
      <dc:date>2020-03-28T12:02:34Z</dc:date>
    </item>
  </channel>
</rss>

