diff --git a/lib/auth.js b/lib/auth.js index 2915de1..f4a0ec8 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'