Cyberduck Mountain Duck CLI

Opened 16 months ago

Closed 16 months ago

Last modified 16 months ago

#10043 closed defect (fixed)

Failure authenticating with OAuth

Reported by: dkocher Owned by:
Priority: normal Milestone: 6.2.3
Component: cli Version: 6.2.2
Severity: normal Keywords:
Cc: Architecture:
Platform:

Description

duck -l onedrive://graph.microsoft.com/ -u myaccount@…

It launches my browser and I sign into login.microsoftonline.com, which in turn sends me to an OAuth 2.0 Authorization Code page.

When I return to my command prompt, duck has already exited, so I cannot provide the code. I noticed that duck exits immediately after launching my browser.

Change History (3)

comment:1 Changed 16 months ago by jmalek

Fehler beim Versuch der SecurityTransparent-Methode "Java_java_io_Console.echo(Boolean)" nativen Code über die Methode "Java_java_io_Console.GetStdHandle(Int32)" aufzurufen. Methoden müssen sicherheitskritisch oder sicher sein, um nativen Code aufzurufen.
   bei java.io.Console.readPassword(String fmt, Object[] args)
   bei ch.cyberduck.cli.Console.readPassword(String format, Object[] args)
   bei ch.cyberduck.cli.TerminalLoginCallback.prompt(Host bookmark, Credentials credentials, String title, String reason, LoginOptions options)
   bei ch.cyberduck.core.oauth.OAuth2AuthorizationService.authorize(Host bookmark, HostPasswordStore keychain, LoginCallback prompt, CancelCallback cancel)
   bei ch.cyberduck.core.onedrive.OneDriveSession.login(HostPasswordStore keychain, LoginCallback prompt, CancelCallback cancel, Cache cache)
   bei ch.cyberduck.core.KeychainLoginService.authenticate(Session session, Cache cache, ProgressListener listener, CancelCallback cancel)
   bei ch.cyberduck.core.LoginConnectionService.authenticate(Session session, Cache cache, CancelCallback callback)
   bei ch.cyberduck.core.LoginConnectionService.connect(Session session, Cache cache, CancelCallback callback)
   bei ch.cyberduck.core.LoginConnectionService.check(Session session, Cache cache, CancelCallback callback)
   bei ch.cyberduck.core.pool.StatelessSessionPool.borrow(BackgroundActionState callback)
   bei ch.cyberduck.core.threading.SessionBackgroundAction.run()
   bei ch.cyberduck.core.threading.SessionBackgroundAction.1.call()
   bei ch.cyberduck.core.threading.DefaultRetryCallable.call()
   bei ch.cyberduck.core.threading.SessionBackgroundAction.call()
   bei ch.cyberduck.core.threading.BackgroundCallable.run()

comment:2 Changed 16 months ago by dkocher

  • Resolution set to fixed
  • Status changed from new to closed

In r42328.

comment:3 Changed 16 months ago by dkocher

  • Milestone changed from 6.3 to 6.2.3
Note: See TracTickets for help on using tickets.
swiss made software