rclone/backend
albertony 9410ccb27a box: fix reconnect failing with HTTP 400 Bad Request
The error is:

  Error: failed to configure token with jwt authentication: jwtutil: failed making auth request: 400 Bad Request

With the following additional debug information:

  jwtutil: Response Body: {"error":"invalid_grant","error_description":"Please check the 'aud' claim. Should be a string"}

Problem is that in jwt-go the RegisteredClaims type has Audience field (aud claim) that
is a list, while box apparantly expects it to be a singular string. In jwt-go v4 we
currently use there is an alternative type StandardClaims which matches what box wants.
Unfortunately StandardClaims is marked as deprecated, and is removed in the
newer v5 version, so we this is a short term fix only.

Fixes #7114
2023-07-14 10:27:51 +01:00
..
alias build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
all pikpak: new backend 2023-04-04 16:33:48 +01:00
amazonclouddrive build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
azureblob azureblob: fix "Entry doesn't belong in directory" errors when using directory markers 2023-06-23 18:01:11 +01:00
b2 accounting: Make checkers show what they are doing 2023-03-01 11:10:38 +00:00
box box: fix reconnect failing with HTTP 400 Bad Request 2023-07-14 10:27:51 +01:00
cache cache: remove unused code (fixes issue reported by the unused linter) 2023-03-26 14:28:15 +02:00
chunker rcat: preserve metadata when Copy falls back to Rcat 2022-11-10 12:04:35 +00:00
combine backend: fix misspellings found by codespell 2023-06-26 14:34:52 +01:00
compress combine,compress,crypt,hasher,union: support wrapping backends with PartialUploads 2023-06-14 10:52:03 +01:00
crypt backend: fix misspellings found by codespell 2023-06-26 14:34:52 +01:00
drive docs: clarify --server-side-across-configs 2023-06-13 17:58:27 +01:00
dropbox dropbox: fix result chans not taken care by defer fun 2023-06-28 19:49:38 +01:00
fichier fichier: add cdn option to use CDN for download - Fixes #6943 2023-04-18 17:35:21 +01:00
filefabric Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
ftp ftp: Fix "501 Not a valid pathname." errors when creating directories 2023-05-09 17:27:35 +01:00
googlecloudstorage gcs: fix "Entry doesn't belong in directory" errors when using directory markers 2023-06-23 18:01:11 +01:00
googlephotos fs: move operations.NewOverrideRemote to fs.NewOverrideRemote 2022-11-21 08:02:09 +00:00
hasher combine,compress,crypt,hasher,union: support wrapping backends with PartialUploads 2023-06-14 10:52:03 +01:00
hdfs backend: fix repeated words typos 2023-03-25 09:31:36 +01:00
hidrive hidrive: remove unused code (fixes issue reported by the unused linter) 2023-03-26 14:28:15 +02:00
http http: ensure folders show the modtime configured by --default-time #6986 2023-05-04 15:03:11 +01:00
internetarchive all: fix spelling across the project 2022-08-30 11:16:26 +02:00
jottacloud backend: fix typos found by codespell 2023-03-24 11:34:14 +00:00
koofr koofr: ensure folders show the modtime configured by --default-time #6986 2023-05-04 15:03:11 +01:00
local operations: fix .rclonelink files not being converted back to symlinks 2023-07-10 14:32:24 +01:00
mailru mailru: allow timestamps to be before the epoch 1970-01-01 2022-11-10 11:27:01 +00:00
mega backend: fix typos found by codespell 2023-03-24 20:42:45 +00:00
memory Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
netstorage netstorage: ignore false positive from the staticcheck linter regarding header name not being canonical 2023-03-26 14:28:15 +02:00
onedrive docs: clarify --server-side-across-configs 2023-06-13 17:58:27 +01:00
opendrive build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
oracleobjectstorage oracleobjectstorage: remove empty branch (fixes issue reported by the staticcheck linter) 2023-03-26 14:28:15 +02:00
pcloud all: fix spelling across the project 2022-08-30 11:16:26 +02:00
pikpak pikpak: add validity check when using a media link 2023-05-13 03:41:59 +09:00
premiumizeme build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
putio putio: fix server side copy failures (400 errors) 2023-06-28 16:45:35 +01:00
qingstor build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
s3 s3: add Qiniu KODO quirks virtualHostStyle is false 2023-06-26 17:47:27 +01:00
seafile seafile: remove unused code for legacy API v2 (fixes issue reported by the unused linter) 2023-03-26 14:28:15 +02:00
sftp sftp: don't check remote points to a file if it ends with / 2023-05-11 07:58:20 +01:00
sharefile sharefile: disable streamed transfers as they no longer work 2023-06-27 17:08:37 +01:00
sia build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
smb smb: fix "Statfs failed: bucket or container name is needed" when mounting 2023-07-08 12:25:01 +01:00
storj storj: fix uploading to the wrong object on Update with overriden remote name 2023-06-27 16:02:33 +01:00
sugarsync Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
swift swift: fix code formatting 2023-06-26 20:23:28 +01:00
union Revert "union: disable PartialUploads on integration tests failures" 2023-06-29 21:11:04 +01:00
uptobox uptobox: fix rmdir declaring that directories weren't empty 2023-06-28 17:27:43 +01:00
webdav webdav: nextcloud chunking: add more guidance for the user to check the config 2023-07-10 14:38:17 +01:00
yandex yandex: fix 400 Bad Request on transfer failure 2023-06-11 11:11:43 +01:00
zoho zoho: fix downloads with Range: header returning the wrong data 2023-06-14 17:43:26 +01:00