Azure Active Directory OAuth Resource Owner Password Credentials Flow

前端 未结 1 1712
说谎
说谎 2021-01-17 02:02

On one of the project I\'m working on I need to use the Resource Owner Password Credentials Flow and the official docummentation doesn\'t support it : https://msdn.microsoft

1条回答
  •  孤城傲影
    2021-01-17 02:48

    It is a fully supported flow and will be for the foreseeable future. However, use of the flow is discouraged for both security and functionality reasons. Please see the following answer for a bit more depth on why it is discouraged.

    How to authenticate user with Azure Active Directory using OAuth 2.0?

    Use of this flow should be reserved primarily for command line tools or scenarios in which an interactive flow is simply not possible.

    You might consider using the Active Directory Authentication Library (ADAL) if you don't want to implement the OAuth 2.0 interactions yourself.

    https://msdn.microsoft.com/en-us/library/azure/dn151135.aspx

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