File oidcconfig JSON
Available Settings
See the descriptions below for each setting available in this file.
issuer
Set the URL of the OpenID provider.
redirectUri
Set the URL to which the user of the Control Center is redirected after successful authentication.
clientId
Set the ID of the application registered at the OpenID provider to identify the application when authentication
requests are made.
scope
An identifier for resources that an application can access.
- "openid" and "profile" provides basic user information.
- "offline_access" allows the application to request refresh tokens.
- "api://<ID>/DefaultApi" is a custom scope specified for the API. Access is requested for the specified scope instead of the default token provided by Azure.
responseType
Set the type of response to receive from the OpenID provider after authentication.
- "code" indicates to the provider that it should return an authorization code, which the application can exchange for an access token.
claimUserName
Set a preferred username to claim.
tokenRefreshTreshold
This information is incomplete. |
---|
loginButtonLogo
Set this value to the location of an image file to replace the default logo displayed on the login button. The default
path is assets/image/, but can also point to an image on disk or from URL.
Supported image formats are:
- PNG
- JPEG
- GIF
- SVG
- WEBP
Sample File
{ "AuthenticationConfig": { "issuer": "https://login.microsoftonline.com/<id>/v2.0", "redirectUri": "http://localhost:4200/control-center", "clientId": "<id>", "scope": "openid profile api://<id>/DefaultApi offline_access", "responseType": "code", "claimUserName": "preferred_username", "tokenRefreshThreshold": 15, "loginButtonLogo": "assets/image/<image>.png" } }