简体   繁体   English

使用电话号码注册 Azure AD B2C

[英]Signup with Azure AD B2C using phone number

In my mobile application I will be just using phone number for anthentication.在我的移动应用程序中,我将只使用电话号码进行验证。 Right now I am trying this with Postman which works, which means the user is created, but a code is not sent to the user.现在我正在尝试使用 Postman 进行此操作,这意味着已创建用户,但不会向用户发送代码。 I want the user to receive a code when signing up and signing in. I wont be using user flows as I wish to use a custom sign up page for my app.我希望用户在注册和登录时收到代码。我不会使用用户流程,因为我希望为我的应用程序使用自定义注册页面。 I tested it with user flows and was able to get a code on my mobile device.我使用用户流程对其进行了测试,并能够在我的移动设备上获取代码。

Here is my Postman POST request to https://graph.microsoft.com/v1.0/users这是我的 Postman POST 请求到https://graph.microsoft.com/v1.0/users

{
"accountEnabled": true,
"displayName": "Test Name",
"identities": [
{
"signInType": "phoneNumber",
"issuer": "testorg.onmicrosoft.com",
"issuerAssignedId": "+1 416-000-0000"
}
],
"mobilePhone": "+1 416 000 000",
"passwordPolicies": "DisablePasswordExpiration",
"passwordProfile": {
"password": "82510f31-1c89-d103-73c8-9fbedda45dcc",
"forceChangePasswordNextSignIn": false
}
}

Please advise!请指教!

See here for a custom policy that allows sign-up via phone.在此处查看允许通过电话注册的自定义策略。

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

相关问题 Azure AD B2C电话因素签到来宾用户 - Azure AD B2C phone factor sign in guest user Flutter + Azure:使用 AD B2C 进行身份验证 - Flutter + Azure : Authentication with AD B2C Azure AD B2C,使用Google Flutter进行Easy Auth身份验证 - Azure AD B2C with Easy Auth Authentication with Google Flutter Flutter:使用 Azure AD B2C 进行身份验证返回结果但访问令牌为空 - Flutter: Authentication with Azure AD B2C returns result but with empty accesstoken Azure B2C 与 Flutter 的集成 - Azure B2C integration with Flutter 使用电话号码注册和登录 | flutter - signup & signin using phone Number | flutter Azure AD B2C redirect_uri 错误表示请求中提供的重定向 URI com.bol.azure_test://oauth/redirect 没有为客户端 ID 注册 - Azure AD B2C redirect_uri error says The redirect URI com.bol.azure_test://oauth/redirect provided in the request is not registered for the client id 使用 Azure B2c 在 Flutter App 上启用更改/重置密码 - Enable change/reset password on Flutter App with Azure B2c 如何在flutter中使用firebase通过电话号码注册用户? - How to signup user via phone number using firebase in flutter? 如何在flutter中使用firebase手机号和密码进行登录注册 - How to make login signup with firebase phone number and password in flutter
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM