THE GITHTML FIELD GUIDE
GitHub App vs OAuth app: understand the access model
GitHub Apps and OAuth apps use different authorization models. GitHub Apps support targeted permissions and installation-level repository selection, while OAuth apps generally act through a user’s authorized scopes. A GitHub App can also request user authorization, so seeing OAuth in a sign-in flow does not by itself identify the app type. Inspect the actual permission and installation screens.
Distinguish installation from acting as a user
Installing a GitHub App grants an installation access to selected resources under its configured permissions. Authorizing it as a user is a separate relationship that can allow actions on that user’s behalf within the applicable boundaries. OAuth apps rely on user authorization and scopes rather than the same installation permission model.
This distinction matters when an integration works for one repository but not another, or continues serving an organization after an individual changes roles. Do not assume that signing out of the integration, revoking user authorization, and uninstalling an app all have identical effects. Identify which relationship actually grants the capability you want to review or remove.
Compare the requested capability with the task
A source-reading tool should explain why it needs repository content and whether any writes are necessary. A task-management integration may need issues access without needing source content. GitHub Apps can express these as targeted permissions, whereas an OAuth scope can encompass a broader set of capabilities. Read the actual screen rather than relying only on the product’s marketing description.
- Identify the app type, publisher, requested permissions or scopes, repository selection, and organization approval requirements before authorizing.
- For a GitHub App, distinguish the installation’s selected repositories from your personal authorization to act through the app.
- If a broad OAuth scope is requested for a narrow task, ask the provider to explain the technical reason and available lower-access alternatives.
Plan revocation and verify the service’s behavior
Know where to review installations and user authorizations before connecting sensitive repositories. Removing one relationship may leave another active, and revoking access does not automatically delete data the external service already received. Check the service’s account and deletion controls separately.
For a team integration, record who owns the installation and who can change repository access. Avoid making a departing employee’s personal credential the unexplained dependency for an organizational workflow. The comparison is not a blanket claim that every GitHub App is safe or every OAuth app is inappropriate. It is a way to understand the actual authority being granted and select the narrowest supported model that meets the task.
- If an integration offers both installation and personal sign-in, write down what each step enables before approving them. Repository reading may depend on the installation while a user-facing action depends on personal authorization. That map helps explain which access remains when one relationship is later removed.
- When a provider changes its requested permissions, compare the new capability with the feature you actually use. A source browser gaining issue-writing features does not automatically make those writes necessary for your reading task. Ask whether the installation can remain narrower before approving an expanded grant.
Sources and further reading
AI-assisted writing with source-linked guidance and illustrative examples. Read our editorial approach or report a correction.