-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Description
I'm using OAuth 2 for authentication:
auth.setDefaultHostConfig({
authType: "oauth2",
host: "tenant.us.qlikcloud.com",
clientId: "clientID",
});
getMyUser();
When I call the logout method (for example, from a button) using:
import { logout } from "@qlik/api/auth";
it redirects to my custom logout page, which is not protected and doesn’t require authentication.
However, the user is not actually logged out — if I navigate back or redirect to the main app page, it automatically logs in again.
✅ Expected Behavior
The user session should be fully terminated, requiring a new login when returning to the app.
❌ Actual Behavior
The session remains active, and the user is automatically logged in again when revisiting the app.
🤔 Question
Is this the expected behavior?