使用Azure AD多租户的Azure AD B2C身份验证 [英] Azure AD B2C Authentication with Azure AD Multi-tenant

查看:71
本文介绍了使用Azure AD多租户的Azure AD B2C身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已通过遵循以下文章配置了Azure AD多租户自动身份验证:

I have configured Azure AD multi-tenant autentication by following this article: https://docs.microsoft.com/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身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆