cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

Re: How to link Dropbox Account to My App

How to link Dropbox Account to My App

Paul_Portnexus
New member | Level 2
Go to solution

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

Paul_Portnexus
New member | Level 2
Go to solution

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

Greg-DB
Dropbox Staff
Go to solution

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

Paul_Portnexus
New member | Level 2
Go to solution

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?

Greg-DB
Dropbox Staff
Go to solution

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

Need more support?