rclone/backend/onedrive
Martin Hassack 2f3e90f671 onedrive: add support for OAuth client credential flow - fixes #6197
This adds support for the client credential flow oauth method which
requires some special handling in onedrive:

- Special scopes are required
- The tenant is required
- The tenant needs to be used in the oauth URLs

This also:

- refactors the oauth config creation so it isn't duplicated
- defaults the drive_id to the previous one in the config
- updates the documentation

Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2024-12-13 11:34:11 +00:00
..
api build: fix comments after golangci-lint upgrade 2024-11-11 18:03:36 +00:00
quickxorhash build: update to go1.23rc1 and make go1.21 the minimum required version 2024-07-20 10:54:47 +01:00
metadata.go build: replace "golang.org/x/exp/slices" with "slices" now go1.21 is required 2024-09-25 16:03:43 +01:00
metadata.md onedrive: skip writing permissions with 'owner' role 2024-05-10 16:25:08 +01:00
onedrive.go onedrive: add support for OAuth client credential flow - fixes #6197 2024-12-13 11:34:11 +00:00
onedrive_internal_test.go onedrive: fix integration tests after precision change 2024-11-12 13:09:15 +00:00
onedrive_test.go onedrive: add support for china region operated by 21vianet #4963 (#4963) 2021-01-29 23:04:21 +03:00