cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Whether you are transferring a single drive, a team or an entire organization, Movebot's cloud migration tool has been built to make your Dropbox migration simple - learn all about it 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: 

Run API on internal server with http instead of https

Run API on internal server with http instead of https

Saird_Kuipers
Explorer | Level 3

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  

1 Reply 1

Re: Run API on internal server with http instead of https

Greg-DB
Dropboxer

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://
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?