Connecting to Dropbox
Connecting to Dropbox
Dropbox uses the OAuth authentication standard.
Dropbox OAuth Scopes
You need to choose between using CData's embedded OAuth app or Create a Custom OAuth App.
The embedded app includes the following scopes:
- account_info.read
- file_requests.read
- files.content.read
- files.content.write
- files.metadata.read
- sharing.read
- sharing.write
Desktop Applications
CData provides an embedded OAuth application that simplifies OAuth desktop Authentication. Alternatively, you can create a custom OAuth application. See Create a Custom OAuth App for information about creating custom applications and reasons for doing so.Get and Refresh the OAuth Access Token
After setting the following, you are ready to connect:
- OAuthClientId (custom applications only): Set this to the client Id assigned when you registered your app.
- OAuthClientSecret (custom applications only): Set this to the client secret assigned when you registered your app.
- CallbackURL (custom application only): Set this to the redirect URI defined when you registered your app. For example: http://localhost:33333