-
Notifications
You must be signed in to change notification settings - Fork 529
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
GitHub Desktop for Linux fails authentication in cloning a repo requiring a PAT. #740
Comments
I have the same problem |
yes |
I believe this is #217 and organizations having OAuth application restrictions enabled. I'm not 100% sure why a PAT wouldn't work with this case but it's a known difference between this and the Windows build (with this one being unofficial). I'd suggest trying to add the repository manually and seeing if the fetch/push/pull encounters the same issue. |
Thank you for your issue! |
@shiftkey thanks for looking into this. |
Same problem here. Since I do not want to modify the git url using PAT, nor do I want to return to git command line, my temporary method is to cancel all restrictions in |
Please follow along with #217 which is the root cause here. |
The problem
On Ubuntu 20.04, cloning a private repo on GitHub requiring PAT fails, whereas both bare git command line and GitHub Desktop for Windows can perfectly clone the repo just fine, with the same PAT credentials.
This issue is happening only when using GitHub Desktop for Linux
My PAT is generated with all permissions enabled.
Release version
Version 2.9.3-linux3 (x64)
Operating system
Ubuntu 20.04.4 LTS
Steps to reproduce the behavior
Just go for "Clone a repository from the internet..." on a Private repo, requiring PAT authentication.
Log files
2022-07-19.desktop.production.log
Screenshots
Additional context
No response
The text was updated successfully, but these errors were encountered: