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