Add default administrator user and authentication configuration options.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 705f2157-ef97-4fbd-89e4-8c7f2ecaea90
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7ed01c5f-a82d-405a-b728-b2e3d127c60c/2dd1a20c-f467-4f7c-915f-c7b9ad6f9965.jpg
This commit is contained in:
alphaeusmote
2025-04-11 04:08:19 +00:00
parent bed5dc7fb2
commit fdedd8dc60
3 changed files with 44 additions and 1 deletions
+26 -1
View File
@@ -27,4 +27,29 @@ RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=1000
# Logging
LOG_LEVEL=info
LOG_LEVEL=info
# Default Admin User Configuration
DEFAULT_ADMIN_USERNAME=admin
DEFAULT_ADMIN_PASSWORD=password
DEFAULT_ADMIN_EMAIL=admin@example.com
DEFAULT_ADMIN_FULLNAME=System Administrator
DISABLE_REGISTRATION=false
# LDAP Authentication Configuration (Optional)
# LDAP_SERVER=ldap.example.com
# LDAP_PORT=389
# LDAP_USE_TLS=true
# LDAP_BIND_DN=cn=admin,dc=example,dc=com
# LDAP_BIND_PASSWORD=admin_password
# LDAP_SEARCH_BASE=dc=example,dc=com
# LDAP_SEARCH_FILTER=(uid={{username}})
# OpenID Connect Authentication Configuration (Optional)
# OIDC_ISSUER=https://accounts.google.com
# OIDC_AUTHORIZATION_URL=https://accounts.google.com/o/oauth2/v2/auth
# OIDC_TOKEN_URL=https://oauth2.googleapis.com/token
# OIDC_USERINFO_URL=https://openidconnect.googleapis.com/v1/userinfo
# OIDC_CLIENT_ID=your_client_id
# OIDC_CLIENT_SECRET=your_client_secret
# OIDC_CALLBACK_URL=http://localhost:5000/api/auth/oidc/callback