We are developing an Azure API (microservice) that will integrate with our GitHub Enterprise instance.
There are two main capabilities
- Consumes the webhook payload
- Calls v3 of the API to get repository content files that have been modified
We are trying to understand what is the best Authorization option to use.
- OAuth App - documentation mentions its best for Web Apps
- GitHub App
- PAT - this seems like it’s only for Testing purposes