Skip to content

Commit 7abaa24

Browse files
committed
Update authorization details: client ID and scopes.
1 parent 3bd9a82 commit 7abaa24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Umbraco.Cms.Integrations.Crm.Hubspot/Controllers/FormsController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ public class FormsController : UmbracoAuthorizedApiController
5252
private readonly ILogger _logger;
5353
#endif
5454

55-
public const string OAuthClientId = "8b4db9a8-3b78-48bc-85b0-96a4211a1c83";
56-
private const string OAuthScopes = "oauth forms"; // oauth forms
55+
public const string OAuthClientId = "1a04f5bf-e99e-48e1-9d62-6c25bf2bdefe";
56+
private const string OAuthScopes = "oauth forms crm.objects.contacts.read crm.objects.contacts.write";
5757
private const string OAuthProxyBaseUrl = "https://hubspot-forms-auth.umbraco.com/"; // for local testing: https://localhost:44364
5858
private const string OAuthProxyEndpoint = "{0}oauth/v1/token";
5959
private const string HubspotServiceName = "HubspotForms";

0 commit comments

Comments
 (0)