Note: Consider building a GitHub App instead of an OAuth app. Both OAuth apps and GitHub Apps use OAuth 2.0. GitHub Apps can act on behalf of a user, similar to an OAuth app, or as themselves, which is beneficial for automations that do not require user input. Additionally, GitHub Apps use fine-grained permissions, give the user more control over which repositories the app can access, and use shor
![Authorizing OAuth apps - GitHub Docs](https://cdn-ak-scissors.b.st-hatena.com/image/square/c852e55126697503d2d6aa748d905fcfaf8eface/height=288;version=1;width=512/https%3A%2F%2Fgithub.githubassets.com%2Fimages%2Fmodules%2Fopen_graph%2Fgithub-logo.png)