One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
Saird_Kuipers
6 years agoExplorer | Level 3
Run API on internal server with http instead of https
Dear all,
I developed a webbased django app locally which works perfectly fine. No I'm stuggling to run the app on the internal server. The Redirect URIs returns:' Non-local OAuth 2 redirect URIs may not start with "http:" or "javascript:"' But the internal server is not jet capable of handling https. Is it possible to run the OAuth2 on the internal server with http or do I need to change the internal server settings? If it is possible what is the correct approach to get this done.
Kind regards,
Siard Kuipers
- Greg-DB
Dropbox Staff
As a matter of security, Dropbox only allows "localhost" redirect URIs to use http://, and there isn't a setting to disable or workaround this. So, the only options would be:
- use a "localhost" server for your http:// redirect URI for development/testing
- use the "code" flow ("response_type=code") but omit the redirect URI entirely, so that the user has to copy/paste the authorization code manually
- switch to https://
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 15 hours ago
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 or Facebook.
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!