Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

535 B
Raw Blame
import { PieceAuth } from '@activepieces/pieces-framework';

export const dropboxAuth = PieceAuth.OAuth2({
  description: '',
  authUrl: 'https://www.dropbox.com/oauth2/authorize',
  tokenUrl: 'https://api.dropboxapi.com/oauth2/token',
  required: true,
  // include token_access_type=offline as a parameter on Authorization URL in order to return a refresh_token
  extra: { token_access_type: 'offline' },
  scope: [
    'files.metadata.write',
    'files.metadata.read',
    'files.content.write',
    'files.content.read',
  ],
});