Small improvements to ZohoCRM-Node and OAuth fix

This commit is contained in:
Jan Oberhauser
2020-02-14 18:48:58 -08:00
parent f938693695
commit 6a08fc9da3
6 changed files with 46 additions and 17 deletions

View File

@@ -53,5 +53,24 @@ export class OAuth2Api implements ICredentialType {
description: 'For some services additional query parameters have to be set which can be defined here.',
placeholder: 'access_type=offline',
},
{
displayName: 'Authentication',
name: 'authentication',
type: 'options' as NodePropertyTypes,
options: [
{
name: 'Body',
value: 'body',
description: 'Send credentials in body',
},
{
name: 'Header',
value: 'header',
description: 'Send credentials as Basic Auth header',
},
],
default: 'header',
description: 'Resource to consume.',
},
];
}