Sep 17, 20207:37 PM - last edited on Sep 18, 20204:39 PM by PamCotton
Member
Issue with Oauth Integration Scope added to end of redirect uri?
Hi,
I'm trying to test collecting the "code" query param locally using the Oauth flow.
My redirect URL - localhost:*****/******/#/hubspotoauth (astrix are not the real url)
My install URL - https://app.hubspot.com/oauth/authorize?client_id=*********&redirect_uri=http://localhost:******/******/#/hubspotoauth&scope=contacts
If I try to access this one above ^ it says "you are missing the required parameter scope".
If I re-arrange scope to be before the redirect URI It allows me to choose which app I'm trying to integrate - https://app.hubspot.com/oauth/authorize?client_id=38832878-c331-4500-b8bd-90278e61ae53 &scope=contacts &redirect_uri=http://localhost:******/******/#/hubspotoauth
However, after you choose which app you are trying to integrate it then gives the error that the redirect URI's dont match (im copying from the developer portal under install URL).
So I'm in a weird spot, the install URL with scope as the last param doesn't work because it says scope is missing, and if moved in front of the redirect URI it says the redirect URI does not match.