Forum Discussion

bruiiser's avatar
bruiiser
Occasional Contributor
7 years ago

How can I support an OAuth2 grant type of 'password'

An API I'm tasked with testing uses a OAuth2 grant type string like this:   grant_type=password&username=johnsmith&password=somepassword   The selections available from the authentication manager...
  • bruiiser's avatar
    7 years ago

    I've come up with a solution. By using the 'Resource Owner Password Credentials Grant' OAuth 2 Flow selection, and putting the username and password in _both_ the Resource and Client entries, with the Access Token Url what you would expect, a valid token can be retrieved.

     

    That's what I'll be using then! Thanks.

     

    =bwh=