Skip to content

Commit

Permalink
fix(HubSpot Node): Add notice to HubSpot credentials about API Key Su…
Browse files Browse the repository at this point in the history
…nset (#4570)

✨ Add notice about depreciation of Hubspot API token
  • Loading branch information
agobrech authored Nov 10, 2022
1 parent 49748f2 commit 9b5db8d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion packages/nodes-base/credentials/HubspotApi.credentials.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
import {
IAuthenticateGeneric,
ICredentialTestRequest,
ICredentialType,
INodeProperties,
} from 'n8n-workflow';

export class HubspotApi implements ICredentialType {
name = 'hubspotApi';
displayName = 'HubSpot API';
documentationUrl = 'hubspot';
properties: INodeProperties[] = [
{
displayName:
'On 30 November, 2022 Hubspot will remove API key support. You will have to connect to HubSpot using private app or Oauth2 auth method. <a target="_blank" href="https://developers.hubspot.com/changelog/upcoming-api-key-sunset">More details (HubSpot.com)</a>',
name: 'notice',
type: 'notice',
default: '',
},
{
displayName: 'API Key',
name: 'apiKey',
Expand Down

0 comments on commit 9b5db8d

Please sign in to comment.