githubgithub-api

Github App Can't Create Repo for Other Users


I created a Github App to allow login via Github to generate a UAT. This UAT is used to create a repository for the user. It works for the user I used to create and install the app. However, when I login and authorize the app using a different user, I get this error when attempting to create the repo:

Resource not accessible by integration

Is the Repository creation permission only applicable to the user which installed the Github App? Is it possible to create a Github App that allows any user to login via Github and have a repo created for them?


Solution

  • The solution was to use an Oauth app instead of a Github app!