Environment Variables
Boolean flags default to false when unset.
| Variable | Type | Default | Config Keys | Description | Source |
|---|---|---|---|---|---|
OAUTH_SERVER_ACCESS_TOKEN_TIME_TO_LIVE_SECONDS | int | 3600 | oauth.server.accessToken.timeToLiveSeconds | Configuration value from environment. Config key: `oauth.server.accessToken.timeToLiveSeconds`. | oauth.ts |
OAUTH_SERVER_AUTHORIZATION_CODE_TIME_TO_LIVE_SECONDS | int | 300 | oauth.server.authorizationCode.timeToLiveSeconds | Configuration value from environment. Config key: `oauth.server.authorizationCode.timeToLiveSeconds`. | oauth.ts |
OAUTH_SERVER_ENABLED | flag | — | oauth.server.enabled | computed | oauth.ts |
OAUTH_SERVER_HTTP_AUTHENTICATION_PREFIX | string | "/auth" | oauth.server.http.authenticationPrefix | Configuration value from environment. Config key: `oauth.server.http.authenticationPrefix`. | oauth.ts |
OAUTH_SERVER_HTTP_MANAGEMENT_PREFIX | string | "/" | oauth.server.http.managementPrefix | Configuration value from environment. Config key: `oauth.server.http.managementPrefix`. | oauth.ts |
OAUTH_SERVER_ISSUER | string | "http://localhost:3000" | oauth.server.issuer | Configuration value from environment. Config key: `oauth.server.issuer`. | oauth.ts |
OAUTH_SERVER_JWKS_KEY_IDENTIFIER | string | "oauth-server-default" | oauth.server.jwks.keyIdentifier | Configuration value from environment. Config key: `oauth.server.jwks.keyIdentifier`. | oauth.ts |
OAUTH_SERVER_JWKS_RSA_MODULUS_LENGTH | int | 2048 | oauth.server.jwks.rsaModulusLength | Configuration value from environment. Config key: `oauth.server.jwks.rsaModulusLength`. | oauth.ts |
OAUTH_SERVER_JWKS_SIGNING_PRIVATE_KEY_PEM | string | "" | oauth.server.jwks.signing.privateKeyPem | Configuration value from environment. Config key: `oauth.server.jwks.signing.privateKeyPem`. | oauth.ts |
OAUTH_SERVER_JWKS_SIGNING_PUBLIC_KEY_PEM | string | "" | oauth.server.jwks.signing.publicKeyPem | Configuration value from environment. Config key: `oauth.server.jwks.signing.publicKeyPem`. | oauth.ts |
OAUTH_SERVER_PKCE_REQUIRED_BY_DEFAULT | string | "true" | oauth.server.pkce.requiredByDefault | Configuration value from environment. Config key: `oauth.server.pkce.requiredByDefault`. | oauth.ts |
OAUTH_SERVER_REFRESH_TOKEN_ROTATE_ON_USE | string | "true" | oauth.server.refreshToken.rotateOnUse | Configuration value from environment. Config key: `oauth.server.refreshToken.rotateOnUse`. | oauth.ts |
OAUTH_SERVER_REFRESH_TOKEN_TIME_TO_LIVE_SECONDS | int | 2592000 | oauth.server.refreshToken.timeToLiveSeconds | Configuration value from environment. Config key: `oauth.server.refreshToken.timeToLiveSeconds`. | oauth.ts |