- Add OAuth proxy route with productId forwarding via getRequestProductId - Add MFA verify proxy route - Update login page with Google Sign-In button (env-gated) and MFA challenge flow - Fix completeAuth to avoid redundant router.push before window.location.href - Add NEXT_PUBLIC_GOOGLE_CLIENT_ID to .env.example - Add MessageEvent to ESLint globals for popup message handler
26 lines
780 B
Plaintext
26 lines
780 B
Plaintext
# Tracker Dashboard — Environment Variables
|
|
# Copy this file to .env.local and fill in the values.
|
|
#
|
|
# This dashboard is product-agnostic. Set PRODUCT_ID to deploy for any ByteLyst product.
|
|
|
|
# ── Product Identity ──
|
|
PRODUCT_ID=lysnrai
|
|
NEXT_PUBLIC_PRODUCT_ID=lysnrai
|
|
|
|
# ── Microservice URLs (consolidated platform-service) ──
|
|
PLATFORM_SERVICE_URL=http://localhost:4003
|
|
PLATFORM_API_URL=http://localhost:4003
|
|
|
|
# ── Auth (JWT) ──
|
|
JWT_SECRET=
|
|
|
|
# ── SmartAuth: OAuth (optional — enables social login buttons) ──
|
|
NEXT_PUBLIC_GOOGLE_CLIENT_ID=
|
|
|
|
# ── Azure Key Vault (optional — resolves secrets at startup) ──
|
|
AZURE_KEYVAULT_URL=
|
|
|
|
# ── Optional: Analytics ──
|
|
NEXT_PUBLIC_POSTHOG_KEY=
|
|
NEXT_PUBLIC_POSTHOG_HOST=https://app.posthog.com
|