Cyberduck Mountain Duck CLI

#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:


duck -l onedrive:// -u

It launches my browser and I sign into, 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 on Aug 12, 2017 at 6:55:43 PM 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 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)

comment:2 Changed on Aug 13, 2017 at 12:29:50 PM by dkocher

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

In r42328.

comment:3 Changed on Aug 24, 2017 at 2:05:30 PM by dkocher

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