Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use Static username on LDAP scenario #12

Open
sasilen opened this issue Nov 29, 2019 · 0 comments
Open

Cannot use Static username on LDAP scenario #12

sasilen opened this issue Nov 29, 2019 · 0 comments

Comments

@sasilen
Copy link

sasilen commented Nov 29, 2019

When using "users" array,
I can configure user_identifiers which are allowed to login to specific username eg:

"users": {
"guest-user":
[
"[email protected]",
"[email protected]"
],

When I am using LDAP, it assumes that login-username is returned from LDAP via attribute "attr", that's fine on most of cases but on some environments I would like to use static username (eg: "guest-user" ).

FYI:
Took little time for me to understand meaning of "username_attribute" in oauth section, "attr" and "%s" in ldap section.
username_attribute was actually an user identifier which was used in ldap search "as %s" to find username in attribute "attr". Which was then used as a username_attribute to perform login as.

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

No branches or pull requests

1 participant