簡體   English   中英

使用電話號碼注冊 Azure AD B2C

[英]Signup with Azure AD B2C using phone number

在我的移動應用程序中,我將只使用電話號碼進行驗證。 現在我正在嘗試使用 Postman 進行此操作,這意味着已創建用戶,但不會向用戶發送代碼。 我希望用戶在注冊和登錄時收到代碼。我不會使用用戶流程,因為我希望為我的應用程序使用自定義注冊頁面。 我使用用戶流程對其進行了測試,並能夠在我的移動設備上獲取代碼。

這是我的 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
}
}

請指教!

在此處查看允許通過電話注冊的自定義策略。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM