Initial commit: Office365 web management platform

This commit is contained in:
youbin
2026-03-21 21:11:01 +08:00
commit 8d715a3a15
21 changed files with 3828 additions and 0 deletions

22
.env.example Normal file
View File

@@ -0,0 +1,22 @@
APP_NAME=Office 365 User Management Platform
HOST=0.0.0.0
PORT=8000
DEBUG=false
# Web login. If left empty, the management UI will run without login protection.
WEB_AUTH_ENABLED=true
ADMIN_USERNAME=admin
ADMIN_PASSWORD=ChangeMe123!
SESSION_SECRET=please-change-this-session-secret
# Microsoft Graph app registration
CLIENT_ID=
TENANT_ID=
CLIENT_SECRET=
# User defaults
DEFAULT_PASSWORD=ChangeMe!2026
DEFAULT_DOMAIN=yourtenant.onmicrosoft.com
DEFAULT_USAGE_LOCATION=US
DEFAULT_LICENSE_SKU=
FORCE_CHANGE_PASSWORD=true