Tutorial built with Next.js 11.1.0 This is a quick post to show how to redirect users to the login page in a Next.js front-end (React) app. The redirect applies to users that attempt to access a secure/restricted page when they are not logged in. The below components are part of a Next.js basic authentication tutorial I posted recently that includes a live demo, so to see the code running check ou