Still poppin' up the: Error AADSTS50011 with OpenID authentication

Twisting nether 0 Reputation points
2024-12-18T12:59:37.98+00:00

Dear support,

I deployed my web app in Azure Portal and made some changes via Visual Studio Code.

Next step, I wanted to redirect it from my local host to the default domain with the changes from VS code but i still receive this redundant with no end technical authentification failure:

"Sorry, but we’re having trouble signing you in.

AADSTS50011: The redirect URI 'https://gbdp203webapp-d9ehbngkh9g6eed7.polandcentral-01.azurewebsites.net/.auth/login/aad/callback' specified in the request does not match the redirect URIs configured for the application 'be54685c-c10f-4824-83e4-e97cfb4dfda2'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to https://aka.ms/redirectUriMismatchError to learn more about how to fix this."

I checked MS learn and implemented step by step all the instructions and still facing this technical issue.

So, i copied my URL of default domain from overview/properties blade(Webapp): https://gbdp203webapp-d9ehbngkh9g6eed7.polandcentral-01.azurewebsites.net , get in in Microsoft Entra ID> Authentification > Add platform > Added Web > Pasted > in Redirect URI tab, together with the https://localhost:5015 according with the below picture.

I used the same steps from the demo video from MS learn associated for this technical issue and it still pops the authentification page with errors.

What is the root cause? What should I do more than I already did according with the MS learn steps and demo from Youtube.

BTW. The selected tokens you would like to be issued by the authorization endpoint:

ID tokens (used for implicit and hybrid flows) > it is already checked in the box, see the below picture.

I'm just making playarounds and workarounds for several days by now. What is the solution for this stupid MS issue?

My webapp default domain.JPG

My Microsoft Entra ID authentification blade with the same Redirect URI from Web App Default domain.JPG

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,190 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.