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 in Jupyter is not working if you logged out from OpenShift #157

Open
2 tasks
harshad16 opened this issue Aug 21, 2023 · 4 comments
Open
2 tasks

Logout in Jupyter is not working if you logged out from OpenShift #157

harshad16 opened this issue Aug 21, 2023 · 4 comments
Assignees
Labels
help wanted Extra attention is needed JIRA jira issue exists for following github issue kind/bug Something isn't working priority/minor An issue with the product that doesn't impact the user much or not at all (ie tech debt)

Comments

@harshad16
Copy link
Member

harshad16 commented Aug 21, 2023

/kind bug

What steps did you take and what happened:
Scenario

-> open RHODS using the URL
-> login
-> open Jupyter Notebook using the URL
-> login
-> logout from JupyterLab
-> The logout will work because you are logged in OpenShift

Clear all browser cookies and data

-> open Jupyter Notebook using the URL
-> login
-> logout from JupyterLab
-> close the browser
-> open Jupyter Notebook using the URL
-> it is working

What did you expect to happen:

Log out properly.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Check oauth-proxy logout

Environment:

  • Kubeflow version: (version number can be found at the bottom left corner of the Kubeflow dashboard):
  • kfctl version: (use kfctl version):
  • Kubernetes platform: (e.g. minikube)
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):

JIRA: https://issues.redhat.com/browse/RHODS-10932

Acceptance criteria

@openshift-ci openshift-ci bot added the kind/bug Something isn't working label Aug 21, 2023
@harshad16 harshad16 added priority/minor An issue with the product that doesn't impact the user much or not at all (ie tech debt) JIRA jira issue exists for following github issue labels Aug 21, 2023
@jbyrne-redhat
Copy link

@harshad16 Does this release note text sound OK?

Logging out of JupyterLab does not work if you are already logged out of OpenShift

If you log out of OpenShift before you log out of JupyterLab, then logging out of JupyterLab is not successful. For example, if you know the URL for a Jupyter notebook, you are able to open this again in your browser.

Workaround
Log out of JupyterLab before you log out of OpenShift.

@harshad16
Copy link
Member Author

@jbyrne-redhat , we can make it more focused and mention it like this:

Logging out of JupyterLab does not work if you are already logged out of OpenShift Data Science Dashboard

If you log out of the OpenShift Data Science Dashboard before you log out of JupyterLab, then logging out of JupyterLab is not successful. For example, if you know the URL for a Jupyter Notebook, you are able to open this again in your browser.

Workaround
Log out of JupyterLab before you log out of OpenShift Data Science Dashboard.

@jbyrne-redhat
Copy link

@jbyrne-redhat , we can make it more focused and mention it like this:

Logging out of JupyterLab does not work if you are already logged out of OpenShift Data Science Dashboard

If you log out of the OpenShift Data Science Dashboard before you log out of JupyterLab, then logging out of JupyterLab is not successful. For example, if you know the URL for a Jupyter Notebook, you are able to open this again in your browser.

Workaround Log out of JupyterLab before you log out of OpenShift Data Science Dashboard.

Done @harshad16 - thanks.

@rkpattnaik780
Copy link

When user logs out from JupyterLab, we get a 403 when trying to hit the /logout endpoint. We might need to investigate further about the handler for /logout endpoint and might need to allow requests without authorization.

Screenshot 2023-10-04 at 6 00 50 PM

@harshad16 harshad16 added the help wanted Extra attention is needed label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed JIRA jira issue exists for following github issue kind/bug Something isn't working priority/minor An issue with the product that doesn't impact the user much or not at all (ie tech debt)
Projects
Status: No status
Status: No status
Status: 🔖Todo
Development

No branches or pull requests

3 participants