diff --git a/backend/drive/drive.go b/backend/drive/drive.go index 798db047f..5aa1c02bb 100644 --- a/backend/drive/drive.go +++ b/backend/drive/drive.go @@ -84,7 +84,7 @@ var ( Endpoint: google.Endpoint, ClientID: rcloneClientID, ClientSecret: obscure.MustReveal(rcloneEncryptedClientSecret), - RedirectURL: oauthutil.TitleBarRedirectURL, + RedirectURL: oauthutil.RedirectURL, } _mimeTypeToExtensionDuplicates = map[string]string{ "application/x-vnd.oasis.opendocument.presentation": ".odp", diff --git a/backend/googlecloudstorage/googlecloudstorage.go b/backend/googlecloudstorage/googlecloudstorage.go index fca84b57d..a838d2350 100644 --- a/backend/googlecloudstorage/googlecloudstorage.go +++ b/backend/googlecloudstorage/googlecloudstorage.go @@ -65,7 +65,7 @@ var ( Endpoint: google.Endpoint, ClientID: rcloneClientID, ClientSecret: obscure.MustReveal(rcloneEncryptedClientSecret), - RedirectURL: oauthutil.TitleBarRedirectURL, + RedirectURL: oauthutil.RedirectURL, } ) diff --git a/backend/googlephotos/googlephotos.go b/backend/googlephotos/googlephotos.go index 7a07356be..cb9fda888 100644 --- a/backend/googlephotos/googlephotos.go +++ b/backend/googlephotos/googlephotos.go @@ -69,7 +69,7 @@ var ( Endpoint: google.Endpoint, ClientID: rcloneClientID, ClientSecret: obscure.MustReveal(rcloneEncryptedClientSecret), - RedirectURL: oauthutil.TitleBarRedirectURL, + RedirectURL: oauthutil.RedirectURL, } )