Easy Setup of Auth.js v5 with Next.js 14: Google & GitHub OAuth Tutorial

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

What you'll learn:
- Configuring Google and GitHub OAuth providers
- Middleware and route protection
- Handling authentication in server and client components

🔔subscribe and turn on the notification bell.

Timestamps -
00:00 - Intro
00:54 - Project Setup
05:59 - Middleware Setup
12:43 - Google OAuth Provider
19:29 - Logout
22:12 - GitHub OAuth Provider
26:21 - Server & Client Component Auth Protection
30:04 - Conclusion

Follow Shaif Arfan 👇👇

▶ Also Watch :

▶ Some useful Playlist :

#webcifar #nextAuth #authJS
Рекомендации по теме
Комментарии
Автор

Great video, it was really helpful.

I'm currently stuck at connecting to a database, I keep running into edge incompatibility with Prisma

The same issue with magic link using nodemailer.

raymondaxyz
Автор

thank you for the video, i hope that you'll add Credentials provider please with some typescript augmentation

CodeFunEducation-vnbs
Автор

Thank you for sharing your skill for us!

Yoh-Tech-Solutions
Автор

It's always an Indian guy that comes to help

CherryMakesGameplays
Автор

Its work on dev environmemt finely but in production when i replce my domain insted of localhost it show ridirect error for production i use nginx server

angletheeta
Автор

Could you please do it for the external API?

winndev
Автор

In oauth in production redirected me to localhost:3000 error but im cleary mention in gcp console my callback as

angletheeta
Автор

please can you make facebook and twitter provider?

alexdin
join shbcf.ru