Skip to content

add runtime OIDC configuration via config.js#172

Open
dragosdinu wants to merge 2 commits into
mainfrom
dragosdi/oidc-auth-runtime-conf
Open

add runtime OIDC configuration via config.js#172
dragosdinu wants to merge 2 commits into
mainfrom
dragosdi/oidc-auth-runtime-conf

Conversation

@dragosdinu
Copy link
Copy Markdown
Member

@dragosdinu dragosdinu commented May 19, 2026

OIDC env vars (OIDC_ISSUER, OIDC_CLIENT_ID, OIDC_REDIRECT_URI) are now injected at container startup via envsubst into /app/dist/config.js, which the app reads from window.__CONFIG__ at runtime. This replaces the previous approach of relying on Vite build-time env vars (VITE_OIDC_*), which were baked into the JS bundle and unreachable from Helm values set on the Kubernetes deployment.

remove unnecessary nodejs, npm from runner Docker image

OIDC env vars (OIDC_ISSUER, OIDC_CLIENT_ID, OIDC_REDIRECT_URI) are now
injected at container startup via envsubst into /app/dist/config.js,
which the app reads from window.__CONFIG__ at runtime. This replaces the
previous approach of relying on Vite build-time env vars (VITE_OIDC_*),
which were baked into the JS bundle and unreachable from Helm values set
on the Kubernetes deployment.
@dragosdinu dragosdinu requested a review from Safouene1 May 19, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant