Skip to content

Commit

Permalink
Merge pull request #77 from iterate-ch/issue/13587-onedrive
Browse files Browse the repository at this point in the history
Connection profile to use with Cyberduck CLI for OneDrive & SharePoint
  • Loading branch information
ylangisc authored Jan 31, 2024
2 parents 324779c + 284e235 commit eeafafb
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 0 deletions.
51 changes: 51 additions & 0 deletions Microsoft OneDrive (CLI).cyberduckprofile
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2002-2017 iterate GmbH. All rights reserved.
~ https://cyberduck.io/
~
~ This program is free software; you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation; either version 2 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
-->

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Protocol</key>
<string>onedrive</string>
<key>Vendor</key>
<string>onedrive-cli</string>
<key>Description</key>
<string>Microsoft SharePoint (CLI)</string>
<key>Default Hostname</key>
<string>graph.microsoft.com</string>
<key>Default Nickname</key>
<string>OneDrive (CLI)</string>
<key>OAuth Authorization Url</key>
<string>https://login.microsoftonline.com/common/oauth2/v2.0/authorize</string>
<key>OAuth Token Url</key>
<string>https://login.microsoftonline.com/common/oauth2/v2.0/token</string>
<key>Scopes</key>
<array>
<string>files.readwrite.all</string>
<string>offline_access</string>
<string>user.read</string>
</array>
<key>OAuth Client ID</key>
<string>f40bc18f-cd02-4212-b7f1-15243e4e2ad3</string>
<key>OAuth Client Secret</key>
<string/>
<key>OAuth Redirect Url</key>
<string>https://cyberduck.io/oauth</string>
<key>Password Configurable</key>
<false/>
<key>Username Configurable</key>
<false/>
</dict>
</plist>
53 changes: 53 additions & 0 deletions Microsoft SharePoint (CLI).cyberduckprofile
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2002-2017 iterate GmbH. All rights reserved.
~ https://cyberduck.io/
~
~ This program is free software; you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation; either version 2 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
-->

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Protocol</key>
<string>sharepoint</string>
<key>Vendor</key>
<string>sharepoint-cli</string>
<key>Description</key>
<string>Microsoft SharePoint (CLI)</string>
<key>Default Hostname</key>
<string>graph.microsoft.com</string>
<key>Default Nickname</key>
<string>SharePoint (CLI)</string>
<key>OAuth Authorization Url</key>
<string>https://login.microsoftonline.com/common/oauth2/v2.0/authorize</string>
<key>OAuth Token Url</key>
<string>https://login.microsoftonline.com/common/oauth2/v2.0/token</string>
<key>Scopes</key>
<array>
<string>sites.readwrite.all</string>
<string>files.readwrite.all</string>
<string>user.read</string>
<string>groupmember.read.all</string>
<string>offline_access</string>
</array>
<key>OAuth Client ID</key>
<string>f40bc18f-cd02-4212-b7f1-15243e4e2ad3</string>
<key>OAuth Client Secret</key>
<string/>
<key>OAuth Redirect Url</key>
<string>https://cyberduck.io/oauth</string>
<key>Password Configurable</key>
<false/>
<key>Username Configurable</key>
<false/>
</dict>
</plist>

0 comments on commit eeafafb

Please sign in to comment.