mirror of
https://github.com/Shadowfita/docmost.git
synced 2025-11-22 20:51:04 +10:00
Create Auth/NTLM Endpoint
- Adds NTLM challenge negotiation - Checks NTLM auth user & domain against AD / LDAP and returns info - Adds relevant .env entries
This commit is contained in:
@ -7,6 +7,15 @@ APP_SECRET=REPLACE_WITH_LONG_SECRET
|
||||
|
||||
JWT_TOKEN_EXPIRES_IN=30d
|
||||
|
||||
# Use NTLM for user authentication
|
||||
NTLM_AUTH=false
|
||||
|
||||
# LDAP settings for NTLM authentication
|
||||
LDAP_BASEDN=
|
||||
LDAP_DOMAINSUFFIX=
|
||||
LDAP_USERNAME=
|
||||
LDAP_PASSWORD=
|
||||
|
||||
DATABASE_URL="postgresql://postgres:password@localhost:5432/docmost?schema=public"
|
||||
REDIS_URL=redis://127.0.0.1:6379
|
||||
|
||||
|
||||
Reference in New Issue
Block a user