Skip to content

Commit a04b947

Browse files
authored
Merge pull request #15 from umbraco/feature/hubspot-app-auth-ref
Update authorization details: client ID and scopes.
2 parents 0065c9d + 121a48f commit a04b947

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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";

src/Umbraco.Cms.Integrations.Crm.Hubspot/Umbraco.Cms.Integrations.Crm.Hubspot.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<PackageIconUrl></PackageIconUrl>
1111
<PackageProjectUrl>https://github.com/umbraco/Umbraco.Cms.Integrations</PackageProjectUrl>
1212
<RepositoryUrl>https://github.com/umbraco/Umbraco.Cms.Integrations</RepositoryUrl>
13-
<Version>1.0.1</Version>
13+
<Version>1.0.2</Version>
1414
<Authors>Umbraco HQ</Authors>
1515
<Company>Umbraco</Company>
1616
</PropertyGroup>

src/Umbraco.Cms.Integrations.Crm.Hubspot/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<info>
44
<package>
55
<name>Umbraco.Cms.Integrations.Crm.Hubspot</name>
6-
<version>1.0.1</version>
6+
<version>1.0.2</version>
77
<iconUrl></iconUrl>
88
<licence url="https://opensource.org/licenses/MIT">MIT</licence>
99
<url>https://github.com/umbraco/Umbraco.Cms.Integrations</url>

0 commit comments

Comments
 (0)