To enable the identity platform to issue ID tokens for your app, you need to enable the hybrid flow. The hybrid flow combines the use of the authorization code grant for obtaining access tokens and OpenID Connect (OIDC) for getting ID tokens.
Here is a snippet from the appsettings.json file of a web application:
"AzureAd": {
"Instance": "https://login.microsoftonline.com",
"TenantId": "4d5f18ee-5b52-4315-85aa-******",
"ClientId": "826de1d0-269c-41c3-bcbf-******",
"CallbackPath": "/signin-oidc",
"SignedOutCallbackPath": "/signout-oidc"
}
manifest
."oauth2AllowImplicitFlow": true
"replyUrlsWithType": [{
"url": "https://localhost:7046/signin-oidc",
"type": "web"
}]