<?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: Working with logout API in mashup in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Working-with-logout-API-in-mashup/m-p/1181179#M5864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Konrad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, it was indeed easier than I thought!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For future reference this is my JS code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var config = {&lt;/P&gt;&lt;P&gt;&amp;nbsp; host: window.location.hostname,&lt;/P&gt;&lt;P&gt;&amp;nbsp; prefix: prefix,&lt;/P&gt;&lt;P&gt;&amp;nbsp; port: window.location.port,&lt;/P&gt;&lt;P&gt;&amp;nbsp; isSecure: window.location.protocol === "https:"&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var logoutbutton = function() {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; $.ajax({&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; type: 'DELETE',&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; url: '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;' + config.host + config.prefix + 'qps/user'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this is my HTML code (logout &amp;amp; refresh page):&lt;/P&gt;&lt;P&gt;&amp;lt;a class="qcmd" onclick="logoutbutton();window.location.reload(true);"&amp;gt;Logout&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Sep 2016 13:02:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-09-28T13:02:47Z</dc:date>
    <item>
      <title>Working with logout API in mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Working-with-logout-API-in-mashup/m-p/1181175#M5860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a mashup with SAML authentication. Now I want to user to be able to logout via a button in the mashup. Could someone help me with the code I should use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found this page, but not sure how to use it exactly:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/3.1/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-ProxyServiceAPI-Logout-Delete-Session.htm" style="font-size: 10pt;" title="https://help.qlik.com/en-US/sense-developer/3.1/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-ProxyServiceAPI-Logout-Delete-Session.htm"&gt;https://help.qlik.com/en-US/sense-developer/3.1/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-ProxyServiceAPI-Logout-Delete-Session.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Sep 2016 15:18:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Working-with-logout-API-in-mashup/m-p/1181175#M5860</guid>
      <dc:creator />
      <dc:date>2016-09-24T15:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Working with logout API in mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Working-with-logout-API-in-mashup/m-p/1181176#M5861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeroen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="API_syntax_input"&gt;DELETE -&amp;gt; {virtual proxy}&lt;SPAN class="API_syntax_input"&gt;/qps/&lt;/SPAN&gt;user&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="API_syntax_input"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="API_syntax_input"&gt;You have to change the order it is at the moment wrong documented:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="API_syntax_input"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="API_syntax_input"&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/3.1/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-ProxyServiceAPI-Authentication-User-Delete.htm" title="https://help.qlik.com/en-US/sense-developer/3.1/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-ProxyServiceAPI-Authentication-User-Delete.htm"&gt;https://help.qlik.com/en-US/sense-developer/3.1/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-ProxyServiceAPI-Authentication-User-Delete.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="API_syntax_input"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="API_syntax_input"&gt;bye Konrad&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 14:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Working-with-logout-API-in-mashup/m-p/1181176#M5861</guid>
      <dc:creator>konrad_mattheis</dc:creator>
      <dc:date>2016-09-26T14:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Working with logout API in mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Working-with-logout-API-in-mashup/m-p/1181177#M5862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Konrad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am afraid I am unfamiliar with using QPS API. How would I call this DELETE method using JavaScript? I tried the following but it gives an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var logoutbutton = function() {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; $.ajax({&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; type: 'DELETE',&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; url: '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server&amp;gt;/&amp;lt;virtual directory&amp;gt;/qps/user?Xrfkey=0123456789abcdef',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; headers: {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'X-Qlik-Xrfkey':'0123456789abcdef',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Content-Type':'application/json'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 17:09:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Working-with-logout-API-in-mashup/m-p/1181177#M5862</guid>
      <dc:creator />
      <dc:date>2016-09-26T17:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Working with logout API in mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Working-with-logout-API-in-mashup/m-p/1181178#M5863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeroen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please send it without Xrfkkey in URL and add no headers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye Konrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 11:53:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Working-with-logout-API-in-mashup/m-p/1181178#M5863</guid>
      <dc:creator>konrad_mattheis</dc:creator>
      <dc:date>2016-09-28T11:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Working with logout API in mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Working-with-logout-API-in-mashup/m-p/1181179#M5864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Konrad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, it was indeed easier than I thought!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For future reference this is my JS code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var config = {&lt;/P&gt;&lt;P&gt;&amp;nbsp; host: window.location.hostname,&lt;/P&gt;&lt;P&gt;&amp;nbsp; prefix: prefix,&lt;/P&gt;&lt;P&gt;&amp;nbsp; port: window.location.port,&lt;/P&gt;&lt;P&gt;&amp;nbsp; isSecure: window.location.protocol === "https:"&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var logoutbutton = function() {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; $.ajax({&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; type: 'DELETE',&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; url: '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;' + config.host + config.prefix + 'qps/user'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this is my HTML code (logout &amp;amp; refresh page):&lt;/P&gt;&lt;P&gt;&amp;lt;a class="qcmd" onclick="logoutbutton();window.location.reload(true);"&amp;gt;Logout&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 13:02:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Working-with-logout-API-in-mashup/m-p/1181179#M5864</guid>
      <dc:creator />
      <dc:date>2016-09-28T13:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Working with logout API in mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Working-with-logout-API-in-mashup/m-p/1864782#M15958</link>
      <description>&lt;P&gt;Hi Konrad &amp;amp; Jeroen,&lt;/P&gt;
&lt;P&gt;By this code we are able to logout from Qlik not from mashup. right? If we want to logout from mashup then what all changes we need to do?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 09:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Working-with-logout-API-in-mashup/m-p/1864782#M15958</guid>
      <dc:creator>S427</dc:creator>
      <dc:date>2021-11-30T09:16:54Z</dc:date>
    </item>
  </channel>
</rss>

