简体   繁体   English

Azure B2C:如何使用 MFA 的 OtherMails 属性

[英]Azure B2C: How to use OtherMails attribute for MFA

I am using B2C custom policies which allows signup/signin with the username instead of the traditional email.我正在使用 B2C 自定义策略,它允许使用用户名而不是传统的 email 进行注册/登录。

As part of the signup process, I am saving the Email in the otherMails attribute.作为注册过程的一部分,我将 Email 保存在 otherMails 属性中。

when choosing MFA as Email, I don't see the email field prepopulated with the email that I have on user record. when choosing MFA as Email, I don't see the email field prepopulated with the email that I have on user record.

Can otherMails attribute be used for MFA email? otherMails 属性可以用于 MFA email 吗?

<ClaimsTransformation Id="CreateEmailsFromOtherMailsAndSignInNamesInfo" TransformationMethod="AddItemToStringCollection">
    <InputClaims>
            <InputClaim ClaimTypeReferenceId="otherMails" TransformationClaimType="collection" />
    </InputClaims>

<TechnicalProfile Id="AAD-UserWriteUsingLogonName">
    <PersistedClaims>
        <PersistedClaim ClaimTypeReferenceId="otherMails" />
    </PersistedClaims>
    <OutputClaims>
        <OutputClaim ClaimTypeReferenceId="otherMails" /> 
    </OutputClaims>

<TechnicalProfile Id="LocalAccountSignUpWithLogonName">
    <OutputClaims>
        <OutputClaim ClaimTypeReferenceId="otherMails" /> 
    </OutputClaims>
<TechnicalProfile Id="LocalAccountDiscoveryUsingUserNameAndValidateStrongAuthenticationEmailAddress">
    <OutputClaims>
        <OutputClaim ClaimTypeReferenceId="otherMails" /> 
    </OutputClaims>
<TechnicalProfile Id="AAD-ReadCommon">
    <OutputClaims>
        <OutputClaim ClaimTypeReferenceId="otherMails" />
    </OutputClaims>

<RelyingParty>
    <OutputClaim ClaimTypeReferenceId="otherMails" PartnerClaimType="emails" />
</RelyingParty>

The field used for MFA is "strongAuthenticationEmailAddress".用于 MFA 的字段是“strongAuthenticationEmailAddress”。

That's used by the back end so I doubt it can be changed.这是后端使用的,所以我怀疑它是否可以更改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure AD B2C MFA和记忆器 - Azure AD B2C MFA and remember device 如何使用 MS graph API 获取 azure 广告 b2c 用户的身份验证方法或 MFA 电话号码 - How to fetch authentication methods or MFA phone number of azure ad b2c users using MS graph API 有没有办法在 Azure AD B2C 中不使用手机号码来完成移动 MFA? - Is there a way to complete a mobile MFA without using a mobile number in Azure AD B2C? 在注册过程中将“手机”存储在联系信息中 - Azure AD B2C 自定义策略 + MFA - Store "mobilePhone" in contact info during registration - Azure AD B2C Custom policy + MFA 将 MSAL 用于 Azure B2C 的最低要求 - Minimum Requirements To Use MSAL For Azure B2C 如何注册/设置 Azure B2C WEB Api 和 SPA 以使用授权码流程? - How to register/setup Azure B2C WEB Api and SPA to use Auth Code Flow? 发送新代码时 AAD B2C MFA 错误 - AAD B2C MFA Error when sending a new code 我们可以在单个应用程序中使用 Azure Active Directory(AAD) B2B 和 B2C 吗??? 用于 Microsoft Intune 访问的 B2B 和用于用户登录/注册的 B2C - Could we use Azure Active Directory(AAD) B2B and B2C in single application??? B2B for Microsoft Intune access and B2C for user login/signup Azure B2C如何处理多个API - How to deal with multiple APIs with Azure B2C 如何将 Azure AD B2C 应用程序标记为发布者已验证 - How to mark an Azure AD B2C App as Publisher Verified
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM