We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
axew3
8 years agoCollaborator | Level 8
Chooser and domains to add
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 alrea...
- 8 years agoThere unfortunately is no way to programmatically add Chooser domains. I'm not aware of any plans to build a way to do so, but I'm sending this along as a feature request.
WCByrne
4 years agoExplorer | Level 4
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?
Greg-DB
Dropbox Community Moderator
4 years agoWCByrne 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.
About Discuss Dropbox Developer & API
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!
Related Content
- 4 years agoanonymous