Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hubspot OAuth2 Credentials: Use granular scopes #2464

Closed
wants to merge 1 commit into from

Conversation

that-one-tom
Copy link
Contributor

@that-one-tom that-one-tom commented Nov 22, 2021

This PR addresses the issue reported here in the community forum: Currently, new users trying to authenticate with Hubspot will see an error message Insufficient scopes were provided. Please contact the app developer coming from Hubspot. This appears to be caused by n8n requesting a contacts scope (which while documented is no longer available to new apps).

Note: The scopes selected in the respective Hubspot app's Auth settings need to match the scopes requested by n8n (oauth needs to be selected separately):
image

⚠️ This is most likely a breaking change for existing users of the Hubspot Trigger node/Hubspot Developer API credentials. These users would need to:

  1. Update their Hubspot app to use the scopes from the above screenshot (oauth, crm.objects.contacts.read, crm.schemas.contacts.read, crm.objects.companies.read, crm.objects.deals.read, crm.schemas.companies.read, crm.schemas.deals.read).
  2. Reconnect their Hubspot account.

@that-one-tom that-one-tom marked this pull request as ready for review November 23, 2021 09:50
@RicardoE105 RicardoE105 changed the title Hubspot Developer API Credentials: Use granular scopes Hubspot OAuth2 Credentials: Use granular scopes Dec 7, 2021
@ivov ivov added node/improvement New feature or request n8n team Authored by the n8n team labels Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team node/improvement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants