I have a .NET Core 2 app template that is configured to use Azure AD out of the box.
The configuration is:
{ \"AzureAd\": { \"Instance\": \"https:
In some case, azure to use the 'www' on the url, even if you especific the url on the portal without 'www'. Use "https://www.mysite.co/signin-oidc" instead "https://mysite.co/signin-oidc" in your redirectUri variable.