I am currently experiencing a configuration issue with my website utilizing the @azure/msal-browser package for website authentication. I obtained the following error when I authenticate and attempt to redirect to the redirectURI. My redirectURI is registered in the app registration Azure site.
Error Message when logging into my website:
AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '{clientId}'
Configuration options:
const msalConfig = {
auth: {
clientId: "{clientId}",
authority: "https://login.microsoftonline.com/" + tenantId + "/",
redirectUri: "{redirect URI}" // stored in app registration in Azure for authentication matching
},
cache: {
cacheLocation: "sessionStorage", // This configures where your cache will be stored
storeAuthStateInCookie: true, // Set this to "true" if you are having issues on IE11 or Edge
}
}
Azure configuration site options 1: