简体   繁体   English

在 Azure AD B2C 中,是否可以使用无密码登录策略,用户输入电子邮件并将 OTP 发送到关联的手机号码?

[英]In Azure AD B2C, is it possible to have a password less sign in policy where user enters email and OTP is sent to associated mobile number?

  1. In Azure AD B2C, is it possible to have a password less sign in policy where user enters email and OTP is sent to associated mobile number?在 Azure AD B2C 中,是否可以使用无密码登录策略,用户输入电子邮件并将 OTP 发送到关联的手机号码?
  2. Can we associate multiple phone numbers to a consumer account without custom/extension attribute?我们可以将多个电话号码关联到没有自定义/扩展属性的消费者帐户吗?

Regarding point 1, even if we manage to create it, should we use this policy.关于第 1 点,即使我们设法创建它,我们是否应该使用此策略。 Is it a good practice?这是一个好习惯吗?

  1. Yes, you'd have to create it via custom policy.是的,您必须通过自定义策略创建它。
  2. Yes, via custom policy you'd have to create an additional endpoint.是的,通过自定义策略,您必须创建一个额外的端点。 This endpoints points to a db with a list of phone numbers and returns true if it's in that list.这个端点指向一个带有电话号码列表的数据库,如果它在该列表中,则返回 true。 As for best practice, it's dependent on the user requirements.至于最佳实践,则取决于用户要求。

It's a bit tricky to develop custom policies.开发自定义策略有点棘手。

Here's a good starting point: https://docs.microsoft.com/en-us/azure/active-directory-b2c/solution-articles这是一个很好的起点: https : //docs.microsoft.com/en-us/azure/active-directory-b2c/solution-articles

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

相关问题 Azure AD B2C 密码更改自定义策略,用户每次都需要登录 - Azure AD B2C password change custom policy, user needs to sign in every time Azure AD B2C-使用电子邮件或移动设备注册/登录 - Azure AD B2C - sign up/in using email OR mobile 如何使用可选的 Email OTP 实现 Azure AD B2C 身份体验框架登录 - How to Implement Azure AD B2C Identity Experience Framework Sign-In with Optional Email OTP Azure AD B2C登录策略 - Azure AD B2C sign-in policy Azure AD B2C 无密码登录自定义策略 - Azure AD B2C passwordless sign in custom Policy 具有备用电子邮件地址的Azure AD B2C密码重置策略 - Azure AD B2C Password reset policy with alternate email address 错误70001尝试使用自定义Identity Experience Framework策略以Azure AD B2C用户身份登录 - Error 70001 trying to sign in as Azure AD B2C user with custom Identity Experience Framework policy Azure AD B2C - 只有通过自定义策略才能在首次登录场景中重置密码? - Azure AD B2C - Password Reset on First SignIn scenario only possible via Custom Policy? ASP.NET Core:Azure AD B2C自助密码重置(注册/登录策略) - ASP.NET Core: Azure AD B2C self service password reset (sign-up/sign-in policy) 修改Azure B2C登录V1策略/用户流最小密码长度限制 - Modify Azure B2C sign in V1 policy/user flow minimum password length restriction
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM