ngx-configurable
demoRuntime Configuration
Set via process.env at server startup, transferred to the browser via Angular TransferState — no rebuild required to change these values.
| Variable | Value |
|---|---|
| APP_NAME | ngx-configurable |
| APP_ENV | demo |
| FEATURE_BETA_BANNER | enabled |
| FEATURE_DARK_MODE | disabled |
Server-Side Authenticated Proxy
Credentials (CLIENT_ID, CLIENT_SECRET, TOKEN_URL, BACKEND_API_URL) live in process.env on the server only — never serialised into the browser bundle or TransferState. In Kubernetes, mount these as a Secret and inject via envFrom.
Request flow
BrowserGET /api/proxy/*
→Expressfetches + caches
Bearer token
→Bearer token
Backend APIAuthorization:
Bearer …
Bearer …
| Variable | Visibility | Description |
|---|---|---|
| CLIENT_ID | server only | OAuth2 client identifier |
| CLIENT_SECRET | server only | OAuth2 client secret — Kubernetes Secret |
| TOKEN_URL | server only | IDP token endpoint (Azure AD, Keycloak…) |
| BACKEND_API_URL | server only | Downstream API base URL |
Click below to call /api/proxy/data. The server obtains a cached Bearer token and forwards the request — inspect Network DevTools and you will see no credentials in the browser request.