How to authorize incognito with different account

What is the problem you are having with rclone?

I'm unable to authorize as a different Microsoft Account user.

I want to connect to the OneDrive account of my wife to copy some files to it from my NAS. But when I try to create the remote, I don't find a way to choose a different account. The authorization page just opens up immediately in my main browser, and "auto-selects" my own account, asking me if I want to give access to rclone.

Is there a way I can change rclone to use an incognito browser window for example? Or to have it give me a URL I can open myself in a browser of my choice?

I tried to copy the URL over, which was suggested somewhere, but the initial URL disappears too quickly via redirects, and the "final URL" fails when I try to open it in an incognito window.

Also, I really don't want to have to log out of my own account for this. Really want to avoid having to do that. And for a tool made to sync files between different providers, and potentially different accounts on the same provider, there really should be an easy way to do that without having to jump around between accounts in my main browser. :confused:

Run the command 'rclone version' and share the full output of the command.

rclone v1.58.0

  • os/version: Microsoft Windows 10 Pro 21H1 (64 bit)
  • os/kernel: 10.0.19043.1645 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.17.8
  • go/linking: dynamic
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Microsoft OneDrive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone config create foobar onedrive

The rclone config contents with secrets removed.

N/A

A log from the command with the -vv flag

N/A

Asking always helps! :man_facepalming:

Somehow, I managed to overlook the notice in the console:

NOTICE: If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=........

Oh well... maybe this can help some other blind soul in the future by showing up on google...

hello and welcome to the forum,

yes, that is possible, just open the link in another browser window
go to the following link: http://127.0.0.1:53682/auth

Remote config
Use auto config?
 * Say Y if not sure
 * Say N if you are working on a remote or headless machine
y) Yes
n) No
y/n> y
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
Waiting for code...

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.