First of all: just discovered the tool a couple of days ago and I love it!
I see that the backend for OneDrive forces to renew the tokens by using the web browser flow (from their documentation: Token Flow). There is the possibility too to use the Code Flow, where the initial first approval is done with the browser but then token renewals can happen without user intervention.
I can't include links in the post, but I googled the onedrive developer documentation, the latest version uses graph oauth.
And now the questions
- Is there are reason for not using the Code Flow? Documentation says that this only works on some scenarios and this could be the reason why it is not implemented.
- Are the plans to extend rclone to use token autorenewal (Code Flow)?