mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-21 14:21:46 +00:00
feat: add LDAP/LDAPS authentication
ldap(s) with distinction between admin and user role by group membership - Add ldapService.ts with bind/search/group-check logic - Add ldapLoginUser() async wrapper in authService.ts - Fall back to local login if user not found in LDAP - Support LDAP_ALLOWED_GROUP for access control - Support LDAP_ADMIN_GROUP for role mapping - Support LDAP_TLS_CA for custom CA certificates - ldapts added as dependency ENV vars: LDAP_URL, LDAP_BIND_DN, LDAP_BIND_PW, LDAP_BASE, LDAP_FILTER, LDAP_ADMIN_GROUP, LDAP_ALLOWED_GROUP, LDAP_TLS_CA
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
"helmet": "^8.1.0",
|
||||
"jimp": "^1.6.1",
|
||||
"jsonwebtoken": "^9.0.2",
|
||||
"ldapts": "^8.1.7",
|
||||
"multer": "^2.1.1",
|
||||
"node-cron": "^4.2.1",
|
||||
"nodemailer": "^8.0.5",
|
||||
|
||||
Reference in New Issue
Block a user