Laverna / laverna

Laverna is a JavaScript note taking application with Markdown editor and encryption support. Consider it like open source alternative to Evernote.
https://laverna.cc/index.html
Mozilla Public License 2.0
9.19k stars 801 forks source link

400 error with Dropbox auth on Android app #751

Open ghost opened 7 years ago

ghost commented 7 years ago

I run self-hosted Laverna with Dropbox sync and it works fine from any browser. Importing of Laverna-settings works fine, though, I can't authenticate any desktop or android Laverna app. Getting 400 Error. Having Redirect URIs: https://mydomain.com/dropbox.html and http://localhost:9000/dropbox.html Are there any specific urls to be set to connect to Dropbox to self hosted Laverna? Thank you

akomi072 commented 7 years ago

Try the following link added in Redirect URIs in your Laverna apps (created in Dropbox) "https://www.dropbox.com/1/oauth2/redirect_receiver" (exclude double quotation while adding the url) Otherwise, pick the "url" from mobile apps error page as following image, marked by red area and add the"url" to your Laverna dropbox apps Redirect URIs

400_error_dropbox_sync_issue

My Laverna apps sync over all devices following this procedure.