<?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 API context in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Re-Mashup-API-context/m-p/844080#M2849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;A href="https://community.qlik.com/qlik-users/5070"&gt;ewg&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are currently using Qlik Sense 1.1 and perhaps something have changed since version 1.0 but we are running into following issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to pull Qlik Sense objects from our remote web site using Mashup API but are getting the following 403 error when opening an app:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="88624" alt="qlik_error_response.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88624_qlik_error_response.PNG" style="height: 230px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;From what I understand CORS has nothing to do with it since websockets are not restrained by the same origin policy. and also other files like qlik.js, client.js were loaded without any problems. So it must be the Qlik Sense server that enforces the origin policy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the question is: is there a way to allow origin on the server, so the handshake is carried successfully?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jun 2015 10:48:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-08T10:48:04Z</dc:date>
    <item>
      <title>Re: Mashup API context</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Re-Mashup-API-context/m-p/844080#M2849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;A href="https://community.qlik.com/qlik-users/5070"&gt;ewg&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are currently using Qlik Sense 1.1 and perhaps something have changed since version 1.0 but we are running into following issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to pull Qlik Sense objects from our remote web site using Mashup API but are getting the following 403 error when opening an app:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="88624" alt="qlik_error_response.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88624_qlik_error_response.PNG" style="height: 230px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;From what I understand CORS has nothing to do with it since websockets are not restrained by the same origin policy. and also other files like qlik.js, client.js were loaded without any problems. So it must be the Qlik Sense server that enforces the origin policy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the question is: is there a way to allow origin on the server, so the handshake is carried successfully?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 10:48:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Re-Mashup-API-context/m-p/844080#M2849</guid>
      <dc:creator />
      <dc:date>2015-06-08T10:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup API context</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Re-Mashup-API-context/m-p/844081#M2850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rustam,&lt;/P&gt;&lt;P&gt;from the screenshot it looks like you are using ws:, should probably be wss:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out the config object, usually in the beginning of the javascript file:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14337628759467570" jivemacro_uid="_14337628759467570" modifiedtitle="true"&gt;
&lt;P&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;var &lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; font-weight: bold; font-style: italic;"&gt;config &lt;/SPAN&gt;= {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;host&lt;/SPAN&gt;: &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;window&lt;/SPAN&gt;.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;location&lt;/SPAN&gt;.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;hostname&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;prefix&lt;/SPAN&gt;: &lt;SPAN style="color: #660e7a; font-weight: bold; font-style: italic;"&gt;prefix&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;port&lt;/SPAN&gt;: &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;window&lt;/SPAN&gt;.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;location&lt;/SPAN&gt;.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;port&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;isSecure&lt;/SPAN&gt;: &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;window&lt;/SPAN&gt;.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;location&lt;/SPAN&gt;.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;protocol &lt;/SPAN&gt;=== &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"https:"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;};&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;Try setting isSecure to true. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 11:29:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Re-Mashup-API-context/m-p/844081#M2850</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2015-06-08T11:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup API context</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Re-Mashup-API-context/m-p/844082#M2851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer, Erik!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same error unfortunately&lt;IMG alt="qlik_error_response.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88661_qlik_error_response.PNG" style="height: 357px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I've also tried adding client host to the websocket origin white list with no success either...&lt;/P&gt;&lt;P&gt;&lt;IMG alt="web_socket_white_list.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/88662_web_socket_white_list.PNG" style="height: 157px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 11:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Re-Mashup-API-context/m-p/844082#M2851</guid>
      <dc:creator />
      <dc:date>2015-06-08T11:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup API context</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Re-Mashup-API-context/m-p/844083#M2852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try just allowing rustam-pc.cl.local alternatively you could add localhost to your white list and try browsing your website from localhost:3000 and see if it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Also it looks like you are running a virtual proxy so make sure you are setting the whitelist for the correct proxy.&lt;BR /&gt;Btw it looks like you are getting dual session cookies also, are you sure that you are setting the correct prefix?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 14:22:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Re-Mashup-API-context/m-p/844083#M2852</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-06-08T14:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup API context</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Re-Mashup-API-context/m-p/844084#M2853</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;P&gt;Allowing domain without port number did the job.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 14:41:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Re-Mashup-API-context/m-p/844084#M2853</guid>
      <dc:creator />
      <dc:date>2015-06-08T14:41:44Z</dc:date>
    </item>
  </channel>
</rss>

