Open anders-lundgren opened 5 years ago
Great package, thanks for putting this together! I even thought this was the official MS package since it was featured on TechNet: https://social.technet.microsoft.com/wiki/contents/articles/52573.azure-ad-b2c-secure-your-reactjs-frontend.aspx
One small issue, the recommended login redirect to <your-domain>.b2clogin.com requires the flag validateAuthority to be set to false when calling Msal.UserAgentApplication(): https://docs.microsoft.com/bs-latn-ba/azure/active-directory-b2c/b2clogin
<your-domain>.b2clogin.com
I have added this change to the initialize function on our fork and verified that it works: https://github.com/information-experience-sweden-ab/react-azure-adb2c/commit/fdc6855b3f3c84a9704f596d9a907814c9928e09
Great package, thanks for putting this together! I even thought this was the official MS package since it was featured on TechNet: https://social.technet.microsoft.com/wiki/contents/articles/52573.azure-ad-b2c-secure-your-reactjs-frontend.aspx
One small issue, the recommended login redirect to
<your-domain>.b2clogin.com
requires the flag validateAuthority to be set to false when calling Msal.UserAgentApplication(): https://docs.microsoft.com/bs-latn-ba/azure/active-directory-b2c/b2cloginI have added this change to the initialize function on our fork and verified that it works: https://github.com/information-experience-sweden-ab/react-azure-adb2c/commit/fdc6855b3f3c84a9704f596d9a907814c9928e09