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.com/library/azure/aeab0a46-4da1-4300-be9c-3be418f07a5b.aspx/ it only supports Authorizartion Code and Client Credentials. A google search led me to this github link that says Resource Owner Password Credentials could be done, I tested it and it worked fine but I don't know if it will be available in the future. So, does anyone knows ?
0
votes
1 Answers
2
votes
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