next-jsauth
How to create a protected route in Next.js using middleware or getServerSideProps
In this post, you will learn how to protect all your server-side rendered routes in Next.js using Next.js middleware or getServerSideProps.
Nico Botha