desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Authentication Failure during cloning a repo

Open DurgaVikas opened this issue 1 year ago • 6 comments

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

DurgaVikas avatar Apr 08 '24 06:04 DurgaVikas

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 avatar Apr 08 '24 23:04 shiftkey

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

UPDATE: cloning via ssh fixed this issue.

ilkinnezer1 avatar Apr 12 '24 13:04 ilkinnezer1

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

migueloliveiraweb avatar May 14 '24 11:05 migueloliveiraweb

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

Use SSH, it will fix it

ilkinnezer1 avatar May 14 '24 12:05 ilkinnezer1

How can I use SSH to fix it?

migueloliveiraweb avatar May 14 '24 13:05 migueloliveiraweb

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

ilkinnezer1 avatar May 14 '24 13:05 ilkinnezer1