AMT uses Microsoft Entra ID as the OIDC provider by default. This page explains how to configure AMT applications to make use of OpenID Connect (OIDC) authentication.
Each AMT application consists of a front end and a business logic end. In OAuth terms the front ends are relying parties, the business logic ends are resource servers. Each of these applications should be added to an OpenID Connect identity provider.
authentication:
type: OIDC
clients:
rest:
settings:
issuerURL: issuerURL: https://login.microsoftonline.com/<Server ID Key>/v2.0
clientID: <Client ID Key>Configure the following settings for the client:
{
"AuthenticationConfig": {
"issuer": "https://login.microsoftonline.com/<ID key>/v2.0",
"redirectUri": "http://localhost:4200/control-center",
"clientId": "<ID key>",
"scope": "openid profile api://<id>/DefaultApi offline_access",
"responseType": "code",
"claimUserName": "preferred_username",
"tokenRefreshThreshold": 15,
"loginButtonLogo": "assets/image/<image>.png"
}
}The backend (REST / WebAPI) endpoints validate tokens received by the front ends to create a session. Ensure the token validation settings use the same claim for user identification as configured in the front end files.
Visit the pages below to visit topics related to OIDC:
OIDC settings are configured in the following files: