APIs & Integrations

GertSallaerts
Member

OAuth2 without scope

I'm starting work on our integration and initially the only feature will be a CRM Extension. AFAIK I don't need any of the scopes listed here (https://developers.hubspot.com/docs/methods/oauth2/initiate-oauth-integration#scopes) to do that, but it seems to be impossible to leave the scope parameter empty.

  • If I leave it empty, I get an error that it's a required parameter.
  • If I put in an empty string, I get an error saying I passed an invalid scope name

So two questions:

  • Is there a scope that is required for a CRM Extension?
  • If not, is there a way to not request scopes?
0 Upvotes
1 Reply 1
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

OAuth2 without scope

Hi @GertSallaerts,

The CRM Extension API requires the contacts scope. At least one scope is required to approve an OAuth integration.

0 Upvotes