-
Notifications
You must be signed in to change notification settings - Fork 61
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
Add LDAP Authentication #792
Conversation
Converting to a draft until I finish tests |
…, may not fit everyone)
This pull request introduces 1 alert when merging d079468 into 7d6f687 - view on LGTM.com new alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did not mean to start a review. Hopefully commenting will let me remove this
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Closes #679, adds the ability to login using LDAP. Configuration is set in .env as follows:
LDAP_ENABLED
: Choose whether or not to use ldap (True/False)LDAP_HOST
: Your target LDAP server (Default 389)LDAP_BINDDN
: User account used to query account lookupsLDAP_PASSWORD
: Password for user account used to query account lookupsLDAP_SEARCHBASE
: The location to search within LDAP (AD Users would use"OU=Users, DC=<yourdomain>, DC=local"
)LDAP_SEARCHFILTER
: LDAP search filter (AD Users would use sAMAccountName={{username}})LDAP_NAMEFIELD
: The field that contains the user's name (default is 'name', works for AD)LDAP_MAILFIELD
: The field that contains the user's email (default is 'mail', works for AD)