Get your users logged in and stored on Firebase in about 15 minutes from scratch using Next.js 13, so it accounts for server and client component requirements.
If it helped, leave a like and comment on what you'd like to see in future videos! ✌️
The code: https://nickderaj.com/youtube/nextjs-...
Chapters:
0:00 Introduction
0:41 Setting up Firebase
1:36 Initialising the Nextjs App
2:22 Connecting Firebase to our app
3:30 Setting up Environment Variables
5:01 Setting up Firebase Auth
6:00 Creating a Client Wrapper
7:05 Auth State listener
09:10 Setting up the UI
09:32 Logging In a User with Popup
13:13 Logging Out
13:55 Handling Errors
14:30 Log in with Redirect
15:15 Checking the Users in the console
15:41 Outro