dbalbo
dbalbo
WWasp-lang
Created by dbalbo on 9/10/2024 in #🙋questions
Issue with Keycloak Logout Not Terminating Session in Wasp 0.14 on WSL
thanks
10 replies
WWasp-lang
Created by dbalbo on 9/10/2024 in #🙋questions
Issue with Keycloak Logout Not Terminating Session in Wasp 0.14 on WSL
Thanks @miho. I’ve encountered an issue when trying to switch between two users on the same device/browser. Here’s the scenario: We have two users: user_1 and user_2. I open the "/login" page on my OpenSaaS site, click the "Keycloak" button, and log in with user_1. The login is successful, the session on Keycloak is created, and I'm logged into the OpenSaaS site. Next, user_1 logs out from OpenSaaS, and the login page is displayed. Now, I want to log in as user_2. When I click the "Keycloak" button again, instead of being prompted to log in as user_2, I’m immediately logged in as user_1 because the Keycloak session still exists. As a result, I’m unable to log in as user_2 without manually terminating the Keycloak session.
10 replies