From d74d7bc31b34c7d4565dfe783d2f6748bcc9805c Mon Sep 17 00:00:00 2001 From: "Cheng-Han, Wu" Date: Sat, 21 May 2016 22:40:54 +0800 Subject: [PATCH] Update to use dropbox api version 2 --- lib/auth.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/auth.js b/lib/auth.js index 2915de11..f4a0ec8f 100644 --- a/lib/auth.js +++ b/lib/auth.js @@ -95,6 +95,7 @@ if (config.gitlab) { //dropbox if (config.dropbox) { passport.use(new DropboxStrategy({ + apiVersion: '2', clientID: config.dropbox.clientID, clientSecret: config.dropbox.clientSecret, callbackURL: config.serverurl + '/auth/dropbox/callback'