Update to use dropbox api version 2
This commit is contained in:
parent
40967ce7e2
commit
d74d7bc31b
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ if (config.gitlab) {
|
||||||
//dropbox
|
//dropbox
|
||||||
if (config.dropbox) {
|
if (config.dropbox) {
|
||||||
passport.use(new DropboxStrategy({
|
passport.use(new DropboxStrategy({
|
||||||
|
apiVersion: '2',
|
||||||
clientID: config.dropbox.clientID,
|
clientID: config.dropbox.clientID,
|
||||||
clientSecret: config.dropbox.clientSecret,
|
clientSecret: config.dropbox.clientSecret,
|
||||||
callbackURL: config.serverurl + '/auth/dropbox/callback'
|
callbackURL: config.serverurl + '/auth/dropbox/callback'
|
||||||
|
|
Loading…
Reference in a new issue