I am trying to get OAuth to work. Was working fine last week, but now I am getting a 400 bad request.
Here is what I do:
I get back a code and use it to authenticate
with header “Content-Type” = application/x-www-form-urlencoded
and body x-www-form-urlencoded in POSTMAN to:
grant_type = authorization_code
client_id = my client id
client_secret = my secret
redirect_url = http://www.hubspot.com
code = code returned from step 1 above
NOTE: my dev portal id = 2712969
When I issue the request in POSTMAN I get 400 bad request:
“error_description”: “missing or invalid scopes”
This was working fine last week, but not today.
Any help is greatly appreciated.