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

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

export const figmaAuth = PieceAuth.OAuth2({
  description: '',
  authUrl: 'https://www.figma.com/oauth',
  tokenUrl: 'https://api.figma.com/v1/oauth/token',
  required: true,
  scope: ['file_content:read', 'file_metadata:read', 'file_comments:read', 'file_comments:write'],
  authorizationMethod: OAuth2AuthorizationMethod.HEADER,
});