Protected Routes and Redirect on Login with  NextJS 13 + Firebase Auth
Channel: RavenJS
Date: 2023-11-16

Learn how to leverage the App Router feature in Next.js 13 to create routes that are protected and accessible only to authenticated users.

💡 Key Topics Covered:
1. Setting up Firebase Authentication with Next.js 13.
2. Creating Protected Routes with the App Router.
3. Implementing Redirect on Login for a seamless user experience.
4. Use URL Query Parameters [/login?continueTo=] to redirect users on login.

The code used in this video:
https://github.com/voidranjer/ravenjs-next-protected-routes

React Authentication Crash Coures (Firebase v9):
https://youtu.be/_Kv965pA-j8

Firebase Auth Documentation:
https://firebase.google.com/docs/auth/web/start

Firebase Auth Playlist:
https://youtube.com/playlist?list=PLqFvlDFoiZ-3HoHuYfqc4SrId1JbrtTnA

Timestamps:
00:00 - Start