Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Next.js 14 Authentication - Kinde Auth, Server Actions, Roles and Permissions

ByteGrad via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to implement comprehensive authentication in Next.js 14 applications using Kinde Auth in this 40-minute tutorial. Master the setup and configuration of Kinde authentication service, then explore authentication implementation across different Next.js contexts including server components for protected routes and pages. Discover how to create login pages and implement authentication in client components, followed by building login and register link components using Kinde's system. Understand how to protect specific routes like admin areas and grasp the differences between static and dynamic rendering in authenticated applications. Explore authentication implementation in middleware for route protection and dive deep into authentication within server actions, which is highlighted as particularly important. Master roles and permissions management to control user access levels throughout your application. Finally, learn how to connect Kinde authentication data with your own database for complete user management integration.

Syllabus

0:00 Full-stack auth in Next.js overview
5:16 Kinde Auth setup
7:17 Auth in server components protected route / page
8:45 Login page
9:12 Auth in client components
13:11 Login & Register link components Kinde
14:37 Protect /admin-area route
15:54 Static vs dynamic rendering
16:53 Auth in middleware
18:47 Auth in server actions IMPORTANT!
23:16 Roles & Permissions
36:05 Connect Kinde data with your own database

Taught by

ByteGrad

Reviews

Start your review of Next.js 14 Authentication - Kinde Auth, Server Actions, Roles and Permissions

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.