Error:

You get the following error when setting up your web application to use the Entra (Azure Active Directory) for authentication…

AADSTS50011: The redirect URI ‘https://xxxxxx/authentication/login-callback’ specified in the request does not match the redirect URIs configured for the application ‘xxxxxxx’. 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.

Resolution:

Go to Entra (Azure Active Directory) -> App registration -> Your Client App -> Authentication

Add the following to the Single-page application Redirect URIs list…

https://xxxxxx/authentication/login-callback

Last modified: October 18, 2023

Author

Comments

Write a Reply or Comment