buildingsSigningHub Admin

Make the following changes in the “appsettings.Production.json” file to configure Application Settings for SigningHub Admin Web.


Client ID and Secret for authentication:

The SigningHub Admin requires both a Client ID and Client Secret to authenticate and authorise the SigningHub Admin application. The following section in appsettings.production.json is mandatory and is automatically configured by the SigningHub installer during installation:

"Credentials": {
  "ClientId": "[Client_ID]",
  "ClientSecret": "[Client_Secret]"}

SigningHub Admin API URL:

The URL of the SigningHub Admin API must be specified in appsettings.Production.json. This URL is also configured by the SigningHub installer during installation:

"Services": {
  "Authentication": "[Signinghub_ADMIN_API]"}

Proxy Handling for API communication:

SigningHub now supports proxy-aware deployments by allowing proxy settings to be configured directly in the appsettings.Production.json file. This ensures the SigningHub Admin Gateway can communicate with the API through a proxy when required. The following configuration section can be used:

"Proxy": {
  "Enabled": false,
  "BypassLocal": true,
  "Address": "[PROXY_URL]",
  "Username": "",
  "Password": ""
}

By default, Enabled is set to false, meaning the application connects directly to the API without using a proxy. To enable proxy support, set Enabled to true and provide the necessary proxy address and credentials. The BypassLocal flag is set to true by default to skip proxy routing for local API addresses (e.g., localhost). If local traffic should also go through the proxy, set this flag to false, and ensure that the proxy server is accessible locally.


Client app configuration:

The URL of the SigningHub Admin API and SigningHub Admin must be specified in the env.js. This env.js file can be found at the following path: \admin\wwwroot\assets\env.js

circle-info
  1. Please update the below-mentioned placeholders for Client App Configuration:

    1. [ADMIN_API_URL]: To be replaced with the URL of the SigningHub Admin API.

    2. [ADMIN_URL]: To be replaced with the URL of the SigningHub Admin.


Last updated

Was this helpful?