Final answer:
To configure the web app to receive security tokens and process custom claims, you need to configure the Callback URL, App ID URI, and Reply URLs in the Azure portal.
Step-by-step explanation:
In order to configure the web app to receive security tokens and process custom claims in the security tokens issued by Azure Active Directory (Azure AD), you should configure the Callback URL in the Azure portal. The Callback URL is the endpoint in your web app that will handle the authentication response and receive the security tokens.
Additionally, you need to configure the App ID URI in the Azure portal. The App ID URI represents the unique identifier for your web app and should match the value used in the MSAL.js code to validate the security tokens.
Finally, you should configure the Reply URLs in the Azure portal. Reply URLs specify the locations where Azure AD should redirect the users after they have authenticated successfully. Make sure to add all the URLs that your web app uses.