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

Can't access organization repositories #610

Closed
thedhruvunde opened this issue Oct 15, 2021 · 8 comments
Closed

Can't access organization repositories #610

thedhruvunde opened this issue Oct 15, 2021 · 8 comments

Comments

@thedhruvunde
Copy link

cant access my organization's repos, in Github.com section
and when I clone repository by URL section I can't push my changes to origin
It gives some authentication error

@doug-leasure
Copy link

doug-leasure commented Oct 28, 2021

The authentication error message is:


We were unable to authenticate with github.com. Please enter your username and password to try again.

Username:

Password:

Depending on your repository's hosting service, you might need to use a Personal Access Token (PAT) as your password. Learn more about creating a PAT in our integration docs.


This only happens for an organizational account on GitHub.com, not my personal GitHub. I created a PAT with repo-level access and tried using it in the "Password" field of the authentication error dialogue box, but it was not successful.

@Twinki14
Copy link

Getting the same issue

@amytimed
Copy link

This is quite annoying, I can't access any of my organization repositories.

@skypap
Copy link

skypap commented Nov 15, 2021

same issue

@karleinarb
Copy link

Same issue here.
Running Version 2.9.4-linux1 (x64)

@amytimed
Copy link

This is the only thing stopping me from switching to Linux, and seems to be a common issue, judging by the amount of commenters. Can we please get this fixed?

@bookshiyi
Copy link

same issue.

Ubuntu 20.04.3 LTS
Github-Desktop version 2.9.4-linux1 (x64)

@shiftkey
Copy link
Owner

This is a known issue for the Linux build:

I cannot access repositories under my organization

The GitHub Desktop application is an OAuth application, but this fork does not
have the same permissions as the app does on Windows and macOS, which manifests
in a couple of different ways:

  • the "Clone a Repository" view does not show all organization repositories
  • pushes to a repository owned by an organization may be rejected with a
    generic error message

The root cause of this is organizations by default will have "OAuth App access
restrictions" enabled, which blocks the GitHub Desktop development app that is
used by this fork.

Workaround: ask your organization admin to approve access
to the GitHub Desktop development app.

#72 (comment) has more context

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

No branches or pull requests

9 participants