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
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
AGHA
AGHA2y ago
yep thanks i will try it.
splitfire?
splitfire?2y ago
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
AGHA
AGHA2y ago
sadly i am not using trpc right now with this project.
Want results from more Discord servers?
Add your server