3.2. Environment Variables

3.2.1. Host address

3.2.1.1. WSB_PROTOCOL

Default: http://

Protocol of wsbackend.

3.2.1.2. WSB_HOST

Default: localhost

Hostname of wsbackend.

3.2.1.3. WSB_PORT

Default: 5000

Port of wsbackend.

3.2.2. Database

3.2.2.1. DB_HOST

Default: localhost

Host where the database is running.

3.2.2.2. DB_PORT

Default: 5432

Port number to connect to the database.

3.2.2.3. DB_USER

Default: postgres

Database user name.

3.2.2.4. DB_PASS

Database password.

No default for security reasons. This variable must be set before runtime.

3.2.3. Consumer API

3.2.3.1. API_ISSUER

Default: http://localhost:3000

API issuer claim. Must correspond to the issuer of the API access token.

3.2.3.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.

3.2.4. Admin API

3.2.4.1. ADMINAPI_AUDIENCE

Default: default_adminapi_audience

Access tokens issued using the client credentials flow will contain this audience claim.

3.2.4.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.

3.2.4.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.