Skip to content

Commit 632b0fc

Browse files
authored
Update scopes
Scopes to target new published HubSpot for Umbraco app.
1 parent 8a2ba8f commit 632b0fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Forms.Integrations.Crm.Hubspot/Services/HubspotContactService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class HubspotContactService : IContactService
3434

3535
private const string CrmApiBaseUrl = "https://api.hubapi.com/crm/v3/";
3636
private const string InstallUrlFormat = "https://app-eu1.hubspot.com/oauth/authorize?client_id={0}&redirect_uri={1}&scope={2}";
37-
private const string OAuthScopes = "crm.objects.contacts.read%20crm.objects.contacts.write";
37+
private const string OAuthScopes = "oauth forms crm.objects.contacts.read%20crm.objects.contacts.write";
3838
private const string OAauthClientId = "1a04f5bf-e99e-48e1-9d62-6c25bf2bdefe";
3939

4040
private const string OAuthBaseUrl = "https://hubspot-forms-auth.umbraco.com/"; // For local testing: "https://localhost:44364/"

0 commit comments

Comments
 (0)