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 Failure during cloning a repo #1042

Open
DurgaVikas opened this issue Apr 8, 2024 · 6 comments
Open

Authentication Failure during cloning a repo #1042

DurgaVikas opened this issue Apr 8, 2024 · 6 comments
Labels
oauth-app-restrictions Tracking problems related to OAuth

Comments

@DurgaVikas
Copy link

The problem

I have been trying to clone a repo from my organization using github desktop but the autentication failure is raised even with correct credentials. I have logout from github desktop and try again same error is raising solve this issue ASAP.

Release version

Version 3.3.12-linux2 (x64)

Operating system

Fedora 39

Steps to reproduce the behavior

  1. Open Github Desktop and select file
  2. In file,select clone repository
  3. Select a repo from your organization
  4. Then the authentication failure occurs

Log files

2024-04-08.desktop..log

Screenshots

Screenshot from 2024-04-08 10-42-16

Additional context

No response

@shiftkey
Copy link
Owner

shiftkey commented Apr 8, 2024

024-04-08T06:01:22.587Z - error: [ui] Failed to look up repository clone info for 'https://github.com/deepfacts/prorithm_ads.git'
Error: Although you appear to have the correct authorization credentials, the `deepfacts` organization has enabled OAuth App access restrictions, meaning that data access to third-parties is limited. For more information on these restrictions, including how to enable this app, visit https://docs.github.com/articles/restricting-access-to-your-organization-s-data/
    at fn (/home/durgavikas/webpack:/app/src/lib/http.ts:178:11)
    at nr.fetchRepositoryCloneInfo (/home/durgavikas/webpack:/app/src/lib/api.ts:984:11)
    at Object.clone [as onSubmit] (/home/durgavikas/webpack:/app/src/ui/clone-repository/clone-repository.tsx:727:11)

@shiftkey shiftkey added the oauth-app-restrictions Tracking problems related to OAuth label Apr 8, 2024
@ilkinnezer1
Copy link

ilkinnezer1 commented Apr 12, 2024

I am facing with this issue as well. Do you know how to fix it?

UPDATE:
cloning via ssh fixed this issue.

@migueloliveiraweb
Copy link

I am facing this problem too. Does anyone have a solution for this?

@ilkinnezer1
Copy link

I am facing this problem too. Does anyone have a solution for this?

Use SSH, it will fix it

@migueloliveiraweb
Copy link

How can I use SSH to fix it?

@ilkinnezer1
Copy link

How can I use SSH to fix it?

You can generate ssh, add it to the Github and try to clone with ssh on Github Desktop, there is an option there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
oauth-app-restrictions Tracking problems related to OAuth
Projects
None yet
Development

No branches or pull requests

4 participants