My current attempt at using oauth 2 isn’t working so well. The first action is when my application redirects to:
From there, I seemingly successfully ‘Grant access’ on the Request for Integration Permission page and am redirected back to the redirect_uri. No matter what I’ve tried with changing the initial redirection arguments (scopes, redirect_uri, etc), the final redirect from hubspot to my redirect_uri, it always gets directed to:
When I change the code to follow the oauth 1 initial URI, it works just fine and I receive an access_token.
What am I doing wrong?