Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
d_pranskus
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;
}
break;
default:
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.

Regards

Darius

 

 

0 Replies