fix #1599: switched to Dropbox short-lived access tokens

This commit is contained in:
antelle 2020-11-19 16:05:08 +01:00
parent b85d25614b
commit 207ff77778
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
3 changed files with 5 additions and 2 deletions

View File

@ -82,7 +82,8 @@ class StorageDropbox extends StorageBase {
clientSecret: this._getSecret(),
pkce: true,
width: 600,
height: 400
height: 400,
urlParams: { 'token_access_type': 'offline' }
};
}

View File

@ -244,7 +244,8 @@ class StorageBase {
'state': session.state,
'redirect_uri': session.redirectUri,
'response_type': 'code',
...pkceParams
...pkceParams,
...opts.urlParams
});
if (listener) {

View File

@ -4,6 +4,7 @@ Release notes
`-` fixed a performance issue in searching entries
`*` improved the "Show all file" checkbox behavior
`+` shortcut to copy OTP
`*` switched to Dropbox short-lived access tokens
`-` fixed several issues in field editing
`-` fix #1561: error during loading configs after reset