How to Implement Authentication in Next.JS to Protect your Routes
Before understanding the auth flow, we need to make clear the how NextJS works Understanding the 3 types of rendering First of all you need to understand how next js renders things. There are three main ways: Statically render the structure of the page when you compile your project in all the pages that don’t …
How to Implement Authentication in Next.JS to Protect your Routes Read More »