diff --git a/packages/nodes-base/credentials/DropboxOAuth2Api.credentials.ts b/packages/nodes-base/credentials/DropboxOAuth2Api.credentials.ts index 11e290bd8e..c3c9f248db 100644 --- a/packages/nodes-base/credentials/DropboxOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/DropboxOAuth2Api.credentials.ts @@ -3,6 +3,11 @@ import { NodePropertyTypes, } from 'n8n-workflow'; +const scopes = [ + 'files.content.write', + 'files.content.read', + 'sharing.read', +]; export class DropboxOAuth2Api implements ICredentialType { name = 'dropboxOAuth2Api'; @@ -30,13 +35,13 @@ export class DropboxOAuth2Api implements ICredentialType { displayName: 'Scope', name: 'scope', type: 'hidden' as NodePropertyTypes, - default: '', + default: scopes.join(' '), }, { displayName: 'Auth URI Query Parameters', name: 'authQueryParameters', type: 'hidden' as NodePropertyTypes, - default: '', + default: 'token_access_type=offline', }, { displayName: 'Authentication', diff --git a/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/RealtimeDatabase.node.ts b/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/RealtimeDatabase.node.ts index 82c9d3fc01..38eaac6d0c 100644 --- a/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/RealtimeDatabase.node.ts +++ b/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/RealtimeDatabase.node.ts @@ -18,7 +18,7 @@ import { export class RealtimeDatabase implements INodeType { description: INodeTypeDescription = { - displayName: 'Google Firebase Realtime Database', + displayName: 'Google Cloud Realtime Database', name: 'googleFirebaseRealtimeDatabase', icon: 'file:googleFirebaseRealtimeDatabase.png', group: ['input'],