What should I use? Github app or Auth app?


Hello, I found an article which describes the difference between the two, but still couldn’t figure out what should I use.

What I want to do:

  • to authenticate the user through github
  • to create a new repository for this user
  • to push data in this repository every day

Thank you in advance :slight_smile:


If you want the entity that pushes the data to look like the user, you should use OAuth. If you want it to look like a bot, you should use a GitHub App

  • With OAuth, you authenticate as the user when you make server-to-server requests
  • With GitHub Apps, you authenticate as your app when you make server-to-server requests

Best of luck!