I am trying to convert an app to OAuth2, but the tokens endpoint keeps giving me OAuth1 tokens:
My process is:
- Initiated OAuth2 integration using https://app.hubspot.com/oauth/authorize?client_id=XYZ&redirect_uri=https://mydomain.com/connect/results&scope=content%20files
- Take the generated code and called the https://api.hubapi.com/oauth/v1/token endpoint per my postman image above.
I even tried creating a new app in Hubspot developer portal and using those client_id and secret credentials.
What might I be missing?