【发布时间】:2018-04-18 12:15:15
【问题描述】:
使用自定义 IEF 策略时出现此错误:
AADB2C90154:多因素验证请求未能从服务获取会话 ID。相关 ID:[...]
实际上是什么意思?缺少什么会话,需要在哪里建立?
【问题讨论】:
标签: azure-ad-b2c
使用自定义 IEF 策略时出现此错误:
AADB2C90154:多因素验证请求未能从服务获取会话 ID。相关 ID:[...]
实际上是什么意思?缺少什么会话,需要在哪里建立?
【问题讨论】:
标签: azure-ad-b2c
您可能正在使用旧版本的 PhoneFactor-InputOrVerify 技术配置文件。低于最新版本,包含在 B2C 政策入门包中。
<TechnicalProfile Id="PhoneFactor-InputOrVerify">
<DisplayName>PhoneFactor</DisplayName>
<Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.PhoneFactorProtocolProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
<Metadata>
<Item Key="ContentDefinitionReferenceId">api.phonefactor</Item>
<Item Key="ManualPhoneNumberEntryAllowed">true</Item>
</Metadata>
<CryptographicKeys>
<Key Id="issuer_secret" StorageReferenceId="B2C_1A_TokenSigningKeyContainer" />
</CryptographicKeys>
<InputClaimsTransformations>
<InputClaimsTransformation ReferenceId="CreateUserIdForMFA" />
</InputClaimsTransformations>
<InputClaims>
<InputClaim ClaimTypeReferenceId="userIdForMFA" PartnerClaimType="UserId" />
<InputClaim ClaimTypeReferenceId="strongAuthenticationPhoneNumber" />
</InputClaims>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="Verified.strongAuthenticationPhoneNumber" PartnerClaimType="Verified.OfficePhone" />
<OutputClaim ClaimTypeReferenceId="newPhoneNumberEntered" PartnerClaimType="newPhoneNumberEntered" />
</OutputClaims>
<UseTechnicalProfileForSessionManagement ReferenceId="SM-MFA" />
</TechnicalProfile>
【讨论】: