<p>I am trying to authenticate in ArgoCD using Keycloak. I am following <a href="https://argo-cd.readthedocs.io/en/stable/operator-manual/user-management/keycloak/" rel="nofollow noreferrer">this guide</a>, but there is a problem. ArgoCD redirects me to http://URL/<strong>auth</strong>/login?return_url=... which throws this Bad Request 400 - Invalid return_url. The correct link though is http://URL/login?return_url=..., but I don't see where I should change it so it doesn't append <strong>auth</strong> to the path.</p>
<p>The <strong>Valid Redirect URIs</strong> field is set to <strong>*</strong> in the Keycloak client for ArgoCD.</p>

<p>I had the same issue, the culprit:
the missing “url: https//:yourargocdurl”
in the comfigMap argocd-cm</p>
