GitHub Apps documentation - GitHub Docs

Differences between GitHub Apps and OAuth apps

In general, GitHub Apps are preferred to OAuth apps because they use fine-grained permissions, give more control over which repositories the app can access, and use short-lived tokens.