opendatahub-io-contrib / jupyterhub-odh

Example JupyterHub deployment using OpenShift OAuth authenticator.
16 stars 31 forks source link

User logout is not allowing login #132

Open LaVLaS opened 2 years ago

LaVLaS commented 2 years ago

Describe the bug Source https://issues.redhat.com/browse/ODH-610

When we log out and login back again either on the Spawner page or from the running instance of a user, it doesn't get us back to the Login Page of KeyCloak (integrated into our cluster for Login). Actually, after logging out we click on the JupyterHub button in the top left corner of the navigation bar and it takes us back to the last page where we were before logging out.

We can see in the logs of the JupyterHub pod that the User logged out and logged into the instance but cannot infer it from the UI of the instance and we are not able to clearly understand if it logs in with a new token or the old one.

ODH Version: 1.1.0 Openshift Version: 4.8.24 Platform: OVH Cloud

To Reproduce Steps to reproduce the behavior:

  1. Start a user notebook
  2. Logout of the user notebook
  3. User is not redirected back to the OpenShift authentication

Expected behavior When a user manually logs out they should be redirected by the the JH page allowing user login

Screenshots N/A

Additional context N/A

k-e-r-n-e-l-p-a-n-i-c commented 2 years ago

Thank you @LaVLaS.