OneDrive backend - client credentials grant


Is there a way to configure onedrive backend using client crendentials grant as describe here - OAuth 2.0 client credentials flow on the Microsoft identity platform - Microsoft identity platform | Microsoft Docs

This is perfect for discovering new document libraries to backup and adding them automatically to rclone configuration.

Looking at the onedrive backend code, I think this is not implemented yet. Am I missing something or is there a workaround?

If it needs implementation, I am happy to contribute if I can get a little guidance on the source code.

Many Thanks for the excellent tool!

It would be worth searching the GitHub issues to see if there is an appropriate issue.

If you can't find an issue then you can make a new one.

I can talk you through code changes there.

I checked all the open issues for onedrive and none are exactly this. So I have opened a new issue - onedrive backend - support client credential grant · Issue #6197 · rclone/rclone · GitHub

1 Like

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