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
1 Reply
shpitzy
shpitzy12mo ago
I guess that line of "Only supports JWT as session strategy" answers my problemo...
No description
Want results from more Discord servers?
Add your server