Announcements
Known issues updated. Learn more
Highlighted

How to link Dropbox Account to My App

New member | Level 2

I have finished devlopment of my app. Now, I would like to link other dropbox accounts to my app. How can I do that? Does the dropbox user search for and link my app; or must I setup a dropbox user to use the app; or something else?

1 Accepted solution

Accepted Solutions

Re: How to link Dropbox Account to My App

New member | Level 2

OK. I think I have this figured out.

For My App, we are uploading videos from a comapny's employees. We want to authorize just one dropbox account - the account of the company. So, on our web portal we have an "Authorize" button which re-directs the user to the dropbox authoriz page (https://www.dropbox.com/oauth2/authorize). Once the user authorizes the company account is linked to my app. The redirect URL for our app will receive the access token. I save the access toekn in our server database and can re-use the toekn since it never expires.

Do I have the flow correct?

Reply
Loading...
3 Replies

Re: How to link Dropbox Account to My App

Dropboxer

To allow other users to connect their Dropbox accounts to your app, you should implement the OAuth app authorization flow in your app. The process would start from inside your app itself, e.g., in response to some user input indicating that they want to connect to Dropbox, such as them clicking a button in your UI.

You can find documentation on the OAuth flow here:

https://www.dropbox.com/developers/documentation/http/documentation#authorization

There's also an OAuth Guide that may be helpful here:

https://www.dropbox.com/developers/reference/oauth-guide

Reply
Loading...

Re: How to link Dropbox Account to My App

New member | Level 2

OK. I think I have this figured out.

For My App, we are uploading videos from a comapny's employees. We want to authorize just one dropbox account - the account of the company. So, on our web portal we have an "Authorize" button which re-directs the user to the dropbox authoriz page (https://www.dropbox.com/oauth2/authorize). Once the user authorizes the company account is linked to my app. The redirect URL for our app will receive the access token. I save the access toekn in our server database and can re-use the toekn since it never expires.

Do I have the flow correct?

Reply
Loading...

Re: How to link Dropbox Account to My App

Dropboxer

Yes, that's correct. Let us know if you run in to any issues.

Reply
Loading...
API Support

Have a question? Our Dropbox Community is here to help you find an answer!
You won’t have to wait too long for a reply, but why not learn more about the Community while you’re here.

Not the right discussion for you? Find out what else our Community has to say about API Support.

Or, search our Help Center for even more.

Who's talking
Top contributors to this post