{

	"ConnectionStrings": {

		// Database connection string (required)
		"DefaultConnection": "Data Source=SERVER;Initial Catalog=DATABASE;User ID=USERNAME;Password=PASSWORD"

	},

	"General": {

		// Publicly accessible URL of the website (e.g.: https://ca.patorum.com/). This address is used to compose emails with links back to the website
		"SiteUrl": "",

		// Name of the instance, will be shown in the title tag of all pages, e.g. "Patorum Signer"
		"SiteName": "",

		// 256-bit key used to encrypt temporary secrets issued by the site and keys stored on the database. You must fill this value to store keys on the database.
		// Generate it by running:
		// openssl rand -base64 32
		"EncryptionKey": "",

		// Uncomment and fill the line below to change the support email address (used on the footer of outgoing emails)
		//"SupportEmailAddress": "support@patorum.com",

		// Application color scheme. Available options are: dgy, clg, alg, osg, gdc, eva, idg
		//"Theme": "",

		// Set to `true` to use the system in "open mode", i.e. allow users to register and use the system (without the administrator's permission)
		// Set tp `false` to use the system in "closed mode", i.e. users must be previously added to an organization by the administrator in order to use the application
		"PersonalAccountsEnabled": true,

		// Enables document type selection when creating a new document
		"EnableDocumentTypes": false,

		// Enables electronic signature
		"EnableElectronicSignature": false
	},

	"Bindings": {

		// Uncomment the line below if HTTPS is disabled for the site
		//"HttpsMode": "Optional",

		// Set the HTTPS port below if other than 443
		//"SslPort": 8443,

		// Do not change this value unless you intend to use an alternative setup that does not involve a reverse proxy
		"UseReverseProxy": true
	},

	"PkiSuite": {

		// Your license for the PKI SDK, in Base64 format (required)
		"SdkLicense": "",

		// Your license for the Web PKI component in binary (Base64) format (required).
		"WebLicense": ""
	},

	"Email": {

		// Hostname of the SMTP server
		"ServerHost": "",

		// Credentials to be used on the SMTP protocol
		"Username": "",
		"Password": "",

		// Email address to be used as sender
		"SenderAddress": "",

		// Optionally, set the sender name
		//"SenderName": "Patorum Signer",

		// By default, the SMTP conversation is performed over SSL. To disable SSL, uncomment the line below
		//"EnableSsl": false,

		// By default, the SMTP conversation is performed over port 587. Uncomment and fill the line below to use a different port
		//"ServerPort": 465,
	},

	// Open ID Connect configuration
	"Oidc": {

		// OIDC authority, the Subscription URL Endpoint, e.g.: https://lac.grantid.com
		"Authority": "",

		// GrantID API endpoint, e.g.: https://api.grantid.com
		"ApiEndpoint": "",

		// Required GrantID API scope. Make sure that the scope has all basic informations configured
		"ApiName": "",

		// GrantID application id for a Client Credentials type of application that has permission to manage subscription users
		"AppId": "",

		// GrantID application secret for the GrantID application configured in the setting AppId
		"AppSecret": "",

		//  GrantID application id for an Implicit flow type of application
		"ClientAppId": "",

		// The claim configured as CPF in GrantID
		"CpfClaim": "preferred_username",

		// Custom scopes that will be requested during the login
		"CustomScopes": "preferred_username"
	}
}
