Skip to main content
Skip table of contents

Configure IdentityServer Clients

OIDC clients can be configured in an optional file Clients.json (located in your application folder near to web.config). The basic structure of the file is

JS
[
	{
		...Client #1 Config ...
	},
	...
	{
		...Client #N Config...
	}
]


Example:

JS
 [
 	{
    	"Enabled": true,
    	"ClientId": "jsDPE",
    	"ProtocolType": "oidc",
    	"ClientSecrets": [],
    	"RequireClientSecret": true,
		"RequireConsent": false,
    	"ClientName": "JavaScript DPE Client",
    	"AllowRememberConsent": true,
    	"AllowedGrantTypes": [
      		"implicit"
    	],
    	"AllowAccessTokensViaBrowser": true,
    	"RedirectUris": [
      		"any"
    	],
    	"PostLogoutRedirectUris": [],
    	"FrontChannelLogoutSessionRequired": true,
    	"BackChannelLogoutSessionRequired": true,
    	"AllowedScopes": [
      		"openid",
      		"profile",
      		"dpeservices"
    	],
    	"IdentityTokenLifetime": 3600,
    	"AccessTokenLifetime": 3600,
    	"AuthorizationCodeLifetime": 300,
    	"AbsoluteRefreshTokenLifetime": 2592000,
    	"SlidingRefreshTokenLifetime": 1296000,
    	"RefreshTokenUsage": 1,
    	"RefreshTokenExpiration": 1,
    	"EnableLocalLogin": true,
    	"IdentityProviderRestrictions": [],
    	"Claims": [],
    	"ClientClaimsPrefix": "client_",
    	"DeviceCodeLifetime": 300,
    	"AllowedCorsOrigins": [],
    	"Properties": {}
  	}
]
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.