Qlik Community

Integration, Extension & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Now Live: Qlik Sense SaaS Simplified Authoring – Analytics Creation for Everyone: READ DETAILS
Showing results for 
Search instead for 
Did you mean: 
Partner - Creator III
Partner - Creator III

Logging Out from Qliksense using Enigma in Browser

Hi Experts

I am creating a front end (browser) application using  vue.js and enigma.js.

I connect to QlikSense server using enigma configuration and then authenticate by redirecting to QlikSense login page and back to my app. I do this with session notification event

session.on('notification:*', (event, data) => {

console.log(event, data);
switch (event) {
case 'OnAuthenticationInformation':
if (data.mustAuthenticate) {
window.location.href = data.loginUri;
console.log(event, data);

I store logoutUri value, which value is like wss://[server]/qps/user

Everything works fine and I can retrieve data using list or hyper cube objects.

What I can't find is how to log out from the session. Even if I close the enigma session it still logs me in automatically when I refresh the browser.

I found that there is QPS API I can use to delete (log out) the user. I tried to send a DELETE request to https://[server]/qps/user (with body and without), but still session remains.

Delete user

Have my research done, but still unable

Please help

Thank you.





0 Replies