I would like to know reason why Azure Active Directory login page is not shown when i run my webapi locally. I need to always deploy webapi to azure, to see AAD Login page to see WEBAPI is AAD enable. Just like WebSite, is there way in WEB API to enable Login page while running api app locally.
I already configured with AAD Auth in startup.cs of webapi project below is the code.
app.UseWindowsAzureActiveDirectoryBearerAuthentication(
new WindowsAzureActiveDirectoryBearerAuthenticationOptions
{
Tenant = ConfigurationManager.AppSettings["ida:Tenant"],
TokenValidationParameters = new TokenValidationParameters
{
ValidAudience = ConfigurationManager.AppSettings["ida:Audience"]
},
});
Is there any other setting that needs to be applied for locahost Azure AD with login page available while debugging locally