Connecter Dropbox à Auth0
1
Configuration de Dropbox
- Rendez-vous sur la page Compte développeur Dropbox et inscrivez-vous.
- Créez une nouvelle application dans la console d’applications Dropbox.
- Lors de la création de l’application, sélectionnez Scoped access.
- Sélectionnez le type d’accès dont vous avez besoin.
- Donnez un nom unique à votre application.
- Sélectionnez Create app.
- Sélectionnez le lien Show App Secret pour afficher le secret de l’application.
- Copiez la App Key et le App Secret.
-
Configurez l’URI de redirection OAuth :
- URI de redirection :
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. - URI de redirection :
- Sélectionnez Add pour enregistrer l’URI de redirection.
- Configurez les autorisations requises par votre application.
- Sélectionnez Save changes.
2
Configuration d’Auth0
Ce guide vous explique comment configurer la connexion Dropbox dans Auth0. Pour un exemple complet montrant comment configurer votre application afin d’appeler des API tierces au nom de l’utilisateur à l’aide d’une telle connexion, consultez le guide de démarrage rapide Appeler des API tierces au nom de l’utilisateur.
Exemple de configuration de Token Vault
Pour configurer Token Vault pour votre connexion Dropbox, vous pouvez utiliser l’extrait de code suivant dans votre application :Next steps
- To learn how to configure applications to access Token Vault, read Configure Token Vault.
- If your application uses Organizations, authenticate the user with the target organization before initiating the Connected Accounts flow. Connected accounts remain linked to the individual user profile.
- To learn how to get an access token to make a tool call, complete the Call third-party APIs on user’s behalf Quickstart.