Discuss Dropbox Developer & API
Cheers to all lovely and cool people here, and especially to @Greg that often supports me in the past with all his answers!
Just a question more after long time about development that i know already the actual answer (i think)
on chooser, i need to add domains where the code will run or, it will not run on domains not listed/allowed.
The question is: there is no actual oauth endpoint to manage this automatically, but is considered to be added in the future or not? Would be possible?
If not i have to finalize my oauth class to upload files because i refuse to add manually domains (maybe for a free plugin).
Is there still no way to do this? We are looking to implement the chooser in our service but we also support custom subdomains and domains for our users to customize the url they use to access our service. With that feature it is not feasible to manually add each domain as users can create them on their own.
For reference, we are also looking to implement the Google picker and found that they provide an API keys API (quite a name). I was hoping to find a similar API for dropbox.
If this isn't possible, I'm not sure we can include the DB chooser which is a bummer.
Any ideas?
@WCByrne Unfortunately there still isn't a way to register these programmatically.
For reference though, for the case of subdomains at least, you can register just the main domain, e.g., example.com, which would enable use of the Chooser on any subdomain of example.com, e.g., sub1.example.com, sub2.example.com, webmail.example.com, etc.
Alternatively, you can embed an iframe containing the button, which would be hosted on your own domain. This would let you just set that one domain in the app options page. It would be very important that you then restrict the set of domains that you allow to iframe your button though, but this list would now be under your control so you can set it programmatically.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!