Protect your NextJs 13 app using Next-Auth @hamedbahram
Protect your NextJs 13 app using Next-Auth  @hamedbahram
Uploaded April 2023 | Updated December 2026, 3 hours ago
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
πŸ”— hamedbahram.io/courses/nextjs

➑️ Source code
πŸ”— github.com/HamedBahram/next-auth-demo

➑️ Next-Auth Docs
πŸ”— next-auth.js.org/getting-started/example

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
Protect your NextJs 13 app using Next-AuthWeb Developer Roadmap 2024Using Stripe API in NextJsWhats coming up in Tailwind V4Build an AI Image App with Next.js, Clerk & PayPalNested Layouts in NextJs 13 Using Route GroupsNextJs 14 Release Notes and UpdatesUsing Prisma with TurborepoKyles Take on React 19, AI, and the Discipline Behind SuccessRecreating Alicia Keys site with Prismic & NextJsInfinite Scrolling in NextJs 13 Using Server ActionsNextJs Image Component
Hamed Bahram |

Protect your NextJs 13 app using Next-Auth

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER