简体   繁体   English

Azure B2C 验证用户名和密码

[英]Azure B2C verify username and password

I'm working on some webapis .我正在研究一些webapis With B2CGraphClient I can create an user, update or delete it.使用B2CGraphClient我可以创建一个用户,更新或删除它。

My problem is how I can verify username and password.我的问题是如何验证用户名和密码。 I read Microsoft documentation about it but this case is not covered.我阅读了有关它的Microsoft 文档,但未涵盖此案例。

Scenario场景

From an app the user sends its credentials (username / password).用户从应用程序发送其凭据(用户名/密码)。 This credentials are stored in Azure B2C.此凭据存储在 Azure B2C 中。 I should call B2C and pass to it this credentials and receive if the user is valid and authenticated or not.我应该调用 B2C 并将此凭据传递给它,并接收用户是否有效和是否通过身份验证。

Currently, Azure AD B2C doesn't have any direct support for this.目前,Azure AD B2C 对此没有任何直接支持。

However, work to support for the Resource Owner Password Credentials flow in Azure AD B2C is in-progress.但是, 支持 Azure AD B2C 中的资源所有者密码凭据流的工作正在进行中。

This new feature will enable apps to collect a user credential and POST it to the B2C tenant for validation.这项新功能将使应用程序能够收集用户凭据并将其发布到 B2C 租户进行验证。

5 Oct 20: UPDATE 20 年 10 月 5 日:更新

Support for the Resource Owner Password Credentials flow has been implemented for Azure AD B2C's built-in flows and custom policies .已为 Azure AD B2C 的内置流自定义策略实现了对资源所有者密码凭据流的支持。

暂无
暂无

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

相关问题 Azure AD B2C - 如何为id_token交换用户名/密码? - Azure AD B2C - how is username/password exchanged for id_token? 使用Azure B2C身份验证服务进行身份验证之前验证电子邮件 - Verify email before authenticating using Azure B2C auth service 如何为 Azure AD B2C 用户将 TokenValidationParameters.NameClaimType 设置为“username”而不是“name”? - How to set TokenValidationParameters.NameClaimType to “username” instead of “name” for Azure AD B2C user? 如何使用 MSAL C#、.net 核心在 Azure AD B2C 用户帐户上重置密码? - How to reset password on Azure AD B2C user account using MSAL C#, .net core? Microsoft graph 更改 azure ad b2c 用户密码不起作用 - Microsoft graph change azure ad b2c user password not working Azure B2C 注销,然后登录不会使用密码提示挑战用户 - Azure B2C Sign Out, then Sign In does not challenge the user with a password prompt 为新的Azure Active Directory B2C用户设置密码的最安全方法是什么? - What is safest way to set password for new Azure Active Directory B2C user? 使用 Microsoft Graph + Http 客户端更改 Azure AD B2C 上的用户密码 - Change user password on Azure AD B2C using Microsoft Graph + Http Client 如何使用 Azure AD B2C 在重置密码时禁用 email 验证? - How can I disable the email verification on reset password using Azure AD B2C? 使用 azure b2c 在密码重置时跳过 email 验证步骤 - Skipping the email verification step on password reset using azure b2c
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM