Connect Figma to Auth0
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.
Token Vault configuration example
To configure the Token Vault for your Figma connection, you can use the following code snippet in your application:Next steps
- 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.