Caiyeon / goldfish

A HashiCorp Vault UI written with VueJS and Vault native Go API
https://vault-ui.io
Mozilla Public License 2.0
2.15k stars 166 forks source link

Feature request: An option to change default auth type #247

Open alexandersusha opened 6 years ago

alexandersusha commented 6 years ago

Feature request:

Would it be nice to have an config option to change/set a default authentication type on the login page, e.g right now the token type is default and it is a bit confusing for Vault users in our company. I want to be able setting LDAP by default.

Caiyeon commented 6 years ago

Having a default login method is possible in a "hacky" way: setting the preferred login path in runtime config, and having it served to the end user in the health ajax request. I've thought about it long ago but never did anything because... the information just doesn't belong in that response. I'll leave this open until I decide to come up with something better or reject it altogether

In either case though, if your company's vault users do not understand what a vault token is and how it is related to LDAP, I believe a proper knowledge transfer or wiki page is in order :)

alexandersusha commented 6 years ago

Thank you for your answer. Could you please provide me more details how to configure a default login method using the "hacky" way?

Caiyeon commented 6 years ago

I meant possible as in I could code a hacky solution to this problem. But for the sake my sanity I haven't. The information just doesn't belong in that HTTP response.