fix(hubspot): add missing tickets and oauth scopes to OAuth config#3653
fix(hubspot): add missing tickets and oauth scopes to OAuth config#3653waleedlatif1 merged 1 commit intostagingfrom
Conversation
|
You have used all Bugbot PR reviews included in your free trial for your GitHub account on this workspace. To continue using Bugbot reviews, enable Bugbot for your team in the Cursor dashboard. |
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Greptile SummaryThis PR fixes a HubSpot OAuth authorization failure by adding three missing scopes ( Key changes:
Note: The generic scope keys Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant SimApp as Sim App
participant HubSpot as HubSpot OAuth
User->>SimApp: Initiate HubSpot OAuth
SimApp->>HubSpot: Authorization request with scopes
Note over SimApp,HubSpot: Before fix: missing 'tickets' and 'oauth' scopes
HubSpot-->>SimApp: ❌ Authorization failed (missing [tickets])
User->>SimApp: Initiate HubSpot OAuth
SimApp->>HubSpot: Authorization request with scopes
Note over SimApp,HubSpot: After fix: includes crm.objects.tickets.write, tickets, oauth
HubSpot-->>SimApp: ✅ Authorization code
SimApp->>HubSpot: Exchange code for token
HubSpot-->>SimApp: Access token + refresh token
SimApp-->>User: Connected successfully
Last reviewed commit: "fix(hubspot): add mi..." |
Summary
ticketsandoauthscopes to HubSpot OAuth provider config — these are required by the HubSpot app and their absence was causing "Authorization failed because the provided scopes are missing [tickets]" on logincrm.objects.tickets.writescope to match app configType of Change
Testing
Tested manually
Checklist