Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hubspot CMS #886

Merged
merged 33 commits into from
Jul 19, 2021
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
160b208
certify-connector
troystaylor Jun 2, 2021
5fb06db
certify-connector
troystaylor Jun 2, 2021
08dd312
Revert "certify-connector"
troystaylor Jun 2, 2021
4d7fb5d
Revert "certify-connector"
troystaylor Jun 2, 2021
1ce889c
certify-connector
troystaylor Jun 2, 2021
f1a1cc3
certify-connector
troystaylor Jun 3, 2021
620a2cc
certify-connector
troystaylor Jun 4, 2021
5ee79bc
Update apiDefinition.swagger.json
troystaylor Jun 14, 2021
06373fc
Update apiDefinition.swagger.json
troystaylor Jun 14, 2021
3f91d0e
Update apiDefinition.swagger.json
troystaylor Jun 14, 2021
0b9558f
Delete icon.png
troystaylor Jun 14, 2021
c4baf93
Delete settings.json
troystaylor Jun 14, 2021
66b9a0e
Delete independent-publisher-connectors/HubSpot CRM directory
troystaylor Jun 14, 2021
413ee71
Delete independent-publisher-connectors/HubSpot Marketing directory
troystaylor Jun 14, 2021
63b601d
Delete independent-publisher-connectors/Xero Accounting directory
troystaylor Jun 14, 2021
1a8d4e6
Delete independent-publisher-connectors/Xero Payroll - UK directory
troystaylor Jun 14, 2021
a5338ce
Delete independent-publisher-connectors/Xero Projects directory
troystaylor Jun 14, 2021
e8365c6
Fix remaining descriptions, scope should be string
troystaylor Jun 15, 2021
b5a453e
Fix clientId
troystaylor Jun 15, 2021
3ef3462
apiProperties fix
mamurshe Jun 16, 2021
2e7379e
Update apiProperties.json
mamurshe Jun 17, 2021
05fc3a2
Update README.md
troystaylor Jun 17, 2021
fc84ab7
Update README.md
troystaylor Jun 17, 2021
719dea8
Update apiProperties.json
troystaylor Jun 24, 2021
569002b
Update apiProperties.json
troystaylor Jun 28, 2021
cfdbe8e
Change connectionParameters to parameters
troystaylor Jun 29, 2021
5a260b4
Update required scopes
troystaylor Jun 29, 2021
b87e7dc
Change to "redirectUrl": "https://global.consent.azure-apim.net/redir…
troystaylor Jun 30, 2021
debfb74
Fixed scopes
troystaylor Jul 11, 2021
b11e0f4
Removed unused scopes
troystaylor Jul 11, 2021
45aca12
Fix hapikey
troystaylor Jul 11, 2021
fcc3466
Removed API key connection
troystaylor Jul 19, 2021
5257429
Removed security
troystaylor Jul 19, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removed API key connection
  • Loading branch information
troystaylor authored Jul 19, 2021
commit fcc34668cccaa9357d6d6e359aac2e2cb3030d9d
85 changes: 23 additions & 62 deletions independent-publisher-connectors/HubSpot CMS/apiProperties.json
Original file line number Diff line number Diff line change
@@ -1,71 +1,32 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please delete the api-key auth.

{
  "properties": {
    "connectionParameters": {
      "token": {
        "type": "oauthSetting",
        "oAuthSettings": {
          "identityProvider": "oauth2",
          "clientId": "[Your_Value]",
          "scopes": [
            "forms files hubdb transactional-email settings.users.write conversations.visitor_identification.tokens.create integration-sync tickets e-commerce files.ui_hidden.read crm.objects.marketing_events.read accounting crm.objects.marketing_events.write crm.schemas.custom.read crm.objects.custom.read crm.objects.feedback_submissions.read sales-email-read crm.objects.custom.write forms-uploaded-files settings.users.read crm.import contacts content reports social automation settings.billing.write actions timeline business-intelligence"
          ],
          "redirectMode": "Global",
          "redirectUrl": "https://global.consent.azure-apim.net/redirect",
          "properties": {
            "IsFirstParty": "False"
          },
          "customParameters": {
            "authorizationUrl": {
              "value": "https://app.hubspot.com/oauth/authorize"
            },
            "tokenUrl": {
              "value": "https://api.hubapi.com/oauth/v1/token"
            },
            "refreshUrl": {
              "value": "https://api.hubapi.com/oauth/v1/token"
            }
          }
        }
      }
    },
    "iconBrandColor": "#da3b01",
    "capabilities": [],
    "publisher": "Hitachi Solutions",
    "stackOwner": "HubSpot"
  }
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

"properties": {
"connectionParameterSets": {
"uiDefinition": {
"displayName": "Authentication Type",
"description": "Type of authentication to be used."
},
"values": [
{
"name": "hubspot-oauth",
"uiDefinition": {
"displayName": "Use HubSpot OAuth 2.0",
"description": "Log in using HubSpot app client ID and secret."
"connectionParameters": {
"token": {
"type": "oauthSetting",
"oAuthSettings": {
"identityProvider": "oauth2",
"clientId": "[YOUR_VALUE]",
"scopes": [
"forms files hubdb transactional-email settings.users.write conversations.visitor_identification.tokens.create integration-sync tickets e-commerce files.ui_hidden.read crm.objects.marketing_events.read accounting crm.objects.marketing_events.write crm.schemas.custom.read crm.objects.custom.read crm.objects.feedback_submissions.read sales-email-read crm.objects.custom.write forms-uploaded-files settings.users.read crm.import contacts content reports social automation settings.billing.write actions timeline business-intelligence"
],
"redirectMode": "Global",
"redirectUrl": "https://global.consent.azure-apim.net/redirect",
"properties": {
"IsFirstParty": "False"
},
"parameters": {
"token": {
"type": "oauthSetting",
"oAuthSettings": {
"identityProvider": "oauth2",
"clientId": "[Your_Value]",
"scopes": [
"forms files hubdb transactional-email settings.users.write conversations.visitor_identification.tokens.create integration-sync tickets e-commerce files.ui_hidden.read crm.objects.marketing_events.read accounting crm.objects.marketing_events.write crm.schemas.custom.read crm.objects.custom.read crm.objects.feedback_submissions.read sales-email-read crm.objects.custom.write forms-uploaded-files settings.users.read crm.import contacts content reports social automation settings.billing.write actions timeline business-intelligence"
],
"redirectMode": "Global",
"redirectUrl": "https://global.consent.azure-apim.net/redirect",
"properties": {
"IsFirstParty": "False"
},
"customParameters": {
"authorizationUrl": {
"value": "https://app.hubspot.com/oauth/authorize"
},
"tokenUrl": {
"value": "https://api.hubapi.com/oauth/v1/token"
},
"refreshUrl": {
"value": "https://api.hubapi.com/oauth/v1/token"
}
}
}
}
}
},
{
"name": "api-auth",
"uiDefinition": {
"displayName": "Use HubSpot API Key",
"description": "Log in using a HubSpot API Key."
},
"parameters": {
"hapikey": {
"type": "securestring",
"uiDefinition": {
"constraints": {
"clearText": false,
"required": "true",
"tabIndex": 3
},
"schema": {
"description": "Enter your API Key for HubSpot",
"type": "securestring"
},
"displayName": "API Key generated in HubSpot"
}
"customParameters": {
"authorizationUrl": {
"value": "https://app.hubspot.com/oauth/authorize"
},
"tokenUrl": {
"value": "https://api.hubapi.com/oauth/v1/token"
},
"refreshUrl": {
"value": "https://api.hubapi.com/oauth/v1/token"
}
}
}
]
}
},
"iconBrandColor": "#da3b01",
"capabilities": [],
Expand Down