Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to use saved OAuth token #11098

Closed
cyberduck opened this issue Jul 4, 2020 · 8 comments
Closed

Fails to use saved OAuth token #11098

cyberduck opened this issue Jul 4, 2020 · 8 comments
Assignees
Labels
bug cli Command Line Interface fixed
Milestone

Comments

@cyberduck
Copy link
Collaborator

00e54a4 created the issue

Using the command line syntax to access a SharePoint Online site fails to reuse OAuth token saved in the Windows credential manager (Windows 10 Pro). Every time the syntax is run I am required to paste a new authorisation code from the web browser.

However the following syntax works perfectly fine, reusing the OAuth token save in the Apple Keychain (macOS 10.12.6)

duck --username --list sharepoint:/Groups//Documents/ --debug


Attachments

@cyberduck
Copy link
Collaborator Author

@AliveDevil commented

Hi, can you let me know whether you are using the --username-parameter on Windows as well?
Additionally I'd like to figure out why our passwords saving methods don't work which would require getting the verbose debug log on Windows:

duck -v --debug -u user@contoso.com -L sharepoint:/

Please make sure that there are no authentication tokens left in the debug output that you post here.

@cyberduck
Copy link
Collaborator Author

00e54a4 commented

Apologies for the late reply.

As requested please see sanitised debug logs uploaded.

I can confirm the Windows syntax is identical to the one i have shared which includes the "--username" parameter.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 9a5a8e9.

@cyberduck
Copy link
Collaborator Author

00e54a4 commented

How do I apply this fix?

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Milestone renamed

1 similar comment
@cyberduck
Copy link
Collaborator Author

@dkocher commented

Milestone renamed

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:4 jmalek]:

Hi, can you let me know whether you are using the --username-parameter on Windows as well?
Additionally I'd like to figure out why our passwords saving methods don't work which would require getting the verbose debug log on Windows:

duck -v --debug -u user@contoso.com -L sharepoint:/

Please make sure that there are no authentication tokens left in the debug output that you post here.

Added documentation in wiki.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Milestone renamed

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug cli Command Line Interface fixed
Projects
None yet
Development

No branches or pull requests

2 participants