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

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

const authGuide = `
### To obtain your Vimeo API access token, follow these steps:

1. Login to your Vimeo account
2. Create your app on Vimeo, navigate to https://developer.vimeo.com/apps
3. After creating the app, copy **Client identifier** and fill it to **Client ID** field below.
4. Scroll down and Copy **Client secrets** and fill it to **Client Secret** field below.
5. Scroll down and find "Your callback URLs" section, and add new URL. Make sure you copy the **Redirect URL** from the field below to Vimeo's redirect URL.
6. Click **Connect** from below and allow access to your account.
7. Save
`;

export const vimeoAuth = PieceAuth.OAuth2({
  description: authGuide,
  authUrl: 'https://api.vimeo.com/oauth/authorize',
  tokenUrl: 'https://api.vimeo.com/oauth/access_token',
  required: true,
  scope: ['public', 'private', 'edit', 'upload', 'delete', 'interact'],
});