Skip to main content

Configuring tenant services settings for the REST API

After you configure database access for the REST API, you will configure tenant services settings.

  1. Navigate to the location where the REST API is installed.

    By default it is installed here: C:\Program Files (x86)\Incentives\RestAPI.

  2. Open the RESTAPI.appSettings.config file.

  3. Set the BlacklistServices value to the connection of the Redis Server.

    The BlacklistServices value is used to track administrator user log outs. If the value is not configured correctly, then when administrator users log out, the JWT associated with their sessions can continue to be used to make API calls.

  4. Set the SystemCallsSecretKey value to match the API_KEY value in the tenant services configuration file.

  5. Set the MessageSecretKey value to match the JWT_KEY value in the tenant services configuration file.

  6. Set the SchedMessageSecretKey value to match the SCHED_KEY value in the tenant services configuration file.

  7. Set the TenantSecretKey value to match the TENANT_KEY value in the tenant services configuration file.

  8. Save the file.