Hi
I love this next plugin thing! It's so handy!
I was wondering if there exists any simple way to protect an API route with this plugin? I imagine it would be as simple as validating the cookie, but unsure how exactly to do so...
It could also be handy to do in a nextjs middleware too, now that those exist 😁
Thanks!
:)