Is there a recommended way to verify a session in ...
# support-questions
d
Is there a recommended way to verify a session in the new middleware format for NextJS? no res/next in the latest to make use of
verifySession
https://nextjs.org/docs/advanced-features/middleware
r
Hey @dreamer. At the moment, you need the res / next object for session verification. If that’s not available, it won’t work (we are working on an update that allows you to verify a session without these as well).
d
@rp great, will be on the lookout for it 👍 thanks for all your hard work!