cyberduck icon indicating copy to clipboard operation
cyberduck copied to clipboard

CLI for OneDrive not working on MacOS

Open JosephMRally opened this issue 2 years ago • 0 comments

Cannot use Duck CLI with OneDrive on MacOS

Steps to reproduce:

  1. install duck cli via brew on macos
  2. install both cyberduck and mountainduck, confirm both can connect to OneDrive
  3. "settings"->"profiles"->
  4. duck --list "onedrive://My Files/"
  5. "Open web browser to authenticate and obtain an authorization code"

Expected Behavior: Can see remote files in terminal

Screeshots: image

image image

Desktop: MacOS 14.4

Log Files: [background-1] DEBUG ch.cyberduck.core.http.HttpConnectionPoolBuilder - Setup connection pool with registry {http=ch.cyberduck.core.http.HttpConnectionPoolBuilder$1@42f6abf6, https=ch.cyberduck.core.http.HttpConnectionPoolBuilder$2@19aa5b90}

[background-1] DEBUG ch.cyberduck.core.Session - Connection did open to Host{protocol=Profile{parent=onedrive, vendor=iterate GmbH, description=Microsoft OneDrive, image=null}, region='null', port=443, hostname='graph.microsoft.com', credentials=Credentials{user='large', password='', tokens='TemporaryAccessTokens{accessKeyId='', secretAccessKey='', sessionToken='', expiryInMilliseconds=9223372036854775807}', oauth='OAuthTokens{accessToken='', refreshToken='', idToken='', expiryInMilliseconds=9223372036854775807}', identity=null}, uuid='null', nickname='null', defaultpath='/My Files', workdir=null, custom=null, labels=null}

[background-1] DEBUG ch.cyberduck.core.KeychainLoginService - Attempt authentication for Session{host=Host{protocol=Profile{parent=onedrive, vendor=iterate GmbH, description=Microsoft OneDrive, image=null}, region='null', port=443, hostname='graph.microsoft.com', credentials=Credentials{user='large', password='', tokens='TemporaryAccessTokens{accessKeyId='', secretAccessKey='', sessionToken='', expiryInMilliseconds=9223372036854775807}', oauth='OAuthTokens{accessToken='', refreshToken='', idToken='', expiryInMilliseconds=9223372036854775807}', identity=null}, uuid='null', nickname='null', defaultpath='/My Files', workdir=null, custom=null, labels=null}, state=open}

[background-1] DEBUG ch.cyberduck.core.oauth.OAuth2AuthorizationService - Start new OAuth flow for Host{protocol=Profile{parent=onedrive, vendor=iterate GmbH, description=Microsoft OneDrive, image=null}, region='null', port=443, hostname='graph.microsoft.com', credentials=Credentials{user='large', password='', tokens='TemporaryAccessTokens{accessKeyId='', secretAccessKey='', sessionToken='', expiryInMilliseconds=9223372036854775807}', oauth='OAuthTokens{accessToken='', refreshToken='', idToken='', expiryInMilliseconds=9223372036854775807}', identity=null}, uuid='null', nickname='null', defaultpath='/My Files', workdir=null, custom=null, labels=null} with missing access token

[background-1] DEBUG ch.cyberduck.core.oauth.OAuth2AuthorizationService - Open browser with URL https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client ...

JosephMRally avatar Mar 15 '24 19:03 JosephMRally