我已经为 React 应用程序配置了 Active Directory 登录。我收到这个错误。我也在 azure 中注册了我的应用程序。
authconfig.js 文件中编写的代码:
]
最佳答案
我可以看到您已经从 authconfig.js 使用“https://localhost:4200”配置了 RedirectURI,所以想知道您是否在 Azure AD 中为注册的应用程序配置了与重定向 URI 相同的 URL?该值必须完全匹配,假设您的代码配置了“http://localhost:4200”,但在 Azure AD 中您的replyurl 为“http://localhost:4200”(不带“S”),则预期会出现上述错误。
关于reactjs - AADSTS50011 :The reply URL specified in the request does not match the reply URLs configured for the application,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68909193/