shiftkey / desktop

Fork of GitHub Desktop to support various Linux distributions
MIT License
6.6k stars 498 forks source link

can't clone my repos #1064

Open Amraafat opened 2 months ago

Amraafat commented 2 months ago

The problem

after installing GitHub-desktop and authenticate my account. I can't clone my repos and if I added it locally i can't fetch or push. Despite i can do everything from the terminal and VsCode, and also i can clone my repos only the repos from my company can't clone it.

Release version

Version 3.3.12-linux2 (x64

Operating system

Ubuntu-22.04.1

Steps to reproduce the behavior

No response

Log files

2024-05-13.desktop..log 2024-05-14.desktop..log 2024-05-15.desktop..log 2024-05-16.desktop..log

Screenshots

Screenshot from 2024-05-16 23-25-57

Additional context

No response

FlamebladeOmega commented 2 months ago

Same here...

Hridoy-EL commented 1 month ago

I'm experiencing the same issue. Anyone got any solution to this?

shiftkey commented 1 month ago
2024-05-16T21:51:14.067Z - info: [ui] [fetchRepoRulesForBranch] unable to fetch repo rules for branch: main | repos/finsmart-labs/fs-internal-ops/rules/branches/main
Error: Although you appear to have the correct authorization credentials, the `finsmart-labs` 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/
Hridoy-EL commented 1 month ago

I am already using the GitHub Desktop (Windows) version for the same organization. That works great without any problems. I know this one is a Fork, but is this the reason for this restriction? I work for 2 organizations in this one account. Asking both for permission might be a little problematic as that will include a lot of questions.

image

The thing is, if VSCode and NGROK can get the access, then why can't this app?

shiftkey commented 1 month ago

@Hridoy-EL this is a known issue specific to this fork (because it is separate to the upstream project): https://github.com/shiftkey/desktop/blob/linux/docs/known-issues.md#i-cannot-access-repositories-under-my-organization

Hridoy-EL commented 3 weeks ago

Hey @shiftkey, I tried that, but it still not working. My organization granted me access. Screenshot from 2024-06-20 14-25-05

But it still showing the same error: image

Could you please tell me what might be the issue here or what I'm missing?

Hridoy-EL commented 3 weeks ago

@shiftkey

image

image