Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Chris J.2
11 years agoNew member | Level 1
Wild Card redirect uri
Hi,
Is it possible to use a wild card in a redirect_uri?
We're developing an app that can have multiple sub domains e.g.
User 1 can have a url:
https://testuser1.example.com/app
User 2 ...
Greg-DB
Dropbox Community Moderator
11 years agoThis isn't currently possible, as all OAuth 2 redirect URIs are required to be pre-registered as a matter of security. I'll be sure to pass this along as feedback though.
As mentioned though, 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/core/docs#oa2-authorize
Alternatively, you can use OAuth 1, which doesn't require pre-registered redirect URIs.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!