awinogrodzki/next-firebase-auth-edge

Next.js Firebase Authentication for Edge and Node.js runtimes. Compatible with latest Next.js features.

View on GitHub ↗Jump to charts ↓

awinogrodzki/next-firebase-auth-edge has 650+ stars and 50+ forks on GitHub, is written in TypeScript, and was last pushed on Aug 6, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Added to GitGenius on November 20th, 2024
Created on November 28th, 2022
Open Issues & Pull Requests: 10 (+0)
GitHub issues: Enabled
Number of forks: 56
Total Stargazers: 665 (+0)
Total Subscribers: 16 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 38.0 hours
Mean response time: 13.0 days
90th percentile: 26.1 days
Tracked items: 147

Maintainer activity

1 person did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 18, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits. How this is counted.

How this project is maintained

Work labelled "resolved" is answered fastest, typically in about 2 days, while "waiting for confirmation" waits about 2 weeks. Three people close 62% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 8
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 202 days
Stale 30+ days: 6
Stale 90+ days: 4

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • question (37)
  • enhancement (26)
  • resolved (21)
  • bug (17)
  • unconfirmed (13)
  • waiting for confirmation (11)
  • confirmed (9)
  • waiting for response (7)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Next-firebase-auth-edge is a TypeScript library that enables Firebase Authentication to work seamlessly with Next.js applications running on Edge and Node.js runtimes. The project addresses a fundamental compatibility issue: the official firebase-admin library depends heavily on Node.js's internal crypto library, which is unavailable in Next.js Edge Runtime. This library solves that problem by handling the creation and verification of Custom ID Tokens using the Web Crypto API instead, making Firebase authentication viable in edge computing environments.

The library is designed to support all the latest Next.js features, including the App Router and Server Components, while maintaining backward compatibility with legacy patterns like getServerSideProps and API Routes. According to the repository details, it has been classified across multiple authentication and infrastructure domains including next.js, firebase authentication, middleware, serverless, edge functions, and JWT verification, reflecting its broad applicability across modern web development stacks.

Key features of next-firebase-auth-edge include zero bundle size impact, minimal setup requirements that avoid the need for custom API routes or next.config.js modifications, and security-focused implementation using the jose library for JWT validation and rotating keys for cookie signing to prevent cryptanalysis attacks. The library handles authentication through middleware, streamlining the integration process significantly compared to alternative solutions.

Recent updates demonstrate active development and responsiveness to modern JavaScript ecosystem changes. The latest release includes support for Node.js 24 and NPM 11, Next.js 16, and React 19. New features added include the enableTokenRefreshOnExpiredKidHeader option for handling Google's public certificate expiration, a privatePaths option for the redirectToLogin helper function, and a Metadata feature allowing custom data storage in session cookies. The library also introduced removeServerCookies for logout handling from Server Actions, an experimental option to create anonymous users when no user is found, and full Firebase Emulator support for development without requiring a Firebase Project.

The repository shows active maintenance and community engagement. The project has attracted contributors from high-profile repositories including microsoft/vscode, microsoft/typescript, and rust-lang/rust, suggesting quality standards and cross-ecosystem relevance.

The library includes comprehensive documentation available at next-firebase-auth-edge-docs.vercel.app, along with a working demo and starter template. A HackerNews guide provides step-by-step setup instructions for developers new to Firebase or Next.js. The project supports multiple package managers including npm, yarn, and pnpm, and offers ESM, Browser, and Node.js imports for improved tree-shaking capabilities.