Middleware and firebase Auth
probably it is a noob question but I really didn't find any answer out there. How can i implement middleware in nextJs with firebase auth? i am using 12.2 nextJs and trying to authenticate my users in middleware before sending them to dashboard.
4 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yep thanks i will try it.
its not that hard doing it without nextauth also if you dont want to add that package just for the middleware, i can help with examples if you are using trpc
sadly i am not using trpc right now with this project.