What problem does it solve?
GitHub offers two separate authentication mechanisms—OAuth Apps for user identity and GitHub Apps for repository access—and reconciling them into one coherent login-plus-repo-access flow is error-prone. This Skill provides a proven two-connection pattern using Nango, including webhook handling, polling endpoints, and org-approval edge cases.
Core Features & Use Cases
- Dual-Connection Pattern: Separates user login (
github integration) from repository access (github-app-oauth integration), linked by user ID.
- Webhook Handling: Verifies Nango webhook signatures with HMAC-SHA256 and routes
auth and sync webhook types to the correct handlers.
- Edge-Case Coverage: Handles returning users with temporary polling connections, duplicate connection cleanup, and pending organization admin approval (403 responses).
- Use Case: You are building a SaaS app where users sign in with GitHub and then connect repositories for PR and commit syncing. Use this Skill to scaffold the session endpoints, webhook handlers, database schema, and frontend Nango Connect UI integration.
Quick Start
Ask the AI to implement GitHub login and repository connection using the Nango two-connection pattern from this Skill, including the auth webhook handler and polling status endpoints.