Skip to content

Failure authenticating with OAuth #10043

Closed
Closed

Description

@cyberduck

@dkocher created the issue

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

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.

Activity

  1. cyberduck commented on Aug 12, 2017

    @cyberduck
    ContributorAuthor

    @AliveDevil commented

    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()
    
  2. cyberduck commented on Aug 13, 2017

    @cyberduck
    ContributorAuthor

    @dkocher commented

    In 29d7f9a.

  3. locked as resolved and limited conversation to collaborators on Nov 26, 2021
  4. added theissue type on Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliCommand Line Interface

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions