Add production config with LDAP, fix LDAP auth flow

- Production port: 3389
- LDAP enabled with theta42.com config
- Proper bind -> search -> user bind flow
- Support service account bind for user search
- Add systemd service file
This commit is contained in:
2026-02-25 03:28:35 +00:00
parent 41833376f1
commit 48a876f34f
3 changed files with 72 additions and 24 deletions

14
conf/secrets.json Normal file
View File

@@ -0,0 +1,14 @@
{
"gateway": {
"token": "a41984619a5f4b9bf9148ab6eb4abca53eb796d046cbbec5"
},
"session": {
"secret": "dev-session-secret-change-in-production"
},
"auth": {
"ldap": {
"bindDN": "cn=ldapclient service,ou=people,dc=theta42,dc=com",
"bindPassword": "REPLACE_WITH_ACTUAL_PASSWORD"
}
}
}