mirror of
https://github.com/rclone/rclone.git
synced 2024-11-29 20:04:52 +01:00
onedrive: add Sites.Read.All permission - Fixes #1770
This commit is contained in:
parent
ccaca04a5d
commit
77fa8194f2
@ -59,7 +59,7 @@ var (
|
|||||||
AuthURL: "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
|
AuthURL: "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
|
||||||
TokenURL: "https://login.microsoftonline.com/common/oauth2/v2.0/token",
|
TokenURL: "https://login.microsoftonline.com/common/oauth2/v2.0/token",
|
||||||
},
|
},
|
||||||
Scopes: []string{"Files.Read", "Files.ReadWrite", "Files.Read.All", "Files.ReadWrite.All", "offline_access"},
|
Scopes: []string{"Files.Read", "Files.ReadWrite", "Files.Read.All", "Files.ReadWrite.All", "offline_access", "Sites.Read.All"},
|
||||||
ClientID: rcloneClientID,
|
ClientID: rcloneClientID,
|
||||||
ClientSecret: obscure.MustReveal(rcloneEncryptedClientSecret),
|
ClientSecret: obscure.MustReveal(rcloneEncryptedClientSecret),
|
||||||
RedirectURL: oauthutil.RedirectLocalhostURL,
|
RedirectURL: oauthutil.RedirectLocalhostURL,
|
||||||
|
Loading…
Reference in New Issue
Block a user