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.
When using "users" array, I can configure user_identifiers which are allowed to login to specific username eg:
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.