A file management agent that can automatically organize files into folders based on rules, create and manage shared links, and initiate file requests.

Connect Dropbox to Auth0

1

Dropbox setup

  1. Visit the Dropbox Developer account page and sign up.
  2. Create a new app in the Dropbox App Console.
  3. On create an app choose “Scoped access”.
  4. Choose the type of access you need.
  5. Give your app a unique name.
  6. Click Create app.
  7. Select the Show App Secret link to reveal the app secret.
  8. Copy the App Key and App Secret.
  9. Configure OAuth redirect URI:
    • Redirect URI: 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.
  10. Click the Add button to save the redirect URI.
  11. Configure the permissions your app needs.
  12. Save changes.
To learn more about setting up Dropbox, read the Developer guide for Dropbox documentation.
2

Auth0 setup

  1. In the Auth0 Dashboard, go to Authentication > Social.
  2. Select Create Connection, then choose Dropbox.
  3. Click Continue.
  4. In General:
    1. Enter the Client ID and Client Secret from your Dropbox OAuth app.
    2. Under Attributes, select the scope(s) required for your application. These determine what permissions your application can request from Dropbox, whether for authentication (such as accessing basic profile details) or for API access (such as connecting to the provider's APIs).
  5. 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.
  6. Click Create.
  7. 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.
  8. Once you have created your Dropbox 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 Dropbox 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 Dropbox connection, you can use the following code snippet in your application:
const auth0AI = new Auth0AI();

export const withDropboxConnection = auth0AI.withTokenForConnection({
  connection: "dropbox",
  scopes: ["profile", "offline", ...],
  refreshToken: getAuth0RefreshToken(),
});

Next steps