Full Course - How to set up Email Authentication + Google OAuth in Next.js 14

preview_player
Показать описание


Chapters:
0:00 - Intro
4:00 - Install the rest of the packages
5:04 - Setting up the postgres database
12:28 - Environment variables
20:49 - Creating a blank Home page
22:56 - Creating a blank Sign-in page and Dashboard page
27:40 - Creating the Sign in and sign out buttons
43:38 - Configuring NextAuth and adding functionality to buttons
59:10 - Setting up Email Magic Links
1:08:21 - Automatic database cleanup function
1:10:58 - Link/Unlink Google Account
1:18:56 - Displaying and changing username
1:25:24 - Role Based Access Control

Help this channel grow by supporting me on Patreon:
Рекомендации по теме
Комментарии
Автор

Your content is truly magnificent! Please create more videos, especially on e-commerce. Looking forward to learning more from your amazing insights!

YerevanAvenue
Автор

bro this is awesome! please keep making more of this.

lnhv
Автор

This guy has a seamless style of explaining concept with great steeze

victormayowa
Автор

This was a fantastic watch. Thank you!

Magnificode
Автор

Very good content. Please keep uploading next.js tutorials like this

omeryazar
Автор

Thanks for the step by step tutorial. All worked flawlessly!

conradrusso
Автор

I just finished the tutorial. Very good content, its the best tutorial for auth.js out there. Thanks.

goncalojbsousa
Автор

This is unreal! How did you learn all this stuff?

trumppence
Автор

Would love to see a bit on deployment ... moving postgres to an external provider, etc.

steveahlstrom
Автор

I was in the middle of implementing this and got this video notification 😂 . Thanks!

riceriot
Автор

BRO🎉.
Thank you so much.

Your channel is set up for success.

I watched the entire video + subscribed.

PS:
- the docker part is a gem🎉.
- I wish you had shown the AWS SES part, but I guess I can figure that out on my own on my second take coding along.
- Please create a Discord Server, post the link here, so you can keep us up-to-date with your channel progress, suggestions/recommendations from us, etc.. I'm actually a C++ Dev learning some WebDev so I can create a Blogging App [I like to write😅], but I could help you mod the server.
- Create a Patreon as well, so we can help you to remain as unsponsored as possible, so you keep on using as many free tools as possible.

Thank you again.

theintjengineer
Автор

Thanks. This is the best nextauth video I've ever seen. If anyone ask how to use nextauth just send this video instead of the doc. xD
is there any specific reason why you use router.push instead next/link ?
hope you make more video about next.js

AvpADR
Автор

please can you make video about AuthJs v5 when user can login using a facebook account

I searched for this topic and now on make video on youtube

alexdin
Автор

it would be great if you do same connection in react expo so we won't need to go for services like clerk, supabase auth

abdulrafay
Автор

Access and refresh token required video on this

syedbilalchand
Автор

Wonderful content. Other content providers did not mention the necessary production settings which caused my production to fail yet dev to pass, was so frustrating. I note you verify authority to paths in the function, to see if signed in or not, or admin etc. Another solution is Middleware, any advantage of one approach over the other ?

richardstuart
Автор

Thanks for the video, can you make a new one on using NextAuth with email/password login?

a
Автор

please can you make a video about login using facebook?

alexdin
Автор

I had installed postgres on my local machine and was using postgresql on docker with the same port which caused me few hours of trouble, use different ports or disable your local pgservice

-UPH-KRISHNAM
Автор

British AND Asian?! Can't go wrong.

ts