5.2. Environment Variables¶
5.2.1. Host address¶
5.2.2. Identity Provider¶
5.2.2.1. IDP_PROTOCOL
¶
Default: http://
Protocol of the OpenID Connect Identity Provider.
Defaults to the protocol of the mock IdP.
5.2.2.4. IDP_JWKS
¶
Default: /jwks
Endpoint on the IdP from which the public JSON Web Key set can be downloaded.
Defaults to the mock IdP JWKs endpoint.
5.2.3. Database¶
5.2.3.4. DB_PASS
¶
Database password.
No default for security reasons. This variable must be set before runtime.
5.2.4. Consumer API¶
5.2.4.1. API_ISSUER
¶
Default: http://localhost:3000
API issuer claim. Must correspond to the issuer of the API access token.
5.2.4.2. API_AUDIENCE
¶
Default: mock_api_audience
Access tokens signed by the IdP must contain this audience claim. Without it, the consumer API will reject the token and deny access to an endpoint that requires authorization.
Defaults to a value used by the mock IdP.
5.2.5. Admin API¶
5.2.5.1. ADMINAPI_AUDIENCE
¶
Default: default_adminapi_audience
Access tokens issued using the client credentials flow will contain this audience claim.
5.2.5.2. ADMINAPI_CLIENTID
¶
Default: default_adminapi_clientid
A token request using the client credentials flow
must contain this client_id
. This is a shared secret between the sender and wsbackend
.
5.2.5.3. ADMINAPI_CLIENTSECRET
¶
A token request using the client credentials flow must contain this client_secret
.
This is a shared secret between the sender and wsbackend
.
No default for security reasons. This variable must be set before runtime.