在 Azure AD B2C 中,ACR 或 TFP 声明是否应具有策略名称?
In Azure AD B2C, Should the ACR or TFP Claim Have the Policy Name?
According to this documentation, the Policy Name
should be in the TFP (Trust Framework Policy) claim but it is showing up in the ACR claim. I started with the Starter Pack
带有 ACR 声明的 ID 令牌 包含 Policy Name
此外,在文档的更下方,它说 ACR 是策略名称所在的位置:
这实际上是可配置的,所以只要您将应用程序配置为使用您选择的任何一个都没有关系。
转到 B2C_1_YourPolicy -> edit -> 'Token, session & SSO config'
并翻转 "Claim representing policy ID" 字段的开关。您可以选择 tfp
或 acr
。
建议您在 "tfp" 声明中签发保单 ID。如果您要创建自定义策略,则可以通过配置 "JwtIssuer" 技术配置文件来发布。您可以在 here.
了解更多相关信息
According to this documentation, the Policy Name
should be in the TFP (Trust Framework Policy) claim but it is showing up in the ACR claim. I started with the Starter Pack
带有 ACR 声明的 ID 令牌 包含 Policy Name
此外,在文档的更下方,它说 ACR 是策略名称所在的位置:
这实际上是可配置的,所以只要您将应用程序配置为使用您选择的任何一个都没有关系。
转到 B2C_1_YourPolicy -> edit -> 'Token, session & SSO config'
并翻转 "Claim representing policy ID" 字段的开关。您可以选择 tfp
或 acr
。
建议您在 "tfp" 声明中签发保单 ID。如果您要创建自定义策略,则可以通过配置 "JwtIssuer" 技术配置文件来发布。您可以在 here.
了解更多相关信息