Per Stormpath documentation, for the password grant_type, all one would need to do is make a post request like below:
POST /oauth/token
Host: myapi.com
Accept: application/json
Content-Type: application/x-www-form-urlencoded
grant_type=password
&[email protected]
&password=theirPassword
However, this does not work and returns "unsupported_grant_type". In my configuration, password grant is enabled. What am I missing?
Figured it out, the request body had to be on one line