ArgoCD UI should redirect to the /login page when user not logged in #20874
Labels
bug
Something isn't working
more-information-needed
Further information is requested
version:2.13
Latest confirmed affected version is 2.13
Checklist:
argocd version
.Describe the bug
The ArgoCD UI replaces the browser history to navigate to
/login?return_url=...
without reloading the page. This behaviour is causing issues for us since we want to rewrite the/login
location to/auth/login
in our ingress controller. It would help immensely if thehistory.push
was replaced by awindow.location.href
here: https://github.com/argoproj/argo-cd/blob/master/ui/src/app/app.tsx#L270Not sure if this should be a feature request or a bug.
To Reproduce
Navigate to the
/
location of the ArgoCD UI and notice that the browser location has been updated to/login?return_url=...
without a page reload. Checking the ingress controller logs shows that no calls were made to argocd-server.Expected behavior
Ideally this should trigger a page reload to
/login?return_url=...
instead of just manipulating the browser history.Screenshots
N/A
Version
N/A
The text was updated successfully, but these errors were encountered: