Skip to content

🛡️ Warracker is an open source, self-hostable warranty tracker to monitor expirations, store receipts, files. You own the data, your rules!

Add FLASK_ENV for production configuration

icywhisker-official4ddecd038cc6
diff --git a/env.example b/env.example
index a092ea3..5f6a6b7 100644
--- a/env.example
+++ b/env.example
@@ -28,6 +28,7 @@ OIDC_CLIENT_SECRET=your_oidc_client_secret
OIDC_ISSUER_URL=https://your-oidc-provider.com/auth/realms/your-realm
OIDC_SCOPE=openid email profile
OIDC_ADMIN_GROUP=admin # Requires group scope
+FLASK_ENV=production # Forces OIDC to route to and from https://your-warracker-domain instead of http
# Memory and Performance Settings
WARRACKER_MEMORY_MODE=optimized