headlamp-k8s / headlamp

A Kubernetes web UI that is fully-featured, user-friendly and extensible
https://headlamp.dev
Apache License 2.0
2.29k stars 162 forks source link

Headlamp Logout issue using keycloak #2287

Open manujayanth opened 2 months ago

manujayanth commented 2 months ago

Hi @knrt10 @joaquimrocha

When I click the logout button in headlamp, It redirects to login page of headlamp but when I click the sign in button again,It’s doesn’t redirect to keycloak login page rather it goes to existing user session. I guess the headlamp doesn’t close the session after clicking the logout button .

joaquimrocha commented 2 months ago

IIRC what our logout button does is to remove the token from memory if one has been used. Maybe we need to update it to work better with OIDC.

manujayanth commented 2 months ago

@joaquimrocha This is how my keycloak client details looks like. I guess it's not removing the token. Should I make any change here? image

Values.yaml:

image