Fullstack Authentication & Authorization in Next.js using NextAuth V5 (Auth.js), Zod, Shadcn UI

Описание к видео Fullstack Authentication & Authorization in Next.js using NextAuth V5 (Auth.js), Zod, Shadcn UI

Hey everyone. In this video I show you how you can implement fullstack authentication and authorization in your next.js apps using next-auth v5 which is also called as auth.js.

I have also talked about Zod and Shadcn. Zod for data validation and schema structre and Shadcn for UI components.

I have also explained roles based access control.

I have explained both credentials auth and social auth / oauth. I have also explained some of the useful cases that you would encounter when you will be working with next-auth.

For e.g.

How do you access session in both client and server side in next.js ?
How do you implement role based access control?

Thank you :)

Github repo: https://github.com/adityasinghcodes/n...

Комментарии

Информация по комментариям в разработке