首页 > 解决方案 > 在对 identifierUris 进行重大更改后,无法再设置 B2C 作为 SAML IDP

问题描述

我目前正在根据文档为我们的 B2C 租户实施 SAML 登录。几周前我已经这样做了,作为概念证明。但是,最近的重大变化现在阻止我实施该解决方案。

现在,当我尝试设置identifierUris.

Failed to update B2C-SamlSignIn application. Error detail: Values of IdentifierUris property must use a verified domain of the organization or its subdomain: 

在我的工作概念证明中,我有一个不符合域的新要求的 identifierUrl。没有它,该解决方案将不再适用于我尝试连接的外部应用程序。启动登录时出现重定向循环。该循环表明已删除的 identifierUri 是问题所在:

<samlp:StatusMessage>Application registered corresponding to IssuerUri https://someotherdomain/somethingspecific in AuthRequest does not have assertion consumer service URL https://someotherdomain/somethingspecific/broker/saml/endpoint specified in its metadata.</samlp:StatusMessage><samlp:StatusDetail>

https://someotherdomain/somethingspecific是我之前设置的值。我无法更改其他应用程序中的 entityId。

有没有办法让它再次工作?我尝试创建一个具有“任何身份提供者或组织目录中的帐户(用于使用用户流验证用户)”的新应用程序,但似乎同样的限制适用于那里。

标签: azure-active-directoryazure-ad-b2csamlazure-ad-b2c-custom-policyidentity-experience-framework

解决方案


发生了变化。在 App 清单中,将accessTokenAcceptedVersion更新为:2

如果您不将 accessTokenAcceptedVersion 更新为 2,您将收到需要验证域的错误消息。

https://docs.microsoft.com/en-us/azure/active-directory-b2c/saml-service-provider?tabs=windows&pivots=b2c-custom-policy#add-the-identifier


推荐阅读