I have been using rclone with a onedrive remote for a while now and everything is OK. Still though, I want to get a slightly better synchronization experience then running rsync bisync
periodically, or with inotifywatch
and all kind of other hooks. Hence this search made me find this tool:
However, when trying to setup this up I encountered an authentication denial that is described here.
I am writing this post because I want to find out how come I didn't encounter the same authentication issue with rclone
. What is the authentication method that rclone
uses? Perhaps I'd be able to convince or modify onedrive
to use the same authentication method... For comparison, this is an example oauth
URL that onedrive
produces:
https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=22c49a0d-d21c-4792-aed1-8f163c982546&scope=Files.ReadWrite%20Files.ReadWrite.all%20Sites.ReadWrite.All%20offline_access&response_type=code&redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient
And the response URI is supposed to be something like this:
https://login.microsoftonline.com/common/oauth2/nativeclient?code=<redacted>
Perhaps rclone
is using SAML? Thanks for any help