我可以将 "Resource Owner Password Grant" 流与 Azure AD B2C 一起使用吗
Can I use "Resource Owner Password Grant" flow with Azure AD B2C
我需要能够为本机客户端获取后端 API 的 identity/access 令牌,其中本机客户端必须使用本机 UI 来收集用户名和密码。
我想使用 Azure AD B2C,但如果支持资源所有者密码授予流程,我无法获得清晰、明确的信息。是否可以通过在某处以编程方式发布用户名和密码来从 Azure AD B2C 获取令牌?
Azure AD B2C 尚不支持 "Resource Owner" 密码授予。
您可以通过在 Azure AD B2C 反馈论坛中投票来支持此功能并获取其进度更新:Add support for Resource Owner Password Credentials flow in Azure AD B2C。
Is it possible to get a token from Azure AD B2C by programmatically posting username and password somewhere?
您可以使用 Azure AD Client Credential Flow to obtain a token. See this SO Post.
ROPC 可能是适合您的 OAuth 流程,但在开始使用它之前,您可能需要查看此博客 post:
Why the Resource Owner Password Credentials Grant Type is not Authentication nor Suitable for Modern Applications。
我需要能够为本机客户端获取后端 API 的 identity/access 令牌,其中本机客户端必须使用本机 UI 来收集用户名和密码。
我想使用 Azure AD B2C,但如果支持资源所有者密码授予流程,我无法获得清晰、明确的信息。是否可以通过在某处以编程方式发布用户名和密码来从 Azure AD B2C 获取令牌?
Azure AD B2C 尚不支持 "Resource Owner" 密码授予。
您可以通过在 Azure AD B2C 反馈论坛中投票来支持此功能并获取其进度更新:Add support for Resource Owner Password Credentials flow in Azure AD B2C。
Is it possible to get a token from Azure AD B2C by programmatically posting username and password somewhere?
您可以使用 Azure AD Client Credential Flow to obtain a token. See this SO Post.
ROPC 可能是适合您的 OAuth 流程,但在开始使用它之前,您可能需要查看此博客 post: Why the Resource Owner Password Credentials Grant Type is not Authentication nor Suitable for Modern Applications。