[che-auth] It is not possible to logout in nativeUserMode #20071
Labels
area/dashboard
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/P1
Has a major impact to usage or development of the system.
sprint/current
Describe the bug
In new
nativeUserMode
, it is not possible to logout from the dashboard.The quick and dirty way to log out is to delete all page data from the browser.
Proposed solution
There is an oauth endpoint that signs out the user.
<che-url>/oauth/sign_out
(for example on CRC with defaults it'shttps://che-eclipse-che.apps-crc.testing/oauth/sign_out
).Dashboard should be able to recognize
nativeUserMode
when there is no keycloak. It can tell by getting 404 response from che-server on request/api/keycloak/settings
. It is already doing this request at some point and gets into single-user mode after getting 404. Dashboard single-user mode is so far working fine for native-user.Che version
Steps to reproduce
--workspace-engine=dev-workspace
Expected behavior
logout should work
Runtime
oc version
)Screenshots
Installation method
chectl server:deploy --platform=openshift --installer=operator --workspace-engine=dev-workspace --che-operator-cr-patch-yaml=/tmp/che_cr.yaml
Environment
Eclipse Che Logs
Additional context
The text was updated successfully, but these errors were encountered: