Skip to content
This repository has been archived by the owner on Oct 6, 2019. It is now read-only.

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

Open
alexandersusha opened this issue Feb 27, 2018 · 3 comments
Open

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

alexandersusha opened this issue Feb 27, 2018 · 3 comments

Comments

@alexandersusha
Copy link

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.

@alexandersusha alexandersusha changed the title Feature request: Change default auth type Feature request: An option to change default auth type Feb 27, 2018
@Caiyeon
Copy link
Owner

Caiyeon commented Feb 28, 2018

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
Copy link
Author

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

@Caiyeon
Copy link
Owner

Caiyeon commented Mar 1, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants