Skip to main content

config-auth

Auto-generated. Do not edit manually. Run pnpm --filter @eudiplo/docs run prebuild (scripts/generate-config-docs.ts).

KeyTypeNotes
OIDCstringEnable OIDC mode
OIDC_INTERNAL_ISSUER_URLstringInternal issuer URL in OIDC mode [when OIDC is set → then default=undefined]
OIDC_CLIENT_IDanyClient ID for OIDC [when OIDC is set → then required]
OIDC_CLIENT_SECRETanyClient secret for OIDC [when OIDC is set → then required]
OIDC_SUBanyClaim to use as subject [when OIDC is set → then default="tenant_id"]
OIDC_ALGORITHManyExpected JWT alg [when OIDC is set → then default="RS256"]
MASTER_SECRETanyMaster secret for JWT signing and encryption key derivation - required, minimum 32 characters [when OIDC is set → otherwise required]
JWT_ISSUERanyLocal JWT issuer [when OIDC is set → otherwise default="eudiplo-service"]
JWT_EXPIRES_INanyLocal JWT expiration [when OIDC is set → otherwise default="24h"]
AUTH_CLIENT_SECRETanyClient secret (local auth). In OIDC mode, optional bootstrap secret used to create/update a Keycloak admin/root client when AUTH_CLIENT_ID is also set [when OIDC is set → otherwise required]
AUTH_CLIENT_IDanyClient ID (local auth). In OIDC mode, optional bootstrap client ID used to create/update a Keycloak admin/root client when AUTH_CLIENT_SECRET is also set [when OIDC is set → otherwise required]
OIDC_UI_CLIENT_IDanyPublic client ID for the Angular UI in OIDC mode. Used to register a public Keycloak client for Authorization Code + PKCE login. [when OIDC is set → then default="eudiplo-ui"]