From 8350544092f746e367c3b8a7243b22491e6c461e Mon Sep 17 00:00:00 2001 From: Michael Ledin Date: Thu, 2 Mar 2017 23:21:35 +0300 Subject: [PATCH] onedrive: swap to using http://localhost:53682/ as redirect URL. The previous redirect URL http://localhost.rclone.org:53682/ can't be used any more in new OneDrive authentication which is a problem for users trying to make their own credentials. --- onedrive/onedrive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onedrive/onedrive.go b/onedrive/onedrive.go index 98bde9323..5fd710d12 100644 --- a/onedrive/onedrive.go +++ b/onedrive/onedrive.go @@ -49,7 +49,7 @@ var ( }, ClientID: rcloneClientID, ClientSecret: fs.MustReveal(rcloneEncryptedClientSecret), - RedirectURL: oauthutil.RedirectPublicURL, + RedirectURL: oauthutil.RedirectLocalhostURL, } chunkSize = fs.SizeSuffix(10 * 1024 * 1024) uploadCutoff = fs.SizeSuffix(10 * 1024 * 1024)