When authenticated as a Github App, should you be able to retrieve a list of forks for a repository?
Right now, let's say that an organization Acme has installed my GitHub app and authorized access to a couple of private repositories. Everything works as expected (cloning, commit statuses, etc.). Yet when I try to retrieve a list of forks for a repository they have given access to, the response is an empty list.
This does not occur while using OAuth app access, and the documentation makes the permission restrictions pretty explicit. Is there an equivalent for Github Apps? Should I be able to retrieve a list of forks?
Just to confirm, we are getting an empty list, not a permission error or something similar.
Thank you for being here! Yes, you should indeed be able to call a user to server request when using a user access token to list forks. If you are still having this issue would you be so kind as to contact firstname.lastname@example.org.
Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!
Thank you for being here! Yes, you should indeed be able to call a user to server request when using a user access token to list forks.
That's the thing, I'm not using a user access token really, I'm authenticated as a Github App. It works with a regular oauth token, not with an app one.
I've reached out to the suppport, thanks!