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 tab is not working #2895

Closed
5 of 7 tasks
muratyarali opened this issue Oct 18, 2024 · 12 comments
Closed
5 of 7 tasks

logout tab is not working #2895

muratyarali opened this issue Oct 18, 2024 · 12 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@muratyarali
Copy link

Validation Checklist

  • Is this a Kubeflow issue?
  • Are you posting in the right repository ?
  • Did you follow the Kubeflow installation guideline ?
  • Is the issue report properly structured and detailed with version numbers?
  • Is this for Kubeflow development ?
  • Would you like to work on this issue?
  • You can join the CNCF Slack and access our meetings at the Kubeflow Community website. Our channel on the CNCF Slack is here #kubeflow-platform.

Version

1.9

Describe your issue

I recently installed Kubeflow v1.9.1-RC.2, and the logout tab on the Kubeflow UI is unresponsive. Clicking it does nothing, but reloading the page takes me to the login page.

Steps to reproduce the issue

  1. Push the logout tab on the Kubeflow UI. You will see it is unresponsive.
    2.Reload the page and go to the login page

Put here any screenshots or videos (optional)

No response

@juliusvonkohout
Copy link
Member

Did this happen in RC1 as well?

@tarekabouzeid
Copy link
Member

Hi @juliusvonkohout ,
I confirm the same exact behavior as well in rc2, haven't tested that in rc1.

@juliusvonkohout
Copy link
Member

@thesuperzapper do you know about this? I think we had and fixed this problem before.

Could it be that we need to merge kubeflow/kubeflow#7631 and that there was a hotfix in kubeflow/manifest as well?

There is also https://github.com/kubeflow/manifests/blob/master/common/oauth2-proxy/components/central-dashboard/patches/deployment.logout-url.yaml

@tarekabouzeid @muratyarali can you apply the patch and check whether it should be oauth2/logout or oauth2/sign_out?

@thesuperzapper
Copy link
Member

@juliusvonkohout we actually just need to change the central dashboard so that it uses a GET request (with a basic <a> tag) rather than using some fancy JS to do a POS in the background.

@juliusvonkohout
Copy link
Member

@thesuperzapper can you patch this then in kubeflow/kubeflow and sent me a tag for synchronization?

Nevertheless i still do not like oauth2/logout vs. oauth2/sign_out and will remove one of them.

@juliusvonkohout
Copy link
Member

CC also @kromanow94 @MaxKavun

@juliusvonkohout juliusvonkohout added the help wanted Extra attention is needed label Oct 21, 2024
@kromanow94
Copy link
Contributor

Hey, @MaxKavun and my expertise resolves mostly around backend. But, with some guidance, we can provide help. Let us know if this is something you're interested in.

@juliusvonkohout
Copy link
Member

We should also extend the test here to cover this https://github.com/kubeflow/manifests/blob/master/.github/workflows/dex_test.yaml.

@juliusvonkohout
Copy link
Member

An there is also kubeflow/kubeflow#7624 for reference

@juliusvonkohout
Copy link
Member

And another one kubeflow/dashboard#57

@thesuperzapper
Copy link
Member

As I was saying in #2895 (comment).

If anyone wants to raise a PR on the central dashboard in the kubeflow/kubeflow repo to change the logout button to a simple <a> tag (which uses a GET rather than a POST), then the redirect will work properly.

@juliusvonkohout
Copy link
Member

closed by https://github.com/kubeflow/kubeflow/pull/7654/files
and i released https://github.com/kubeflow/manifests/releases/tag/v1.9.1-rc.3

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
Projects
None yet
Development

No branches or pull requests

5 participants