【发布时间】:2020-05-21 15:28:53
【问题描述】:
我们正在为 React SPA Web 应用程序和 API 使用 Azure AD B2C,我们使用 b2c 自定义策略来支持 azure 多租户登录,它适用于本地帐户和 google 登录,但是当使用任何 azure 帐户登录时,获取 iframe来自 msal.js 的错误
网站网址:https://app.skypointcloud.com
复制步骤 - 使用任何 Azure 帐户登录
错误
Refused to display 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=b85d50b8-7e2f-xxxxx-xxxxx&redirect_uri=https%3a%2f%2fsicdpstage.b2clogin.com%2fsicdpstage.onmicrosoft.com%2foauth2%2fauthresp&response_type=code&scope=openid+profile&response_mode=form_post&nonce=xxxxxx&state=StateProperties%3xxxxx' in a frame because it set 'X-Frame-Options' to 'deny'.
【问题讨论】:
-
如果您在新标签页中打开链接,您可能会看到一个帐户选择屏幕?
标签: azure-ad-b2c msal react-aad-msal