<?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: Login screen for Mobile in a remote server mashup in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Login-screen-for-Mobile-in-a-remote-server-mashup/m-p/1196586#M6032</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric, did you manage to solve this issue? I have the same issue here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Dec 2016 15:55:15 GMT</pubDate>
    <dc:creator>fme-fspichal</dc:creator>
    <dc:date>2016-12-13T15:55:15Z</dc:date>
    <item>
      <title>Login screen for Mobile in a remote server mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Login-screen-for-Mobile-in-a-remote-server-mashup/m-p/1196585#M6031</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;BR /&gt;I'm working on a qliksense mashup in a remote server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I load the app objects on javascript file by API methods and I put it in my html file. The require.config is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14775530130296127 jive_text_macro" jivemacro_uid="_14775530130296127" modifiedtitle="true"&gt;
&lt;P&gt;var config = {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; host: "myIP",&lt;/P&gt;
&lt;P&gt;&amp;nbsp; prefix: "/",&lt;/P&gt;
&lt;P&gt;&amp;nbsp; port: "80",&lt;/P&gt;
&lt;P&gt;};&lt;/P&gt;
&lt;P&gt;require.config( {&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; baseUrl: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;"+ config.host + (config.port ? ":" + config.port: "") + config.prefix + "resources"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;} );&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;To pick the qlik js and css resources I'm conect to my Qliksense server &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14775531281608152" jivemacro_uid="_14775531281608152" modifiedtitle="true"&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserverurl:80/resources/autogenerated/qlikui.css" rel="nofollow" target="_blank"&gt;http://myserverurl:80/resources/autogenerated/qlikui.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserverurl:80/resources/assets/client/client.css" rel="nofollow" target="_blank"&gt;http://myserverurl:80/resources/assets/client/client.css&lt;/A&gt;&lt;SPAN&gt;" media="all"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserverurl:80/resources/assets/external/requirejs/require.js" rel="nofollow" target="_blank"&gt;http://myserverurl:80/resources/assets/external/requirejs/require.js&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script src="/js/index.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, I put the app objects in my html file. When I enter in my webpage(mashup) with a pc (google chrome,firefox,etc.). The windows login screen appears, I write my user and pass and the app objects are loaded.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When I try it with an IOS or Android device the objects don't show neither the login screen, only the other html elements.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As a rule, when I enter to the hub or a qliksense app the qlik login screen appears instead windows login screen.&lt;BR /&gt;I try to do the same mashup app in a qliksense server and when I enter to the URL &lt;A href="http://40.114.214.234/extensions/mashup/mashup.html" title="http://40.114.214.234/extensions/mashup/mashup.html"&gt;http://qliksenseserverURL/extensions/mashup/mashup.html &lt;/A&gt;‌with my mobile device the qliklogin screen appears but when I do with the remote server app with the settings I have told no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions that I'm forget?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 07:43:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Login-screen-for-Mobile-in-a-remote-server-mashup/m-p/1196585#M6031</guid>
      <dc:creator>eric_careta</dc:creator>
      <dc:date>2016-10-27T07:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Login screen for Mobile in a remote server mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Login-screen-for-Mobile-in-a-remote-server-mashup/m-p/1196586#M6032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric, did you manage to solve this issue? I have the same issue here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 15:55:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Login-screen-for-Mobile-in-a-remote-server-mashup/m-p/1196586#M6032</guid>
      <dc:creator>fme-fspichal</dc:creator>
      <dc:date>2016-12-13T15:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Login screen for Mobile in a remote server mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Login-screen-for-Mobile-in-a-remote-server-mashup/m-p/1196587#M6033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you are not authenticated the &amp;lt;script&amp;gt; tags loading resources from behind the proxy will fail.&lt;/P&gt;&lt;P&gt;The &amp;lt;script&amp;gt; tag can't redirect the entire page hence the script entry point fails to load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A quick and dirty fix to the problem is to upload a page as a extension similar to this: &lt;A href="https://github.com/qlik-oss/enigma.js/blob/master/examples/car-models/redirect.html" title="https://github.com/qlik-oss/enigma.js/blob/master/examples/car-models/redirect.html"&gt;enigma.js/redirect.html at master · qlik-oss/enigma.js · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So instead of accessing your page a user would navigate to the redirect dummy page behind the proxy, authentication kicks in and you are re-directed to your authentication module. After authentication you are re-directed to the dummy page which in turn re-directs you back to whatever external page you define.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2016 16:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Login-screen-for-Mobile-in-a-remote-server-mashup/m-p/1196587#M6033</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2016-12-15T16:28:27Z</dc:date>
    </item>
  </channel>
</rss>

