From 2355c2472c29d9e328010702067be95683360ec7 Mon Sep 17 00:00:00 2001 From: David Kocher Date: Fri, 11 Aug 2023 11:53:33 +0200 Subject: [PATCH 1/3] Remove placeholder values and require manual input. --- Microsoft 365 China OneDrive.cyberduckprofile | 4 ---- Microsoft 365 China Sharepoint.cyberduckprofile | 4 ---- 2 files changed, 8 deletions(-) diff --git a/Microsoft 365 China OneDrive.cyberduckprofile b/Microsoft 365 China OneDrive.cyberduckprofile index 7ee3712..af99764 100644 --- a/Microsoft 365 China OneDrive.cyberduckprofile +++ b/Microsoft 365 China OneDrive.cyberduckprofile @@ -43,10 +43,6 @@ offline_access user.read - OAuth Client ID - Enter your Client ID - OAuth Client Secret - Enter your Client Secret, or omit. OAuth Redirect Url https://cyberduck.io/oauth/ Password Configurable diff --git a/Microsoft 365 China Sharepoint.cyberduckprofile b/Microsoft 365 China Sharepoint.cyberduckprofile index 4967267..b92e22e 100644 --- a/Microsoft 365 China Sharepoint.cyberduckprofile +++ b/Microsoft 365 China Sharepoint.cyberduckprofile @@ -45,10 +45,6 @@ groupmember.read.all offline_access - OAuth Client ID - Enter your Client ID - OAuth Client Secret - Enter your Client Secret, or omit. OAuth Redirect Url https://cyberduck.io/oauth/ Password Configurable From 755731c24fe35e652935abdaeb9448a402866ecb Mon Sep 17 00:00:00 2001 From: David Kocher Date: Fri, 11 Aug 2023 11:54:41 +0200 Subject: [PATCH 2/3] Use variable substitution for OAuth redirect URL resolved to `x-cyberduck-action` or `x-mountainduck-action` respectively on runtime. --- Microsoft 365 China OneDrive.cyberduckprofile | 2 +- Microsoft 365 China Sharepoint.cyberduckprofile | 2 +- Microsoft SharePoint Site.cyberduckprofile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Microsoft 365 China OneDrive.cyberduckprofile b/Microsoft 365 China OneDrive.cyberduckprofile index af99764..3f811c4 100644 --- a/Microsoft 365 China OneDrive.cyberduckprofile +++ b/Microsoft 365 China OneDrive.cyberduckprofile @@ -44,7 +44,7 @@ user.read OAuth Redirect Url - https://cyberduck.io/oauth/ + ${oauth.handler.scheme}://oauth Password Configurable Username Configurable diff --git a/Microsoft 365 China Sharepoint.cyberduckprofile b/Microsoft 365 China Sharepoint.cyberduckprofile index b92e22e..08d6fbd 100644 --- a/Microsoft 365 China Sharepoint.cyberduckprofile +++ b/Microsoft 365 China Sharepoint.cyberduckprofile @@ -46,7 +46,7 @@ offline_access OAuth Redirect Url - https://cyberduck.io/oauth/ + ${oauth.handler.scheme}://oauth Password Configurable Username Configurable diff --git a/Microsoft SharePoint Site.cyberduckprofile b/Microsoft SharePoint Site.cyberduckprofile index 3eeda75..2ee837b 100644 --- a/Microsoft SharePoint Site.cyberduckprofile +++ b/Microsoft SharePoint Site.cyberduckprofile @@ -46,7 +46,7 @@ OAuth Client ID f40bc18f-cd02-4212-b7f1-15243e4e2ad3 OAuth Redirect Url - https://cyberduck.io/oauth + ${oauth.handler.scheme}://oauth Password Configurable Username Configurable From 2366ef0cbcbf876951b5f829089bcbe986af82a4 Mon Sep 17 00:00:00 2001 From: David Kocher Date: Mon, 14 Aug 2023 14:54:23 +0200 Subject: [PATCH 3/3] No client secret required. --- Microsoft SharePoint Site.cyberduckprofile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Microsoft SharePoint Site.cyberduckprofile b/Microsoft SharePoint Site.cyberduckprofile index 2ee837b..b61c6e2 100644 --- a/Microsoft SharePoint Site.cyberduckprofile +++ b/Microsoft SharePoint Site.cyberduckprofile @@ -45,6 +45,8 @@ OAuth Client ID f40bc18f-cd02-4212-b7f1-15243e4e2ad3 + OAuth Client Secret + OAuth Redirect Url ${oauth.handler.scheme}://oauth Password Configurable