Rework client OIDC env vars: rename to VITE_OIDC_*, add committed .env
Renames VITE_AUTH_* to VITE_OIDC_* to match the stack convention. Adds a dedicated VITE_OIDC_POST_LOGOUT_REDIRECT_URI instead of deriving it from the redirect URI via string replace. Switches from Dockerfile ARG/ENV to a committed src/Budget.Client/.env so Vite picks up production values at build time without needing build-arg overrides. .env.local is gitignored for localhost dev overrides. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-4
@@ -5,7 +5,5 @@ POSTGRES_DB=budget
|
||||
POSTGRES_USER=budget
|
||||
POSTGRES_PASSWORD=changeme
|
||||
|
||||
# Client (baked into Vite build)
|
||||
VITE_AUTH_AUTHORITY=https://auth.stwaddle.com
|
||||
VITE_AUTH_CLIENT_ID=budget-client
|
||||
VITE_AUTH_REDIRECT_URI=https://budget.stwaddle.com/callback
|
||||
# Note: client OIDC values live in src/Budget.Client/.env (committed).
|
||||
# Override locally in src/Budget.Client/.env.local (gitignored).
|
||||
|
||||
Reference in New Issue
Block a user