cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

How to link Dropbox Account to My App

New member | Level 2
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
Highlighted

Re: How to link Dropbox Account to My App

New member | Level 2
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?

View solution in original post

3 Replies 3
Highlighted

Re: How to link Dropbox Account to My App

Dropboxer
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

Highlighted

Re: How to link Dropbox Account to My App

New member | Level 2
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?

View solution in original post

Highlighted

Re: How to link Dropbox Account to My App

Dropboxer
Dropboxer

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

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Polls
Have you been keeping up good habits while working from home?
We've created a working from home cheat sheet to help keep up on those habits, check it out here.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?