Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logout not working with IDP 25.06 #686

Open
tom-rm-meyer-ISST opened this issue Nov 25, 2024 · 0 comments
Open

Logout not working with IDP 25.06 #686

tom-rm-meyer-ISST opened this issue Nov 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tom-rm-meyer-ISST
Copy link
Contributor

Description

Portal for 24.12 uses IDP version 25.06. We used keycloak-js in version 23.0.5. As this caused trouble during login flow, I updated the dependency to 25.0.6 to have a running PURIS with 24.12 setup.

Current behaviour

With IDP version 25.0.6 the logout is not working. For some reason the user's session is not removed. When triggering logout multiple times directly one after another, the user is redirected to an IDP screen asking if one wants to logout. After confirming the logout it works.

Didn't work with keycloak-js version 26.0.5 either.

Expected behavior

Logout works after one click.

Steps to reproduce the Bug

  1. start IDP as mentioned below
  2. configure your frontend (frontend/.env) with local deployment accordingly (also need to add -port 3000 for npm run dev in frontend/package.json). Set redirectUrl to empty.
  3. login to keycloak realm and configure client Cl3-PURIS to use http instead of https addresses
  4. open PURIS frontend, login, logout > not working
cd local/keycloak
docker run -p 10081:8080 --name keycloak \
-e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin \
-v ./puris-config/:/opt/keycloak/data/import \
quay.io/keycloak/keycloak:25.0.6 \
start-dev --import-realm
@tom-rm-meyer-ISST tom-rm-meyer-ISST added the bug Something isn't working label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant