How do I make 'forgot password' working in react-aad-msal with Azure AD B2C?
What I did was create a Route in my App.js:
<Route
path="/forgot"
component={() => {
window.location.href = forgotPasswordUrl;
return null;
}}
/>
Then, in the constructor
if (window.location.hash.indexOf('AADB2C90118') >= 0) {
history.push('/forgot');
}
And that works.