Protect your NextJs 13 app using Next-Auth

Published: 30 April 2023
on channel: Hamed Bahram
79,842
1.7k

This video will look at authentication in NextJs 13 using the Next-Auth package and the new update that supports the new route handlers.

➡️ The Ultimate NextJs Course
🔗 https://www.hamedbahram.io/courses/ne...

➡️ Source code
🔗 https://github.com/HamedBahram/next-a...

➡️ Next-Auth Docs
🔗 https://next-auth.js.org/getting-star...

Chapters:

0:00 Intro
0:30 Project setup
1:30 Install next-auth
03:25 Initialize next-auth config
08:40 Add session provider
12:05 Protecting client-side pages
18:35 Protecting server-rendered pages
22:40 Protecting API routes
24:26 Outro


Watch video Protect your NextJs 13 app using Next-Auth online without registration, duration hours minute second in high quality. This video was added by user Hamed Bahram 30 April 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 79,842 once and liked it 1.7 thousand people.