No matter what I do, I keep receiving the AADSTS50011 error.
I'm trying to authenticate an asp.net core 2 application using Azure AD. It works fine locally. Unfortunately when I publish it to Azure, I keep running into issues.
I keep getting this error: AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application:
No matter what I change in Azure and the code, I'm not able to get it to work.
In Azure AD, I have the same values set as the reply urls.
In App registrations (Preview), the app has the same reply urls.
I'm not sure if this is causing the issue or not. The application and AD are on different Azure instances. I've checked and the Application has the correct Azure AD ClientId.
Is there anything else I can do/try?
This is what my app.config looks like:
"AzureAd": { "Instance": "https://login.microsoftonline.com/", "Domain": "companyname.com", "TenantId": "b1234", "ClientId": "a1234", //"CallbackPath": "/signin-oidc" "CallbackPath": "http://kpmazure20180418102349.azurewebsites.net/signin-oidc" //"CallbackPath": "https://localhost:44330/signin-oidc" },
According to everything that I've read, this should be working.
0 comments:
Post a Comment