"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
oauthutil: Don't expect tokens to have refresh URL
Nick Craig-Wood23acd3ce0151
diff --git a/oauthutil/oauthutil.go b/oauthutil/oauthutil.goindex dfd235aa5..a5da620b5 100644--- a/oauthutil/oauthutil.go+++ b/oauthutil/oauthutil.go@@ -64,7 +64,7 @@ func getToken(name string) (*oauth2.Token, error) {return nil, err}// if has data then return it- if token.AccessToken != "" && token.RefreshToken != "" {+ if token.AccessToken != "" {return token, nil}// otherwise try parsing as oldToken