# Entra AADSTS50011: reply URL does not match

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

- **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

- [`saml_destination_mismatch`](/errors/saml_destination_mismatch/), if the URLs differ only after the response reaches us

## 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](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.
