From a06508783c91ceed6f92aa305841208420fb2b4e Mon Sep 17 00:00:00 2001 From: LinkLeong Date: Thu, 24 Aug 2023 09:23:40 +0100 Subject: [PATCH] update path --- drivers/onedrive/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/onedrive/util.go b/drivers/onedrive/util.go index 8d7fa2f..34e8c04 100644 --- a/drivers/onedrive/util.go +++ b/drivers/onedrive/util.go @@ -173,7 +173,7 @@ func GetConfig() Onedrive { config.ClientID = client_id config.ClientSecret = client_secret config.RootFolderID = "/" - config.AuthUrl = "https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=" + client_id + "&response_type=code&redirect_uri=https%3A%2F%2Fcloudoauth.files.casaos.app&scope=offline_access+files.readwrite.all&state=${HOST}%2Fv2%2Frecover%2FOnedrive" + config.AuthUrl = "https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=" + client_id + "&response_type=code&redirect_uri=https%3A%2F%2Fcloudoauth.files.casaos.app&scope=offline_access+files.readwrite.all&state=${HOST}%2Fv1%2Frecover%2FOnedrive" config.Icon = "./img/driver/OneDrive.svg" config.Region = "global" config.RedirectUri = "https://cloudoauth.files.casaos.app"