This boilerplate uses next-firebase-auth-edge to handle authentication in a Next.js + Firebase application.
Get auth users
Authentication in this boilerplate is split into two main parts, which will be covered in the following sections:
- Client Auth – Handling authentication on the client side.
- Server Auth Providers – Handling authentication on the server side.
For more advanced usage, including middleware, custom claims, and detailed configuration options, we encourage you to check out the official next-firebase-auth-edge documentation. It’s a great resource to understand all the features available and how to customize authentication to fit your app perfectly.