QA
Intermediate LevelGit & GitHub

What is the difference between GitHub Apps and legacy GitHub OAuth Apps?

❓ Interview Prompt: Compare GitHub Apps (bot actors, fine-grained permissions, repository installation) versus legacy GitHub OAuth Apps.

GitHub Apps act as independent bot actors installed on specific repositories with fine-grained permissions. OAuth Apps act on behalf of individual user accounts with broad permissions.

Code Implementation Example

markdown
- GitHub Apps: Granular repo permissions, bot identity.
- OAuth Apps: Full user permissions, legacy OAuth.
💡Comparing GitHub Apps vs OAuth Apps permission models.
🎯 Interview Key Takeaway

Build GitHub Apps for repository integrations to enforce fine-grained permissions and independent bot identities.

#GitHub Apps#OAuth#Integrations#Intermediate
Back to all Git & GitHub Questions→

More Git & GitHub Interview Questions

Beginner LevelGit & GitHub

Compare git rebase versus git merge and explain how git bisect finds regressions.

Beginner LevelGit & GitHub

What is the difference between git init and git clone?

Beginner LevelGit & GitHub

What are the Three Trees in Git (Working Directory, Staging Area / Index, Commit History)?