UI: Login page shouldn't show irrelevant authentication methods
Summary
- Login page shouldn't show irrelevant authentication methods.
- Currently, with
--auth-mode=ssothe login page prompts the user to choose an authentication method (SSO or client auth). This is confusing to end users and IMO if SSO is configured it should skip the login page entirely and execute the SSO flow. - This messaging is also confusing to end users: "It may not be necessary to be logged in to use Argo Workflows, it depends on how it is configured."
Use Cases
- Would use this when SSO is enabled.
Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.
I just set up SSO on an existing installation and got to experience this log-in page. The "It may not be necessary to be logged in to use Argo Workflows, [...]" text is really misleading in how it's displayed as the primary message on the screen. As soon as the administrator and the users are different people, this page is very confusing.
Also, I found a Stack Overflow question related to this: How to skip login page with Argo Workflows SSO
This is highly voted issue. Feel free to send a PR if anyone wants to contribute.
can someone explain what to do from there ? there is nothing about this in the quickstart section https://argo-workflows.readthedocs.io/en/latest/quick-start/ I use a local minikube/argocd for training purposes