Full Example of FirebaseServerApp in Next.js 14 using middleware
Create a comprehensive solution for authentication that is both client and server using middleware to protect pages. Correctly passing the ID token of the user when needed to API endpoints.
-
Ohad Ben Dov commented
please add this feature firebase team :)))))))
-
KM commented
J T, if you have a working example, please post it somewhere, thanks!
-
J T commented
Yes please. Setting up auth with nextjs right now is a messy sandwich of nextjs docs and firebase docs with 2 youtube videos and 3 blog articles in between. I got it working, but compared to how simple auth was with just react this was a nightmare.
-
Rajesh G commented
provide ready to use examples than documentation for new classes and features.
Authenticaltion is must for all examples. -
Zach commented
Agreed!