Admin Configuration Guide
All fields below are present in code.
Environment variables
OIDC_ISSUER(required): issuer base for discovery and token endpointsBFF_DYNAMIC_CALLBACK(true|false): dynamic callback reconstructionBFF_DEFAULT_HOST: used when dynamic callbacks are enabledBFF_DEFAULT_SCHEME: defaults tohttpsBFF_CALLBACK_URL: required when dynamic callbacks are disabledBFF_COOKIE_DOMAIN: domain forbff_sessioncookie; omit domain for localhostBFF_ALLOWED_REDIRECT_HOSTS: CSV allowlist for absolute return_to safetyOIDC_SCOPES: space-separated scopes (e.g. must includeadmin.api,application.allwhen needed)
Cookies set by BFF
- Session:
bff_session(HttpOnly, Secure, SameSite=Lax, Domain perBFF_COOKIE_DOMAIN) - CSRF:
_csrf_token(middleware-managed; HMAC signed; headerX-CSRF-Tokenrequired for state-changing requests)
Headers propagated to services (edge/BFF)
X-User-ID,X-Session-ID,X-Auth-TimeAuthorizationforwarded as configured
Health and readiness
GET /healthreturns JSON with Redis and IdP checks
Files referenced by code
config/routes.yamlconfig/idps.yaml