Skip to main content

Environment Variables

Boolean flags default to false when unset.

VariableTypeDefaultConfig KeysDescriptionSource
OAUTH_SERVER_ACCESS_TOKEN_TIME_TO_LIVE_SECONDSint3600oauth.server.accessToken.timeToLiveSecondsConfiguration value from environment. Config key: `oauth.server.accessToken.timeToLiveSeconds`.oauth.ts
OAUTH_SERVER_AUTHORIZATION_CODE_TIME_TO_LIVE_SECONDSint300oauth.server.authorizationCode.timeToLiveSecondsConfiguration value from environment. Config key: `oauth.server.authorizationCode.timeToLiveSeconds`.oauth.ts
OAUTH_SERVER_ENABLEDflagoauth.server.enabledcomputedoauth.ts
OAUTH_SERVER_HTTP_AUTHENTICATION_PREFIXstring"/auth"oauth.server.http.authenticationPrefixConfiguration value from environment. Config key: `oauth.server.http.authenticationPrefix`.oauth.ts
OAUTH_SERVER_HTTP_MANAGEMENT_PREFIXstring"/"oauth.server.http.managementPrefixConfiguration value from environment. Config key: `oauth.server.http.managementPrefix`.oauth.ts
OAUTH_SERVER_ISSUERstring"http://localhost:3000"oauth.server.issuerConfiguration value from environment. Config key: `oauth.server.issuer`.oauth.ts
OAUTH_SERVER_JWKS_KEY_IDENTIFIERstring"oauth-server-default"oauth.server.jwks.keyIdentifierConfiguration value from environment. Config key: `oauth.server.jwks.keyIdentifier`.oauth.ts
OAUTH_SERVER_JWKS_RSA_MODULUS_LENGTHint2048oauth.server.jwks.rsaModulusLengthConfiguration value from environment. Config key: `oauth.server.jwks.rsaModulusLength`.oauth.ts
OAUTH_SERVER_JWKS_SIGNING_PRIVATE_KEY_PEMstring""oauth.server.jwks.signing.privateKeyPemConfiguration value from environment. Config key: `oauth.server.jwks.signing.privateKeyPem`.oauth.ts
OAUTH_SERVER_JWKS_SIGNING_PUBLIC_KEY_PEMstring""oauth.server.jwks.signing.publicKeyPemConfiguration value from environment. Config key: `oauth.server.jwks.signing.publicKeyPem`.oauth.ts
OAUTH_SERVER_PKCE_REQUIRED_BY_DEFAULTstring"true"oauth.server.pkce.requiredByDefaultConfiguration value from environment. Config key: `oauth.server.pkce.requiredByDefault`.oauth.ts
OAUTH_SERVER_REFRESH_TOKEN_ROTATE_ON_USEstring"true"oauth.server.refreshToken.rotateOnUseConfiguration value from environment. Config key: `oauth.server.refreshToken.rotateOnUse`.oauth.ts
OAUTH_SERVER_REFRESH_TOKEN_TIME_TO_LIVE_SECONDSint2592000oauth.server.refreshToken.timeToLiveSecondsConfiguration value from environment. Config key: `oauth.server.refreshToken.timeToLiveSeconds`.oauth.ts