At line 3 changed 4 lines |
__Dropbox Integration Overview__:\\ |
\\ |
__!!! Proxy Configuration:__ If your server accesses the internet through a proxy, make sure to whitelist the following domains for DropBox Authentication and storage access: __api.dropboxapi.com__\\ |
__Restrictions !!!__:\\ |
__Dropbox Integration Overview__: Dropbox REST API based integration. ([Documentation Link|https://www.dropbox.com/developers/documentation/http/documentation])\\ |
---- |
__⚠️ Proxy Configuration:__ If your server accesses the internet through a proxy, make sure to whitelist the following domains for DropBox Authentication and storage access: __api.dropboxapi.com__\\ |
---- |
__⚠️ Restrictions__:\\ |
At line 11 added one line |
---- |
At line 11 changed one line |
Generate an API Key Using Dropbox Developer Portal: [Dropbox My apps Link|https://www.dropbox.com/developers/apps?_tk=pilot_lp&_ad=topbar4&_camp=myapps]\\ |
Generate an __API Key__ using the __Dropbox Developer Portal__: [Dropbox My apps Link|https://www.dropbox.com/developers/apps?_tk=pilot_lp&_ad=topbar4&_camp=myapps]\\ |
At line 14 changed 2 lines |
• Choose the appropriate API.\\ |
• Choose the type of access:\\ |
__1.)__ Choose the appropriate API.\\ |
__2.)__ Choose the type of access:\\ |
At line 18 changed 3 lines |
• Name your app and click Create App.\\ |
• Once the app is created, you’ll be redirected to the app settings page.\\ |
• Under the Settings tab, you’ll find your App key (API key) and App secret.\\ |
__3.)__ Name your app and click Create App.\\ |
__4.)__ Once the app is created, you’ll be redirected to the app settings page.\\ |
__5.)__ Under the Settings tab, you’ll find your App key (API key) and App secret.\\ |
At line 22 changed one line |
The __Redirect UR__L must be added in the following format:\\ |
⚠️ The __Redirect URL__ must be added in the following format:\\ |
At line 27 changed one line |
It is important that the URL ends with ?command=register_dropbox_api, as required by the Dropbox integration process.\\ |
It is important that the URL ends with __?command=register_dropbox_api__, as required by the Dropbox integration process.\\ |
\\ |
---- |
__⚠️ Note:__ For [CrushOIDC] Plugin the __Redirect URL__ must be added in the following format: |
{{{ |
https://www.your.crushftp.com/SSO_OIDC/ |
}}}\\ |
It is important that the URL ends with __/SSO_OIDC/__, as required by the [CrushOIDC] integration.\\ |
---- |
At line 31 changed one line |
__Grant permissions for your api key: __\\ |
⚠️ Grant __Permissions__ for __Your Dropbox API__ Key. Click __Submit__ to save your changes.\\ |
At line 46 added one line |
---- |
At line 39 changed one line |
__!!! Important__: |
__⚠️ Important__: |
At line 44 removed 4 lines |
\\ |
Now that the API is enabled, and your credentials are setup, and your redirect domain is configured, you can use the credentials in CrushFTP to get your Dropbox auth token and get access.\\ |
In the User Manager, add a new remote VFS item type and set the protocol to be "Dropbox".\\ |
Take your Dropbox App key and App secret and combine them together with a tilde as separator:\\ |
At line 49 changed 8 lines |
{{{ |
ap_key: ew7XXXXXXXXXXo6o |
ap_secret: by78XXXXXXXvW4h |
}}} |
results in: |
{{{ |
ew7XXXXXXXXXXo6o~by78XXXXXXXvW4h |
}}} |
---- |
__DropBox Remote [VFS] settings__:\\ |
At line 58 changed 3 lines |
That entire string will serve as your __Username__ for Dropbox://.\\ |
Paste it into the Username field, then click __Get Access Token__ to complete the configuration.\\ |
[attachments|dropbox_vfs_before_setup.png]\\ |
Select the __DropBox__ item type and click the __Get Access Token__ button.\\ |
At line 62 changed 2 lines |
Grant access to CrushFTP in the newly displayed form.\\ |
[attachments|dropbox_allow_app.png]\\ |
[Dropbox Integration/dropbox_vfs_before_setup.png]\\ |
At line 65 changed 2 lines |
For __Dropbox Business Accounts (!!!)__:\\ |
__ Dropbox Business User Email: __Enter the team member’s email address associated with the __Dropbox Business__ account. Team folders will be accessed on behalf of this user.\\ |
__⚠️ Important__: To obtain the __Refresh Token__, the CrushFTP WebInterface’s host and port must match the __Redirect URL__ specified in the __Dropbox Developer Portal__. In our example, it was: __https://your.crushftp.domain.com/__\\ |
At line 68 changed one line |
The password should be filled in, and you can proceed to test the connection:\\ |
Enter the __App Key__ , __App Secret__. Proceed with the authentication and authorization process.\\ |
__⚠️ Important__: Be sure to sign in with the __Dropbox Account__ that has the __necessary permissions__, as configured in the __Dropbox Developer Portal__ (mentioned above). This will automatically configure the __User name__ and __Password__.\\ |
\\ |
[Dropbox Integration/dropbox_appKey_appSecret_form.png]\\ |
\\ |
Grant access to CrushFTP in the form that appears after authentication. Review the requested permissions and click __Allow__ (or the equivalent button) to authorize CrushFTP to access the necessary resources.\\ |
\\ |
[Dropbox Integration/dropbox_allow_app.png]\\ |
\\ |
This will automatically configure the __User name__ and __Password__:\\ |
At line 76 added 3 lines |
\\ |
__⚠️ Dropbox Business Accounts__:\\ |
__Dropbox Business User Email__: Enter the __email address of the team member__ associated with the Dropbox Business account. All Team Folders will be accessed on behalf of this user.\\ |