Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Add OIDC variables

Blue Mouseb75498e63e36
diff --git a/backend/.env.example b/backend/.env.example
index f132be595..1a12068cf 100644
--- a/backend/.env.example
+++ b/backend/.env.example
@@ -39,13 +39,21 @@ [email protected]
# Use SMTP_MOCK variable for development, leave empty when in production
SMTP_MOCK=true
-# Selfhosted
+# Community Edition (Selfhosted) configuration
PASSWORD=12345678
API_KEY=
DEBUG_MODE=
IP_GEOLOCATION_DB_PATH=
+OIDC_ENABLED=false
+OIDC_ONLY_AUTH=false
+
+OIDC_DISCOVERY_URL=http://localhost:8080/.well-known/openid-configuration
+OIDC_CLIENT_ID=
+OIDC_CLIENT_SECRET=
+OIDC_CALLBACK_URL=http://localhost:3000/socialised
+
# Swetrix CDN for storing files
CDN_URL=http://localhost:5006
CDN_ACCESS_TOKEN=SOME_SECRET_TOKEN