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

Authentication failed issue #764

Closed
pchest opened this issue Sep 11, 2022 · 9 comments
Closed

Authentication failed issue #764

pchest opened this issue Sep 11, 2022 · 9 comments

Comments

@pchest
Copy link

pchest commented Sep 11, 2022

The problem

I am using the flatpak version of Github Desktop on Pop!_OS 22.04. I have an authenticated Github account, yet I repeatedly see "authentication failed" when attempting to push repository changes. Logging in and logging out does not eliminate this error, nor does restarting my computer or reinstalling this application.

Release version

3.0.7-linux1 x64

Operating system

Pop!_OS 22.04

Steps to reproduce the behavior

  1. Open GitHub Desktop
  2. Make commits to a repository
  3. Push origin

Log files

2022-09-11.desktop.production.log

Screenshots

image

Additional context

No response

@secondl1ght
Copy link

I am having the same issue - when I run ssh -T git@github.com I get Hi secondl1ght! You've successfully authenticated, but GitHub does not provide shell access. and I am able to use Git in the terminal. However when I try to use Git in GitHub Desktop I get this Authentication failed message.

@pchest
Copy link
Author

pchest commented Sep 13, 2022

@secondl1ght Exactly. Like you, I can use git via command line and in other applications, like RStudio. The only application that has given me trouble is GitHub Desktop.

@secondl1ght
Copy link

I tried installing the .deb package from this repo directly and it works fine now. So it seems to be an issue with installing via your distributions app store, I am using elementary OS for reference.

The version I installed is this one and it works: https://github.com/shiftkey/desktop/releases/tag/release-3.0.6-linux1 The version on my app store says it is 3.0.7 which is weird because it doesn't even look like that version has been officially released yet. :\

Not sure if I will receive auto-updates through the .deb package but I will use this for now.

@pchest
Copy link
Author

pchest commented Sep 13, 2022

Thanks! The deb version worked for me as well. As you say, the flatpak version is one version ahead of the github release. Perhaps they accidentally released the experimental version of the app on flatpak. Either way, I hope this issue with the version available on the Elementary and Pop!_OS app stores is addressed.

@Marcos-Barranquero
Copy link

Well this is weird. I'm having this issue when I try to clone from an organization repo but not when I'm cloning someone else's repos or mines.

I'm was on the 3.0.5 version and found this, tried the 3.0.6 version installing the .deb file, and I'm finding the same issues.

In windows version works properly trying the same repo.

Log file:
logfile.log

I'd appreciate any help or workaround. Thanks!!

@PrimedPixel
Copy link

#759 (comment)

@shiftkey
Copy link
Owner

@Marcos-Barranquero

In windows version works properly trying the same repo.

The log file provides more details about why this is failing for you on Linux:

2022-09-22T21:40:25.529Z - error: [ui] Failed to look up repository clone info for 'https://github.com/PROPAGAMAP/yarn-template'
Error: Although you appear to have the correct authorization credentials, the `PROPAGAMAP` organization has enabled OAuth App access restrictions, meaning that data access to third-parties is limited. 

Please see #217 for more context on this error.

@pchest @secondl1ght @PrimedPixel if you could share a recent logfile from ~/.config/GitHub Desktop/ when you see this problem there may be more information about why this is failing to work for you...

@Marcos-Barranquero
Copy link

@shiftkey , you're correct. I've changed the organization config and now I can clone repos form Github desktop. Thanks for the input!

However, it still bugs me that I was able to clone the repos from Windows without changing the access restrictions.

@github-actions
Copy link

Thank you for your issue!
We haven’t gotten a response to our questions above. With only the information that is currently in the issue, we don’t have enough information to take action. We’re going to close this but don’t hesitate to reach out if you have or find the answers we need. If you answer our questions above, this issue will automatically reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants