Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 3
Message 1 of 2

GitHub Apps and user accounts

Solved! Go to Solution.

Is it possible to build a GitHub App that takes actions on behalf of my user account?

1 Reply
Highlighted
Solution
Moderator
Message 2 of 2

Re: GitHub Apps and user accounts

Hi @quinnlovescode!

 

Technically, yes, you can do this, but it’s not the typical use case. When GitHub Apps take action through GitHub, they act as bot users. By contrast, OAuth apps take action as user accounts, known as machine accounts. (Check out the differences between machine and bot accounts here.)

It
is possible for a GitHub App to act on behalf of a user using a user access token, with very limited access. We call these user-to-server requests. You can find the list of supported endpoints here.

Cheers!

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!