Can I use “Resource Owner Password Grant” flow with Azure AD B2C

前端 未结 2 1484
一个人的身影
一个人的身影 2021-01-25 18:23

I need to be able to get an identity/access token to a backend API for a native client, where the native client must use native UI to collect username and password.

I w

相关标签:
2条回答
  • 2021-01-25 18:34

    Is it possible to get a token from Azure AD B2C by programmatically posting username and password somewhere?

    You can use the Azure AD Client Credential Flow to obtain a token. See this SO Post.


    ROPC might be the right OAuth Flow for you, but before you start using it, you might want to check out this blog post: Why the Resource Owner Password Credentials Grant Type is not Authentication nor Suitable for Modern Applications.

    0 讨论(0)
  • 2021-01-25 18:47

    Azure AD B2C does not support the "Resource Owner" password grant yet.

    You can support this feature ask and get updates on its progress by voting for it in the Azure AD B2C feedback forum: Add support for Resource Owner Password Credentials flow in Azure AD B2C.

    0 讨论(0)
提交回复
热议问题