AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application: ''

前端 未结 8 1678
我寻月下人不归
我寻月下人不归 2021-02-18 13:12

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:         


        
8条回答
  •  独厮守ぢ
    2021-02-18 13:59

    I had a similar problem with a .NET 4.6.1 web application. I had to configure the Reply URL for my app in azure similar to the accepted answer, however the callback url was different.

    Select Azure Active Directory -> App Registrations -> 
    Select Settings -> Reply URLs
    

    Add your apps URL + '/.auth/login/aad/callback' For Example: https://somesite.azurewebsites.net/.auth/login/aad/callback

提交回复
热议问题