github-oauth

Implement GitHub OAuth authentication with Firestore-backed sessions and cookie restoration.

1|Updated Dec 6, 2025
One-click install
npx skills add https://github.com/mnbst/job-recommender --skill github-oauth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-oauth
Source: https://github.com/mnbst/job-recommender/tree/main/.claude/skills/github-oauth
Command: npx skills add https://github.com/mnbst/job-recommender --skill github-oauth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitHub OAuth authentication and session persistence for web apps, enabling seamless user login without frequent re-authentication.

Core Features & Use Cases

  • OAuth App-based authentication flow
  • Token exchange and session storage in Firestore
  • Cookie-based session restoration on subsequent visits

Quick Start

Authenticate users via the GitHub OAuth flow and rely on Firestore-backed sessions to maintain login across visits.

Frequently Asked Questions about github-oauth

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement GitHub OAuth authentication with persistent sessions?

Implement GitHub OAuth authentication with persistent sessions by using the OAuth App workflow for token exchange and storing session data in Firestore. This enables cookie-based session restoration to maintain seamless login across user visits without frequent re-authentication.

How does cookie-based session restoration work with Firestore for GitHub OAuth?

Cookie-based session restoration with Firestore works by storing the exchanged GitHub OAuth token in Firestore and using retry-safe cookie retrieval to validate the session. This maintains login across visits with a 7-day session validity period and proper token lifecycle handling.

Can I use Firestore to manage GitHub OAuth token lifecycle and session validity?

Yes, you can use Firestore to manage GitHub OAuth token lifecycle and session validity. The Skill implements token lifecycle handling and enforces a 7-day session validity period, backing all active sessions in Firestore for secure restoration.

What is the best way to maintain seamless GitHub login across user visits?

The best way to maintain seamless GitHub login is to combine Firestore-backed sessions with cookie-based session restoration. This approach handles token exchange securely and uses retry-safe cookie retrieval to automatically restore valid sessions on subsequent visits.

Do I need an OAuth App to handle token exchange for GitHub authentication?

Yes, you need an OAuth App to handle token exchange for GitHub authentication. The Skill implements the complete OAuth App workflow, covering the initial authentication flow and secure token exchange required to establish Firestore-backed persistent sessions.