Configuring tenant services settings for the REST API
After you configure database access for the REST API, you will configure tenant services settings.
Navigate to the location where the REST API is installed.
By default it is installed here:
C:\Program Files (x86)\Incentives\RestAPI
.Open the
RESTAPI.appSettings.config
file.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.Set the
SystemCallsSecretKey
value to match theAPI_KEY
value in the tenant services configuration file.Set the
MessageSecretKey
value to match theJWT
_KEY
value in the tenant services configuration file.Set the
SchedMessageSecretKey
value to match theSCHED
_KEY
value in the tenant services configuration file.Set the
TenantSecretKey
value to match theTENANT_KEY
value in the tenant services configuration file.Save the file.