Overview
This article details what is the reason behind the following Azure AD (Entra ID) connection error:
AADSTS50011: The redirect URI ‘/login/callback’ specified in the request does not match the redirect URls configured for the application …
Applies To
- Azure AD (Entra ID)
- Microsoft
Solution
This error occurs when the included Auth0 Callback URL is not in the below format in the ‘Redirect URIs’ section from inside the respective Azure AD (Entra ID) settings.
Instructions on where this should be configured are found here.
To use a custom domain with Azure AD (Entra ID) connections, make sure to update the Allowed Reply URL in the respective Azure AD settings by doing the following:
-
Go to Apps registrations and select the desired app.
-
Click Settings > Reply URLs.
-
Add a URL with the Custom Domain in the format:
This is explained in detail here.
Related References
- Additionally, here is Microsoft documentation on the AADSTS50011 error for further review.