Fixes Dropbox authentication (now calling reset() when needed, and properly done asynchronously)

This commit is contained in:
Thomas Tempelmann
2015-06-16 11:42:36 +02:00
parent 580311c8b4
commit 114f122186
2 changed files with 59 additions and 54 deletions
+6 -6
View File
@@ -18,13 +18,13 @@ var CONFIG = {
/*
* The key below needs to be set individually by you if you want to use the Dropbox load/save feature.
* To do that, first sign up with Dropbox (may require a specific developer / SDK sign-up), go to
* https://www.dropbox.com/developers/apps and use "Create app" to add a new app. Call it, for instance,
* "wwwsqldesigner", and give it the "App Folder" permission. Unter "OAuth 2", "Redirect URIs", add
* the URL to the "dropbox-oauth-receiver.html" file on your server. E.g, if you install wwwsqldesigner
* on your local web server under "http://localhost/sqldesigner/", then add
* https://www.dropbox.com/developers/apps and use "Create app" to add a new "Dropbox API app".
* Limit the app to its own folder. Call it, for instance, "wwwsqldesigner".
* Under "OAuth 2", "Redirect URIs", add the URL to the "dropbox-oauth-receiver.html" file on your server.
* E.g, if you install wwwsqldesigner on your local web server under "http://localhost/sqldesigner/", then add
* http://localhost/sqldesigner/dropbox-oauth-receiver.html as a Redirection URI.
* Copy the shown "App key" and paste it here below:
* Copy the shown "App key" and paste it here below instead of the null value:
*/
DROPBOX_KEY: null // "your app key"
DROPBOX_KEY: null // such as: "d6stdscwewhl6sa"
}