- Refactor auth init: initialize MSAL before React mounts so MsalProvider handles handleRedirectPromise exactly once (no double-calls, no stale locks) - Simplify AuthGuard to pure AuthenticatedTemplate/UnauthenticatedTemplate - Remove trailing slash from redirect URI to match Azure AD registration Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
12 lines
910 B
Text
12 lines
910 B
Text
# Copy this file to .env and fill in the values.
|
|
# All variables must use the VITE_ prefix to be accessible in the browser.
|
|
|
|
# ── Server deployment ──────────────────────────────────────────────────────────
|
|
VITE_AZURE_TENANT_ID=e519c2e6-bc6d-4fdf-8d9c-923c2f002385
|
|
VITE_AZURE_CLIENT_ID=9079054c-9620-4757-a256-23413042f1ef
|
|
VITE_AZURE_REDIRECT_URI=https://ai-sandbox.oliver.solutions/lusa-Back-Planner
|
|
|
|
# ── Local development ──────────────────────────────────────────────────────────
|
|
# VITE_AZURE_TENANT_ID=e519c2e6-bc6d-4fdf-8d9c-923c2f002385
|
|
# VITE_AZURE_CLIENT_ID=15c0c4e2-bac0-4564-a3a6-c2717f00a6d9
|
|
# VITE_AZURE_REDIRECT_URI=http://localhost:8888/lusa-Back-Planner
|