Entra AADSTS50011: reply URL does not match
What this Microsoft Entra ID error means for an OhAuthCat connection and what to change.
Entra refused to send the user back because the return address in the request is not one of the reply URLs registered on the enterprise application or app registration.
What to change
Section titled “What to change”- IT admin (SAML): in the enterprise application’s Basic SAML Configuration, set Reply URL (Assertion Consumer Service URL) to the exact ACS URL shown in the OhAuthCat setup portal. Scheme, host, path and trailing slash must all match.
- IT admin (OIDC): in the app registration’s Authentication settings, add the exact redirect URI shown in the portal under the Web platform.
- Developer: if you use a custom domain for the auth host, make sure the customer configured the URL on that domain, not the default host.
Related OhAuthCat error
Section titled “Related OhAuthCat error”saml_destination_mismatch, if the URLs differ only after the response reaches us
Source
Section titled “Source”Written in our own words from the public Microsoft Entra ID documentation: https://learn.microsoft.com/en-us/entra/identity-platform/reference-error-codes. Check it for the vendor’s current wording; vendors change their pages without notice.