Master Next.js Authentication in Just 40 Minutes

Jan Marshal β€’ March 19, 2025
Video Thumbnail
Jan Marshal Logo

Jan Marshal

View Channel

About

Hey everyone! My name is Jan Marshal, and I create videos centered around the world of web development. Whether it's videos talking about my opinion on certain tech or comprehensive full-stack tutorials, my channel is your go-to destination for all things regarding web development!

Video Description

Authentication and authorization sound simple, right? Well, there's actually a lot more to it, OAuth, passwordless auth, RBAC, preserving static rendering, avoiding security mistakes like data leaks, and much more. But don’t worry! In this video, we’ll cover all of these topics and, of course, implement them in a Next.js application πŸ”’ Get started with Kinde: https://dub.sh/xeU8r3v πŸ“Έ Screen Recording Software: https://dub.sh/eDa47SO πŸš€ Checkout Cal for Free: https://dub.sh/FAuffAy πŸ‘¨πŸ»β€πŸ’» GitHub Repository: https://github.com/ski043/master-zod-yt 🌍 My Website: https://janmarshal.com/ βœ… Follow me on X: https://x.com/janmarshaldev πŸ“§ Business ONLY: [email protected] Timestamps: 00:00 Intro 00:40 Project Introduction 02:05 Request Lifecycle / Diagrams 09:00 Implement Authentication 18:00 How to Preserve Static Rendering 22:00 Middleware 29:00 RBAC 33:00 Security (DAL and More)

You May Also Like

Boost Your Web Dev Setup

AI-recommended products based on this video

Loading...
Toddler Kitchen Tower, Learning Standing Tower, 4-in-1 Kitchen Black Wooden Stool Helper with Chalkboard Montessori and Waldorf Helper for Kids in Kitchen

Toddler Kitchen Tower, Learning Standing Tower, 4-in-1 Kitchen Black Wooden Stool Helper with Chalkboard Montessori and Waldorf Helper for Kids in Kitchen

(12)
$89.99
FREE delivery Sat, Jun 28
50+ bought in past month
Loading...
ARZOPA Portable Monitor, 16.1" FHD 1080P Kickstand 100% sRGB High Color Gamut Portable Laptop Monitor IPS Eye Care Screen for High-end Office & Entertainment - Z1C

ARZOPA Portable Monitor, 16.1" FHD 1080P Kickstand 100% sRGB High Color Gamut Portable Laptop Monitor IPS Eye Care Screen for High-end Office & Entertainment - Z1C

(2,728)
$129.99
FREE delivery Tue, Aug 12
100+ bought in past month
Loading...
VersionTECH. Gaming Mouse Ergonomic Wired Computer Mouse with 7 Colors LED Backlight, 4 DPI Settings Up to 3600 DPI Compatible for Chromebook Windows 7/8/10/11 XP/Mac/Linux Gamer/Notebook/MacBook
Best Seller

VersionTECH. Gaming Mouse Ergonomic Wired Computer Mouse with 7 Colors LED Backlight, 4 DPI Settings Up to 3600 DPI Compatible for Chromebook Windows 7/8/10/11 XP/Mac/Linux Gamer/Notebook/MacBook

(15,947)
$12.79
FREE delivery Thu, Sep 11 on your first order
500+ bought in past month
Loading...
SEVEN WARRIOR Gaming Desk with LED Lights & Power Outlets, 55" Computer Desk with Monitor Shelf, Home Office Desk with Cup Holder and Headphone Hook, Ergonomic, Carbon Fiber Surface Black

SEVEN WARRIOR Gaming Desk with LED Lights & Power Outlets, 55" Computer Desk with Monitor Shelf, Home Office Desk with Cup Holder and Headphone Hook, Ergonomic, Carbon Fiber Surface Black

(693)
$109.99
FREE delivery Thu, Jun 26
Loading...
LODVIE Wireless Mouse for Laptop,2400 DPI Wireless Computer Mouse with 6 Buttons,2.4G Ergonomic USB Cordless Mouse,15 Months Battery Life Mouse for Laptop PC Mac Computer Chromebook MacBook-Black

LODVIE Wireless Mouse for Laptop,2400 DPI Wireless Computer Mouse with 6 Buttons,2.4G Ergonomic USB Cordless Mouse,15 Months Battery Life Mouse for Laptop PC Mac Computer Chromebook MacBook-Black

(7,870)
$14.99
Prime
2K+ bought in past month
Loading...
BBQ Rib Skinner, Rib Prep Pro, Professional Boning Tongs Boning Knife Set for Perfect Ribs, Ergonomic Handle Precise Cutting, Ultimate Grilling Gift for BBQ Enthusiasts & Grill Masters

BBQ Rib Skinner, Rib Prep Pro, Professional Boning Tongs Boning Knife Set for Perfect Ribs, Ergonomic Handle Precise Cutting, Ultimate Grilling Gift for BBQ Enthusiasts & Grill Masters

(0)
$14.99
$5.88 delivery Jul 7 - 25
Loading...
ybaymy 4 Tier Folding Ladder Chair, 3-in-1 Wood Step Ladder 265 lbs Capacity Display Ladder, Multi-Functional Step Stool, Folding Step Ladder for Home Office Kitchen13.78''(L) x18.11''(W) x35.43''(H)

ybaymy 4 Tier Folding Ladder Chair, 3-in-1 Wood Step Ladder 265 lbs Capacity Display Ladder, Multi-Functional Step Stool, Folding Step Ladder for Home Office Kitchen13.78''(L) x18.11''(W) x35.43''(H)

(7)
$103.99
FREE delivery Sat, Jun 28
Loading...
OCKYOOZ 4 Tier Folding Ladder Chair, 3-in-1 Solid Wood Step Ladder, Foldable Ladder Stool Shelf, Protable 4-Step Library Ladder, Multi-Functional Display Stand for Home Office (Size:14"L*18"D*35.4"H)

OCKYOOZ 4 Tier Folding Ladder Chair, 3-in-1 Solid Wood Step Ladder, Foldable Ladder Stool Shelf, Protable 4-Step Library Ladder, Multi-Functional Display Stand for Home Office (Size:14"L*18"D*35.4"H)

(3)
$119.99
FREE delivery Sat, Jun 28
Loading...
GOOFCXO 4 Step Folding Ladder Chair, 3-in-1 Wood Ladder Stool, Multi-Functional Portable Step Stool Display Stand for Home Kitchen Office Library, 265lbs Load Capacity, 34.3" H x 13.4" L x 15.2" W

GOOFCXO 4 Step Folding Ladder Chair, 3-in-1 Wood Ladder Stool, Multi-Functional Portable Step Stool Display Stand for Home Kitchen Office Library, 265lbs Load Capacity, 34.3" H x 13.4" L x 15.2" W

(0)
$118.26
FREE delivery Sat, Jun 28