Connect Figma to Auth0
1
Figma setup
- Visit the Figma Developer account page and sign up.
- Create a new app in the Figma Developer Dashboard.
- Provide a name for your app and select a team or organization to associate it with.
- Copy and securely store the Client ID and Client Secret that Figma provides.
-
Configure OAuth redirect URL:
- Redirect URL:
https://YOUR_AUTH0_DOMAIN/login/callback
You can find the Auth0 domain in the Auth0 Dashboard.You can find this under Applications > [Your Application] > Settings > Basic Information > Domain.If you are using the custom domains feature, your Auth0 domain is the custom domain. You can find this under Branding > Custom Domains. - Redirect URL:
- Select the necessary scopes that your application needs to access (current_user:read, file_content:read, file_comments:write, etc.).
- Publish it.
2
Auth0 setup
- In the Auth0 Dashboard, go to Authentication > Social.
- Select Create Connection, then choose Figma.
- Click Continue.
- In General:
- Enter the Client ID and Client Secret from your Figma OAuth app.
- Under Attributes, select the scope(s) required for your application. These determine what permissions your application can request from Figma, whether for authentication (such as accessing basic profile details) or for API access (such as connecting to the provider's APIs).
- Add any additional scopes your application requires in the Additional Scopes field.
- In Advanced, Enable Token Vault. This lets the connection retrieve and securely store access tokens for third‑party APIs. Learn more in Configure Token Vault.
- Click Create.
- After creation, you are redirected to the Applications page. Select the application(s) to enable this connection for.
Note: In a new Auth0 tenant, you can select the Default App. - Once you have created your Figma social connection, test your connection to ensure the setup is working correctly before using it in your application.
This guide walks you through setting up the Figma connection in Auth0. For an end-to-end example that shows how to set up your app to call third-party APIs on the user's behalf using a connection like this, read the Call Other's APIs on User's Behalf Quickstart.
Token Vault configuration example
To configure the Token Vault for your Figma connection, you can use the following code snippet in your application:- JavaScript
- Python
Next steps
- To learn how to link user accounts, read Client-initiated account linking.
- To learn how to configure applications to access Token Vault, read Configure Token Vault.
- To learn how to get an access token to make a tool call, complete the Call other’s APIs on user’s behalf Quickstart.