Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dropbox throws "Invalid redirect_uri" error, although exactly the same url is specified in the app

I want to start my Dropbox-app by linking to a dropbox account as specified here: https://www.dropbox.com/developers/datastore/tutorial/js

However, dropbox won't redirect back to my website and throws "Invalid redirect_uri" I specified various redirect urls and double checked my app_key, but i could not get it to work. What am i doing wrong?

Thanks in advance!

like image 498
Wannabechilean Avatar asked Jan 22 '26 07:01

Wannabechilean


1 Answers

When I had this issue, I realized that when refreshing the dropbox app console page, it hadn't saved my domain value. Apparently, ONLY HTTPS prefixed domains will work. When I added https it worked fine and saved my value, then I was able to get that to work with my javascript, but I was wishing that I didn't have to setup a server with a cert just to test. Security security, I guess.

http://blah.com     // didn't work
https://blah.com    // did work
like image 115
Ryan Avatar answered Jan 24 '26 05:01

Ryan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!