我已通过遵循以下文章配置了Azure AD多租户自动身份验证: docs.microsoft/zh-CN/azure/active-directory-b2c/identity-provider-azure-ad-multi-tenant-custom?tabs = applications
I have configured Azure AD multi-tenant autentication by following this article: docs.microsoft/en-us/azure/active-directory-b2c/identity-provider-azure-ad-multi-tenant-custom?tabs=applications
上周星期五,身份验证工作正常,但现在突然失败了.我尝试使用两端都添加的新应用程序ID和新应用程序密钥在Azure AD中重新注册该应用程序.
The authentication worked on friday last week, but now its suddenly failing. I tried to re-register the application in Azure AD with new App Id and new App secret that was added in both ends.
我遇到的错误:
很抱歉,我们无法登录.AADSTS9002325:跨域授权代码的兑换需要代码交换证明密钥.
Sorry, but we’re having trouble with signing you in. AADSTS9002325: Proof Key for Code Exchange is required for cross-origin authorization code redemption.
我可以忽略一些明显的东西吗?
Am I overlooking something obvious?
身份验证与通过React与 react-aad-msal 的SPA Web应用程序一起使用
Authentication is used with a SPA Web App using React with react-aad-msal
推荐答案解决方案:将平台配置从SPA更改为Web即可解决该问题.
Solution: Changed platform configuration from SPA to Web solved it.
更多推荐
使用Azure AD多租户的Azure AD B2C身份验证
发布评论