-
Notifications
You must be signed in to change notification settings - Fork 202
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I recently tried to integrate keycloak along with my local instance of karavan. The login works fine but there are two identified issues related to logout.
- When the logout button is clicked, the Main.tsx component starts to re-load before the keycloack session can terminate. Hence this presents the user again with the landing page
- When I terminate my session from keycloak admin, the user remains logged in until the tab is refreshed (Control + R).
Screencast.from.01-04-25.01.13.00.PM.IST.webm
Proposed solution:
- Adding await in
karavan-app/src/main/webui/src/api/SsoApi.tsx/logout. - Make a session status endpoint call at regular intervals.
Steps to reproduce the behavior
- Set-up keycloak.
- Add the necessary oidc related property placeholders inside
karavan/src/main/resources/application.properties - Build karavan using oidc profile
mvn clean package -f karavan-app -Dquarkus.profile=oidc
- Login and then try logging out.
Variant
Web Application
Container Management (if applicable)
None
Operating System (if applicable)
Linux
Version
4.10.2
Relevant log output
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working