Fixed scope issue

This commit is contained in:
Rupenieks 2020-08-12 16:36:34 +02:00
parent 471e285a11
commit 777672e05d
2 changed files with 5 additions and 17 deletions

View file

@ -27,8 +27,8 @@ export class DisqusOAuth2Api implements ICredentialType {
{
displayName: 'Scope',
name: 'scope',
type: 'string' as NodePropertyTypes,
default: 'read,write',
type: 'hidden' as NodePropertyTypes,
default: 'admin',
},
{
displayName: 'Auth URI Query Parameters',
@ -39,21 +39,8 @@ export class DisqusOAuth2Api implements ICredentialType {
{
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.',
type: 'hidden' as NodePropertyTypes,
default: 'body'
},
];
}

View file

@ -52,6 +52,7 @@
"dist/credentials/CustomerIoApi.credentials.js",
"dist/credentials/CrateDb.credentials.js",
"dist/credentials/DisqusApi.credentials.js",
"dist/credentials/DisqusOAuth2Api.credentials.js",
"dist/credentials/DriftApi.credentials.js",
"dist/credentials/DriftOAuth2Api.credentials.js",
"dist/credentials/DropboxApi.credentials.js",