-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Fix the logout button to work with the recent version of oidc-authservice
#6609
Fix the logout button to work with the recent version of oidc-authservice
#6609
Conversation
@alembiewski as discussed in kubeflow/manifests#2150 (comment) we'll need to slightly update this PR. Specifically, the new AuthService will expect the logout URL to be I'd propose to
First off we'll need to rebase this work on top of the latest branch. Would you have the cycles for this or should we assign this task to someone else? |
* Pin alpine repository version * Introduce a new LogoutButton component
27db8f5
to
f49c946
Compare
@kimwnasptd I rebased the PR on top of the latest branch.
Yes, good catch - the way we resolved that is by adding a new rule to a VirualService, e.g.:
What you suggesting is definitely a better approach to handle this. Unfortunately, I don't have enough capacity to work on the dynamic mechanism for learning the logout URL, so I would propose we merge the existing PR and ask someone else to address #6940 separately. WDYT? |
Thanks for confirming @alembiewski! Yes, we'll merge this PR and handle the fixup in a follow up. @orfeas-k could you take a stab at it? @alembiewski thank you very much for your time, and apologies for the late review on this that resulted in a bad timing. |
The PR changes look good as well, so going forward with merging this. We'll also need to cherry-pick this to the release branch cc @DomFleischmann /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kimwnasptd The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…rvice` (kubeflow#6609) * Pin alpine repository version * Introduce a new LogoutButton component
…rvice` (kubeflow#6609) * Pin alpine repository version * Introduce a new LogoutButton component
@alembiewski @kimwnasptd This change is redirecting to a blank page , should it not redirect to login page like earlier versions ? |
the change of LOGOUT_URL to Not a good User Experience, thought it doesn't break the functionality. |
Create a new issue including screenshots and detailed explanation if necessary. |
But where do we implement this virtual service. |
can you help me out @kimwnasptd @alembiewski Im also stuck on this, where is this virtual service, which needs to be changed ? |
@ajinkya933 You can join our Kubeflow manifest wg meeting or book consulting |
Required as a part of kubeflow/manifests#2150
Fixes the logout button in the Central Dashboard to work with the recent versions of the
oidc-authservice
(tested withgcr.io/arrikto/kubeflow/oidc-authservice:e236439
image version)Changes: