1
mirror of https://github.com/rclone/rclone synced 2024-11-26 04:07:22 +01:00
rclone/backend
Nick Craig-Wood dc7e3ea1e3 drive,gcs,googlephotos: disable OAuth OOB flow (copy a token) due to google deprecation
Before this change, rclone supported authorizing for remote systems by
going to a URL and cutting and pasting a token from Google. This is
known as the OAuth out-of-band (oob) flow.

This, while very convenient for users, has been shown to be insecure
and has been deprecated by Google.

https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html#disallowed-oob

> OAuth out-of-band (OOB) is a legacy flow developed to support native
> clients which do not have a redirect URI like web apps to accept the
> credentials after a user approves an OAuth consent request. The OOB
> flow poses a remote phishing risk and clients must migrate to an
> alternative method to protect against this vulnerability. New
> clients will be unable to use this flow starting on Feb 28, 2022.

This change disables that flow, and forces the user to use the
redirect URL flow. (This is the flow used already for local configs.)

In practice this will mean that instead of cutting and pasting a token
for remote config, it will be necessary to run "rclone authorize"
instead. This is how all the other OAuth backends work so it is a well
tested code path.

Fixes #6000
2022-02-18 12:46:30 +00:00
..
alias docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
all storj: rename tardigrade backend to storj backend #5616 2022-02-11 11:04:15 +00:00
amazonclouddrive Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
azureblob azureblob: fix crash with SAS URL and no container - fixes #5820 2021-11-27 16:18:18 +00:00
b2 docs: add a note about the B2 download_url format 2021-11-23 17:57:34 +00:00
box Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
cache Fix repeated error messages after pkg/errors removal 2021-11-15 17:58:40 +00:00
chunker Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
compress Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
crypt local: fix hash invalidation which caused errors with local crypt mount 2021-11-24 12:09:34 +00:00
drive drive,gcs,googlephotos: disable OAuth OOB flow (copy a token) due to google deprecation 2022-02-18 12:46:30 +00:00
dropbox dropbox: speed up directory listings by specifying 1000 items in a chunk 2021-11-11 11:14:22 +00:00
fichier Fix linting errors 2022-01-26 00:02:17 +01:00
filefabric Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
ftp docs/ftp: improved default value description of port and username options 2022-01-16 14:57:38 +01:00
googlecloudstorage drive,gcs,googlephotos: disable OAuth OOB flow (copy a token) due to google deprecation 2022-02-18 12:46:30 +00:00
googlephotos drive,gcs,googlephotos: disable OAuth OOB flow (copy a token) due to google deprecation 2022-02-18 12:46:30 +00:00
hasher hashsum: support creating hash from data received on stdin 2021-11-11 15:16:45 +01:00
hdfs config: remove explicit setting of required property to its default value false 2022-01-16 14:57:38 +01:00
http http: improved recognition of url pointing to a single file - fixes #5929 2022-01-26 11:41:01 +01:00
hubic Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
jottacloud backend:jottacloud change api used by ListR ( --fast-list ) 2021-12-01 14:21:37 +01:00
koofr config: remove explicit setting of required property to true for options with a default value 2022-01-16 14:57:38 +01:00
local local: fix hash invalidation which caused errors with local crypt mount 2021-11-24 12:09:34 +00:00
mailru Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
mega mega: fix error handling broken by removal of github.com/pkg/errors 2021-11-09 13:43:45 +00:00
memory Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
onedrive onedrive: add --onedrive-root-folder-id flag #5948 2022-02-07 12:29:36 +00:00
opendrive Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
pcloud pcloud: add support for recursive list 2021-12-01 15:58:44 +00:00
premiumizeme Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
putio Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
qingstor Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
s3 s3: add specific provider for Storj Shared gateways 2022-02-08 11:40:29 +00:00
seafile Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
sftp docs/ftp: improved default value description of port and username options 2022-01-16 14:57:38 +01:00
sharefile Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
sia Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
storj storj: rename tardigrade backend to storj backend #5616 2022-02-11 11:04:15 +00:00
sugarsync Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
swift Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
union test: use T.TempDir to create temporary test directory 2022-02-01 11:47:04 +00:00
uptobox Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
webdav Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
yandex yandex: add permanent deletion support 2021-11-17 16:57:41 +00:00
zoho Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00