Azure AD connection error

Problem statement

We are testing login with our Azure AD enterprise connection and we are seeing an error:

"strServiceExceptionMessage":"AADSTS50011: The redirect URI [https://{](https://%7B/)AUTH0_DOMAIN}/login/callback specified in the request does not match the redirect URIs configured for the application ************. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to https://aka.ms/redirectUriMismatchError to learn more about how to fix this."

Cause

This is an error from Microsoft saying that the proper redirect URI, [https://{](https://%7B/)AUTH0_DOMAIN}/login/callback, is not included in the Azure AD application’s list of Web Redirect URIs.

Reference:

Solution

Ensure that this URI is included in the list of Web Redirect URIs to resolve this error: