Agent skill · software engineering · aiskillstore
github-oauth-nango-integration
Use when implementing GitHub OAuth + GitHub App authentication with Nango - provides two-connection pattern for user login and repo access with webhook handling
Why this skill is useful
Provides specific implementation patterns and database schema for integrating GitHub OAuth with Nango that the AI wouldn't reliably generate on its own.
What it needs
Requires github, nango account access. About 6k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
GitHub OAuth + Nango Integration Overview Implements dual-connection OAuth pattern: one for user identity (github integration), another for repository access (github-app-oauth integration). This separation enables secure login while maintaining granular repo permissions through GitHub App installations. When to Use Setting up GitHub OAuth login via Nango Implementing GitHub App installation webhooks Reconciling OAuth users with GitHub App installations Building apps that need both user auth and repo access Handling Nango sync webhooks for GitHub data Why Two Connections? GitHub has two different authentication mechanisms that serve different purposes: GitHub OAuth App (github integration) What it is: Traditional OAuth for user identity What it gives you: User profile (name, email, avatar, GitHub ID) What it DOESN'T give you: Access to repositories Use for: Login, "Sign in with GitHub" GitHub App (github-app-oauth integration) What it is: Installable app with granular repo permissions What it gives you: Access to specific repos the user installed it on What it DOESN'T give you: User identity (it knows the installation, not who's using it) Use for: Reading PRs, commits, files; posting comments; webhooks The Reconciliation Problem Solution: Two separate OAuth flows linked by user ID: 1. Login flow → User authenticates → Store user identity + nangoConnectionId 2. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/github-oauth-nango-integration