I have build a Github App which creates code reports for each commit, this app works fine.
Now I want to make this report accessible to all users wich have access to the related repo.
I want to do this via the OAuth possibilities of the Github App.
My OAuth Login through the App works, I god a User access token.
If I call https://api.github.com/user with this token everything looks fine.
But If I read https://api.github.com/repos// I got a 404.
Under https://api.github.com/orgs//repos I only got the public repos.
How can I verify that a OAuth User of my App has access to a specific private repo?