Add OAuth2 support to Monday.com node (#1642)

This commit is contained in:
Ricardo Espinoza
2021-04-15 18:35:39 -04:00
committed by GitHub
parent d87d497371
commit 1a0e129921
4 changed files with 99 additions and 8 deletions

View File

@@ -64,9 +64,44 @@ export class MondayCom implements INodeType {
{
name: 'mondayComApi',
required: true,
displayOptions: {
show: {
authentication: [
'accessToken',
],
},
},
},
{
name: 'mondayComOAuth2Api',
required: true,
displayOptions: {
show: {
authentication: [
'oAuth2',
],
},
},
},
],
properties: [
{
displayName: 'Authentication',
name: 'authentication',
type: 'options',
options: [
{
name: 'Access Token',
value: 'accessToken',
},
{
name: 'OAuth2',
value: 'oAuth2',
},
],
default: 'accessToken',
description: 'The resource to operate on.',
},
{
displayName: 'Resource',
name: 'resource',