首页 > 解决方案 > @azure/msal-react 错误:哈希不包含已知属性

问题描述

我在@azure/msal-react弹出登录时遇到问题,我需要一些帮助。我的 React SPA 在桌面浏览器中运行良好,但在移动浏览器(我的手机是 Chrome 93.xxx)中,从第二次登录开始,当我调用PublicClientApplication'loginPopup方法时,它会引发如下错误消息:

{"errorCode":"hash_does_not_contain_known_properties","errorMessage":"Hash does not contain known properites. Please verify that your redirectUri is not changing the hash.","subError":"","name":"BrowserAuthError"}

我不知道这个错误。有没有人遇到同样的问题?我需要一些建议

标签: msal-react

解决方案


推荐阅读