cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done here!

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: 

How to link Dropbox Account to My App

How to link Dropbox Account to My App

Paul_Portnexus
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

Paul_Portnexus
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

Re: How to link Dropbox Account to My App

Greg-DB
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

Re: How to link Dropbox Account to My App

Paul_Portnexus
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

Re: How to link Dropbox Account to My App

Greg-DB
Dropboxer

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

Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    Paul_Portnexus New member | Level 2
What do Dropbox user levels mean?
Need more support?