Skip to content

Commit 8b24569

Browse files
authored
fix(hubspot): add missing tickets and oauth scopes to OAuth config (#3653)
1 parent 60bb942 commit 8b24569

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

apps/sim/lib/oauth/oauth.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,9 @@ export const OAUTH_PROVIDERS: Record<string, OAuthProviderConfig> = {
836836
'crm.lists.read',
837837
'crm.lists.write',
838838
'crm.objects.tickets.read',
839+
'crm.objects.tickets.write',
840+
'tickets',
841+
'oauth',
839842
],
840843
},
841844
},

apps/sim/lib/oauth/utils.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,9 @@ export const SCOPE_DESCRIPTIONS: Record<string, string> = {
308308
'crm.lists.read': 'Read HubSpot lists',
309309
'crm.lists.write': 'Create and update HubSpot lists',
310310
'crm.objects.tickets.read': 'Read HubSpot tickets',
311+
'crm.objects.tickets.write': 'Create and update HubSpot tickets',
312+
tickets: 'Access HubSpot tickets',
313+
oauth: 'Authenticate with HubSpot OAuth',
311314

312315
// Salesforce scopes
313316
api: 'Access Salesforce API',

0 commit comments

Comments
 (0)