Is there a way to delete some auth method from the login page?

We frequently receives some user query where users complains failure of login to Vault GUI. The problem is, they choose “UserPass” but our Vault supports only LDAP. To eliminate the confusion, I want to remove other auth options than token and ldap from the login page. Is there a configure to do so?

I have tried to disable “userpass” from vault cli, but which doesn’t reflect to the GUI.

You can’t disable the dropdown, but you can set certain ones to show up and/or one to show first…
If you just want LDAP, enable the “List method when unauthenticated” option and it’ll be the first tab. The user would have to click Other now to see the dropdown.

Check out https://github.com/hashicorp/vault/pull/4854