I have created a 3 tier architecture as ASP.NET MVC, ASP Web APP, and a SQL database.
I want to use Azure AD authentication. I have published all applications in Azure, and added Azure authentication to MVC App and Web API using Azure portal. If I access the Web API, it asks me for login, and works fine.
But if I access the Web App, it is not getting data from Web API due to authentication error. Obviously, I need to do something to allow my Web App to pass token to Web API (calling API using ajax jquery). What are the minimum code changes that I need to do in Web API and Web App?