-
-
Notifications
You must be signed in to change notification settings - Fork 370
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
Troubleshooting guide for Github authentication flow #2333
Comments
If you can't find your repo on the list check this:
If you can't give us access to the organization who owns the repo, you won't see it in the list. Please contact support if this is the case. also useful for:
We agree, the permissions are overly generous, we just need to read info. Unfortunately, there's not much we can do now since this is the only scope we can use to read the info we need. We've discusses this at length here: #355 If you have any suggestions on how to handle this better, feel free to send post on that issue, start a new one or send us an email support@opencollective.com |
If you need to test the flow, the best way is to go to https://staging.opencollective.com/opensource/apply where you'll be able to add any repositories safely. The only blocker that you may encounter is that you need to have access to a repository with 100+ stars (the usual limitation) to be able to add it. If that's a problem, we can easily disable this requirement for staging. |
@Betree Asking before I break anything: the only repositories with 100+ stars I have access to are from Open Collective's organization. Would that be a problem to test the flow? Or would you rather disable that requirement? |
@contraexemplo Feel free to test with Open Collective repos, as long as it's on staging that's fine. One problem you may face is that other team members may already have done the same on staging, thus you may get an error like "this collective already exist". If you face this issue, just tell me and I'll prioritize the ability to disable the 100 stars requirement on staging. |
@Betree I can't go much further after picking a repository because I'm not an admin on eligible repositories or organizations. Will disabling that 100 stars requirement allow me to continue with any other repository I may have on my account? |
@contraexemplo Yes. I'm going to put that on my TODO to unblock you |
@Betree Just to check: did you already disable the filter? Because I still can't find repositories with less than 100 stars on the list to apply. I tried to reconnect my GitHub account to see if anything would change but... that doesn't seem to do anything. It looks like it sends an API request but on my settings, it still shows "GitHub account contraexemplo connected on 8/29/19" (yesterday). Additional info: I revoked read authorization from my GitHub account and it allowed me to reconnect. However, I still can't find my other repos to pick from that list and it still shows "GitHub account contraexemplo connected on 8/29/19". |
@contraexemplo Not yet but the PRs are ready (opencollective/opencollective-api#2481 + opencollective/opencollective-frontend#2441). I'll try to get this merged before the weekend |
Okay! Thank you @Betree |
@contraexemplo Sorry I haven't been able to merge in time, will be done today |
@Betree No worries! |
@contraexemplo It's merged, https://staging.opencollective.com/opensource/apply should now display all your repos |
@Betree Aaaand it's working! Thank you! |
@Betree What's the recommended procedure to change which GitHub account is connected to your profile on Open Collective? Revoking access from GitHub? |
@contraexemplo Sorry for the late reply! I would indeed revoke access from GitHub yes. |
@Betree I'm revisiting this issue this week and I have a question: when I go through the authorization process on GitHub, our organization ( Additionally, with the organization I created just to test those functionalities, my policy is access restricted; I have to click on |
Yes it is. We already granted the permissions to the Open Collective Github app for our organization, that's why there's a green tick.
Seems correct. |
Great, thanks! |
Finished with @alanna's help, published here: https://docs.opencollective.com/help/collectives/osc-verification |
@contraexemplo looking great! |
We get a lot of support requests related to the Github authentication flow, and I struggle because I don't know how to help people troubleshoot.
Would it be possible for @znarf or @xdamman or someone who understands how it works to give me the info here so we can write up a guide for the docs?
Here are the common issues people report:
Currently whenever someone can't use the Github flow I just ask them to create the Collective and manually apply to OSC. But this is not great because it's sometimes difficult for me to verify they are a legit core contributor this way. It's possible someone could start a Collective for a repo they don't have rights to. So it's better if we can get the Github flow working for them.
The text was updated successfully, but these errors were encountered: