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 clone my repos #1064

Open
Amraafat opened this issue May 16, 2024 · 7 comments
Open

can't clone my repos #1064

Amraafat opened this issue May 16, 2024 · 7 comments
Labels
oauth-app-restrictions Tracking problems related to OAuth

Comments

@Amraafat
Copy link

Amraafat commented May 16, 2024

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
Copy link

Same here...

@Hridoy-EL
Copy link

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

@shiftkey
Copy link
Owner

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/

@shiftkey shiftkey added the oauth-app-restrictions Tracking problems related to OAuth label May 27, 2024
@Hridoy-EL
Copy link

Hridoy-EL commented May 28, 2024

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
Copy link
Owner

@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
Copy link

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
Copy link

Hridoy-EL commented Jun 21, 2024

@shiftkey

image

image

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