Figma
Access Figma files and dev resources through OAuth for design-to-code workflows.
Auth Model
User OAuth
Standard OAuth 2.0 authorization. A user grants consent and receives an access token. Authpipe handles refresh, rotation, and health monitoring automatically.
Connection Flow
// Get a valid credential — always fresh, zero latency const { credential } = await authpipe.getCredential({ provider: 'figma', tenantId: 'org_acme', userId: 'user_123', });
// Use the credential with the provider API const response = await fetch('https://api.example.com/data', { headers: { Authorization: `Bearer ${credential}` }, });
// Drop-in React component <ConnectButton provider="figma" onSuccess={(conn) => console.log('Connected!', conn)} />
Available Scopes
Permissions you can request when connecting to Figma.
files:read Read access to Figma files and their contents
file_variables:read Read variables and variable collections in files
file_variables:write Create, update, and delete variables and variable collections
file_comments:write Post comments on Figma files
file_dev_resources:read Read dev resources attached to files
file_dev_resources:write Create, update, and delete dev resources attached to files
library_analytics:read View analytics data for design system libraries
webhooks:write Create and manage webhooks for file and project events
What Authpipe handles for Figma
OAuth Orchestration
PKCE, state validation, callback handling, and provider-specific quirks — all automatic.
Encrypted Vault
AES-256-GCM encryption with per-tenant key isolation. OAuth tokens, API keys, and webhook secrets — never exposed to the frontend.
Silent Refresh
Proactive token refresh before expiry. SDK returns from local cache with zero latency.
Health Monitoring
Scheduled checks detect revoked tokens and expired credentials before users notice.
More Design providers
Canva
Create and manage designs and assets with Canva via OAuth authentication.
LottieFiles
Search and manage Lottie animations with LottieFiles using API key authentication.
Miro
Collaborate on whiteboards and visual workspaces with Miro via OAuth authentication.
Webflow
Build and manage websites and CMS content with Webflow via OAuth authentication.
Ready to connect Figma?
Get your first 100 connections free. Set up in minutes with our SDK.