shpitzy
shpitzy
Explore posts from servers
TTCTheo's Typesafe Cult
Created by shpitzy on 11/12/2023 in #questions
NextAuth with middleware
Hi! I've got an admin route which I want to block. I cannot seem to find how to import the session into the middleware's edge runtime and get the session there so I can condition routing bases and the current session (or missing session). I'm using the lastest T3 Stack
2 replies