next-firebase-auth-edge
Effortlessly incorporate Firebase Authentication in Next.js for both Edge and Node.js environments utilizing the newest features such as App Router and Server Components. This library addresses limitations of firebase-admin in Edge Runtime, offering zero bundle size and minimal configuration without extra API routes. Provides robust security with JWT validation using jose and rotating keys. The latest version includes optional custom token support, improved tree-shaking with ESM imports and compatibility with Node.js 22, Next.js 15 RC, and React 19.