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

Package Authentication and Pushing to Pull Requests #1051

Closed
CSSFrancis opened this issue Mar 26, 2024 · 6 comments
Closed

Package Authentication and Pushing to Pull Requests #1051

CSSFrancis opened this issue Mar 26, 2024 · 6 comments
Labels

Comments

@CSSFrancis
Copy link
Member

Describe the bug
I'm not exactly sure what the best way to handle this is but I've been struggling to push to other peoples branches as a maintainer. The main issue appears to be something to do with 3rd party authentication

https://docs.github.com/articles/restricting-access-to-your-organization-s-data/

I think that added security is a good thing but I was curious if people had different ways of getting around this? I haven't been able to get either the command line or PyCharm to work for this, but maybe I just have the wrong access key associated pushing to GitHub.

@ericpre Do you have a suggestion for the right way to handle/do this?

@pc494 pc494 added the dev label Mar 26, 2024
@CSSFrancis
Copy link
Member Author

@pc494
Copy link
Member

pc494 commented Mar 27, 2024

Has this improved since you were bumped up to maintainer? Being able to push to other branches tends to be an exception rather than a rule on Github in my experience.

@pc494
Copy link
Member

pc494 commented Mar 27, 2024

For what it's worth, in pyxem/orix#469 I tried to use the CLI instructions at the bottom to push changes to a contributors branch (which did not work). However taking the pull request down (tiny little button, see image)

image

did seem to work...

@CSSFrancis
Copy link
Member Author

@pc494 (and anyone else who is having problems with this) it seems like you need to make sure that the oauth is allowed for some third party application. Otherwise I think you need to be very specific about how you are authenticating to make sure that GitHub doesn't block it.

Requisition oauth above seemed to work well!

@ericpre
Copy link
Contributor

ericpre commented Mar 28, 2024

Sorry I don't know, but it sounds about right that it is related to third party permission or authentication to github.

I had a similar issue, when trying to push to a bot branch in conda-forge repositories (which was previously working). In that case, this may have been related to changes in GitHub itself, or settings in the conda-forge organisation or my authentication to GitHub.... sorry, not very helpful!

@CSSFrancis
Copy link
Member Author

Closed. This seems to be a 3rd party application verificiation issue that I have fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants