cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
If you’ve changed your email address, now's the perfect time to update it on your Dropbox account and we’re here to help! Learn more 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: 

Dropbox integration with other applications

Dropbox integration with other applications

Kishore4
New member | Level 2

Hey, We have developed an on-premises application and have integrated dropbox older version. Now since dropbox has upgraded its API we have no other option than to migrate from v1 to v2. But the problem in v2 is that we require dynamic redirect uri options. That is we will have different redirect uri for different users. But v2 compels us to store the redirect uri before hand in the dropbox account which is not possible in our case. Hope you understand our problem and provide us with a better solution.

1 Reply 1

Greg-DB
Dropbox Staff
As a security feature, OAuth 2 redirect URIs must be pre-registered exactly. Wildcards and dynamic registration are not supported.

One thing you may be able to do instead is to use one static redirect URI but encode the necessary information in the 'state' parameter, and decode it as necessary after the redirect back to your app, to handle it as necessary:

https://www.dropbox.com/developers/documentation/http/documentation#oauth2-authorize

Alternatively, you could forgo using a redirect URI entirely. With the "code" flow, you can omit redirect_uri and have the user copy and paste the code manually.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?