Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 1 of 4

Push Denied (403) to Public Repo of Which I am a Collaborator, HTTPS only

Solved! Go to Solution.

I use HTTPS URLs as remotes by default

 

I can push to my own repos

I can push to private repos

I can push to most public repos where I am Collaborator (except this one)

 

The repo that I cannot push via HTTPS is:

https://github.com/AssetSync/asset_sync

But I can push via SSH

 

I was able to push via HTTPS to that repo about 2 months ago

 

There is no protected branch (checked project settings)

There should be no permission issue (I can still push via SSH)

 

 

I have read some similar posts already

https://github.community/t5/How-to-use-Git-and-GitHub/Push-Denied-to-Private-Repo-of-Which-I-am-a-Co...

https://github.community/t5/How-to-use-Git-and-GitHub/git-push/m-p/2479

 

Thanks for any help provided in advance

 

3 Replies
Community Manager
Message 2 of 4

Re: Push Denied (403) to Public Repo of Which I am a Collaborator, HTTPS only

For privacy and security reasons, the forum staff doesn't have access to how your account or the repository is configured. If you're still having problems with this, you should reach out to private support so they can take a look at things behind the scenes.

 

Let us know if you have more questions.

Copilot Lvl 3
Message 3 of 4

Re: Push Denied (403) to Public Repo of Which I am a Collaborator, HTTPS only

Thanks for your advice.

I will reach private support and see what can be done

Solution
Copilot Lvl 3
Message 4 of 4

Re: Push Denied (403) to Public Repo of Which I am a Collaborator, HTTPS only

Private Support responded saying there is 

Third-party application access policy in the organization

And my git client is SourceTree which is using OAuth

 

https://help.github.com/en/articles/about-oauth-app-access-restrictions

 

So since I am owner I just grant the organization access to SourceTree to solve this issue