* 🌟Synchronization of the user with LDAP (#206)

* Add configuration with LDAP attributes mappings
* Add default company and remove application check since it's not configurable
* Change error handling, now all the requests are independent
This commit is contained in:
Anton Shepilov
2023-09-12 16:20:37 +02:00
committed by GitHub
parent 15d3602cf8
commit 79764988b8
7 changed files with 106 additions and 40 deletions
@@ -4,3 +4,7 @@ LDAP_BIND_CREDENTIALS=
LDAP_SEARCH_BASE=dc=example,dc=com
LDAP_SEARCH_FILTER=(objectClass=inetorgperson)
API_URL=http://tdrive:4000/api/sync
TDRIVE_URL=http://tdrive:4000/
TDRIVE_CREDENTIALS_ID=application-name
TDRIVE_CREDENTIALS_SECRET=application-secret
LDAP_ATTRIBUTE_MAPPINGS={"firstName": "givenName", "lastName": "sn", "email": "mail"}