使用Azure AD多租户的Azure AD B2C身份验证

编程入门 行业动态 更新时间:2024-10-24 20:17:40
本文介绍了使用Azure AD多租户的Azure AD B2C身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已通过遵循以下文章配置了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身份验证

本文发布于:2023-11-28 09:08:14,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1641789.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:租户   身份验证   Azure   AD   B2C

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!