Skip to content

Commit dcc82c3

Browse files
committed
Added HubSpot secret key from variable (4)
1 parent cf8e223 commit dcc82c3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

azure-pipeline - Crm.Hubspot.OAuthProxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ steps:
3434
appSettings: |
3535
[
3636
{
37-
"name": "ClientSecret",
37+
"name": "AppSettings:ClientSecret",
3838
"value": "$(hubSpotAppSecretKey)",
3939
"slotSetting": false
4040
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ public class HubspotContactService : IContactService
3737
private const string OAuthScopes = "crm.objects.contacts.read%20crm.objects.contacts.write";
3838
private const string OAauthClientId = "1a04f5bf-e99e-48e1-9d62-6c25bf2bdefe";
3939

40-
private const string OAuthRedirectUrl = "https://localhost:44364/";
41-
private const string OAuthTokenProxyUrl = "https://localhost:44364/oauth/v1/token";
40+
private const string OAuthRedirectUrl = "https://hubspot-forms-auth.rainbowsrock.net/";
41+
private const string OAuthTokenProxyUrl = "https://hubspot-forms-auth.rainbowsrock.net//oauth/v1/token";
4242

4343
private const string AccessTokenCacheKey = "HubSpotOAuthAccessToken";
4444

0 commit comments

Comments
 (0)