I am creating a web application to create a private Github repo for the user. I followed the instructions to create a Github App and use it to create a UAT via these instructions.
In my Github App, I do not see permissions for repo
which is required according to this doc.
I have enabled read and write Repository permissions for Administration, Contents, Custom Properties, Environments, and Projects. However, my POST request to /user/repos
with the user’s UAT returns an error response:
{
"message": "Resource not accessible by integration",
"documentation_url": "https://docs.github.com/rest/repos/repos#create-a-repository-for-the-authenticated-user",
"status": "403"
}
How can I fix my permissions to create a private repository for the user via UAT?