Menu

How to Fix Error AADSTS50011 in Microsoft Entra ID (Redirect URI Mismatch)
πŸ“°

How to Fix Error AADSTS50011 in Microsoft Entra ID (Redirect URI Mismatch)

DEV Community: azureΒ·Alessandro MainardiΒ·about 8 hours ago
#pE7oUD5Z
#devtoazure#devto#dev#microsoft#localhost
Reading 0:00
15s threshold

πŸ“– Original Reference: Originally published with interactive diagrams and enterprise identity baselines at alexmaina.dev/entra-id-redirect-uri-aadsts50011 .

If you are developing applications using MSAL (Microsoft Authentication Library) and Microsoft Entra ID (formerly Azure AD), you have likely run into this frustrating blocker:

AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application '{client-id}'.

Enter fullscreen mode

Exit fullscreen mode

This error appears during the OAuth 2.0 / OpenID Connect authorization handshake. Microsoft's token endpoint performs a strict character-by-character validation , meaning even a single trailing slash or port mismatch will immediately halt authentication.

Here is how to diagnose the root cause and fix it in under 3 minutes.

1.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.