Managing external identities to enable secure access for partners, customers, and other non-employees
Hello William,
The error AADSTS50011 (redirect URI mismatch) indicates that the redirect URI sent by your application during the OpenID Connect request does not exactly match any URI configured in the Entra application.
Even if the value looks correct, Entra ID performs a strict comparison, so small differences will cause this issue. https://learn.microsoft.com/en-us/troubleshoot/entra/entra-id/app-integration/error-code-aadsts50011-redirect-uri-mismatch
In Entra External ID scenarios, this is commonly caused by:
Case sensitivity differences (e.g., /signin-oidc vs /Signin-oidc)
Trailing slash mismatch (/callback vs /callback/)
HTTP vs HTTPS mismatch
Port differences or environment changes (dev vs prod)
Reverse proxy/load balancer rewriting the URL
The application sending a different redirect URI than expected
To resolve this:
Capture the actual redirect_uri sent in the request (browser dev tools or Fiddler).
Compare it character-by-character with the Redirect URI configured in: Entra ID → App registration → Authentication
Ensure both values match exactly. If not, either:
Update the app configuration, or
Add the exact URI to the app registration
The key point is that Entra ID requires an exact match (including scheme, case, path, and trailing slash) and will not normalize the URL. [
If you still see the issue, please share the redirect URI from the error message so we can help validate it.