You are developing an ASP.NET Core web application that will authenticate users using the Microsoft Identity Platform and then call a downstream web API. You need to configure Microsoft Entra ID and the application to enable this confidential client authentication scenario. Which two configuration steps are required? (Select two.)
- Configure the Redirect URI in the Microsoft Entra ID app registration to match the application's sign-in callback endpoint.Answer
- Generate a client secret or upload a certificate in the Microsoft Entra ID app registration for the application to authenticate itself.Answer
- CEnable a system-assigned managed identity on the hosting Azure resource to authenticate the end-users signing into the web application.
- DGenerate a Shared Access Signature (SAS) token to authenticate the web application client against the Microsoft Identity Platform token endpoint.
Answer
To configure a web application that authenticates users and calls a downstream web API (confidential client flow), you must configure the Redirect URI in the Microsoft Entra ID app registration and generate a client secret or certificate in the app registration to allow the confidential client to authenticate during token exchange.
For a web application that authenticates users and calls a downstream web API (confidential client), you must configure: 1) the Redirect URI so the user agent is returned to the correct endpoint after authentication, and 2) a client secret or certificate to authenticate the web app when it exchanges the authorization code for an access token. The options specifying Redirect URI configuration and generating a client secret/certificate are correct.
Step-by-Step Solution
Key Concept
Confidential Client Application configuration in Microsoft Identity Platform authentication
Estimated Time:1m 0s