oliver-metadata-tool/.env.example
SamoilenkoVadym 154658f5d7 Fix MSAL redirectUri to match Azure AD registration
redirectUri = https://ai-sandbox.oliver.solutions/solventum-image-metadata/
(app root, not /login or /auth/callback)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-09 21:46:11 +00:00

29 lines
1 KiB
Text

# Solventum Image Metadata Tool — Environment Configuration
# Copy this file to .env and fill in your secrets:
# cp .env.example .env
# === Required ===
# Generate with: python3 -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=CHANGE_ME_GENERATE_A_RANDOM_KEY
DOCKER_MODE=true
# Subpath prefix (must match Apache reverse proxy config, no trailing slash)
ROOT_PATH=/solventum-image-metadata
# === Azure AD / SSO ===
AZURE_TENANT_ID=e519c2e6-bc6d-4fdf-8d9c-923c2f002385
AZURE_CLIENT_ID=9079054c-9620-4757-a256-23413042f1ef
# AZURE_CLIENT_SECRET is not needed (client-side MSAL.js flow)
# Must match Azure AD App Registration > Authentication > SPA Redirect URIs exactly
REDIRECT_URI=https://ai-sandbox.oliver.solutions/solventum-image-metadata/
# === OpenAI (optional — for AI metadata generation) ===
OPENAI_API_KEY=
# === Admin ===
# This email will be auto-created as admin on first startup (SSO login)
SUPERADMIN_EMAIL=vadymsamoilenko@oliver.agency
# === Options ===
ENABLE_TEST_USER=false
HTTPS_ONLY=true
DEBUG=false