docs: update rclone authorize section

This commit is contained in:
Péter Bozsó 2024-08-16 14:00:11 +00:00 committed by Nick Craig-Wood
parent f2ce9a9557
commit 28d6985764

View File

@ -15,37 +15,33 @@ two ways of doing it, described below.
## Configuring using rclone authorize ## ## Configuring using rclone authorize ##
On the headless box run `rclone` config but answer `N` to the `Use web browser On the headless box run `rclone` config but answer `N` to the `Use auto config?` question.
to automatically authenticate?` question.
``` ```
... Use auto config?
Remote config * Say Y if not sure
Use web browser to automatically authenticate rclone with remote? * Say N if you are working on a remote or headless machine
* Say Y if the machine running rclone has a web browser you can use
* Say N if running rclone on a (remote) machine without web browser access
If not sure try Y. If Y failed, try N.
y) Yes (default) y) Yes (default)
n) No n) No
y/n> n y/n> n
Option config_token.
For this to work, you will need rclone available on a machine that has For this to work, you will need rclone available on a machine that has
a web browser available. a web browser available.
For more help and alternate methods see: https://rclone.org/remote_setup/ For more help and alternate methods see: https://rclone.org/remote_setup/
Execute the following on the machine with the web browser (same rclone Execute the following on the machine with the web browser (same rclone
version recommended): version recommended):
rclone authorize "onedrive"
rclone authorize "dropbox" Then paste the result.
Enter a value.
Then paste the result below: config_token>
result>
``` ```
Then on your main desktop machine Then on your main desktop machine
``` ```
rclone authorize "dropbox" rclone authorize "onedrive"
If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth
Log in and authorize rclone for access Log in and authorize rclone for access
Waiting for code... Waiting for code...
@ -58,7 +54,7 @@ SECRET_TOKEN
Then back to the headless box, paste in the code Then back to the headless box, paste in the code
``` ```
result> SECRET_TOKEN config_token> SECRET_TOKEN
-------------------- --------------------
[acd12] [acd12]
client_id = client_id =