-
-
Notifications
You must be signed in to change notification settings - Fork 196
Description
Issue submitter TODO list
- I've looked up my issue in FAQ
- I've searched for an already existing issues here
- I've tried running
main-labeled docker image and the issue still persists there - I'm running a supported version of the application which is listed here
Describe the bug (actual behavior)
Logged in to KafBat UI using Keycloak authentication. Kafbat uses https. https is terminated at Traefik and from there http is used for communication with Keycloak. Login works fine. However, the logout button does not work, although on mouse focus on the logout button shows https:///logout in the status bar of the browser but no action is performed nor any request is sent (no entry in developer tools window of browser on clicking the logout button). However, if https:///logout is executed in the browser address bar, the logout flow starts i.e., it displays the "Are you sure you want to logout?" message with the "logout" button and that button works fine and logs out the user successfully.
The same has been discussed in discord and it is presumed to be a bug as per the thread - https://discord.com/channels/897805035122077716/897805035122077719/1354339588214100111
Expected behavior
Clicking "Logout" button from KafBat UI should work
Your installation details
- App is run using docker compose.
- Docker image - ghcr.io/kafbat/kafka-ui
- Config.yaml -
auth:
type: OAUTH2
oauth2:
client:
keycloak:
provider: keycloak
clientId: kafka.auth
#clientSecret: yyy
scope: openid
issuer-uri: https://identity.smo.o-ran-sc.org/realms/onap
#issuer-uri: http://172.18.0.3:8080/realms/kafka-users
redirect-uri: https://kafka-ui.smo.o-ran-sc.org/login/oauth2/code/keycloak
user-name-attribute: preferred_username
client-name: keycloak
logoutUri: https://identity.smo.o-ran-sc.org/realms/onap/protocol/openid-connect/logout
custom-params:
type: keycloak
logoutUrl: https://identity.smo.o-ran-sc.org/realms/onap/protocol/openid-connect/logout
Steps to reproduce
- Setup keycloak
- Setup traefik
- Run KafBat UI with the above config file
Screenshots
No response
Logs
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
Projects
Status