Cookie Authentication | Session Authentication in Nodejs

Monsterlessons Academy β€’ December 20, 2022
Video Thumbnail
Monsterlessons Academy Logo

Monsterlessons Academy

@monsterlessonsacademy

About

Helping frontend developers grow fast β€” from junior to confident senior. πŸ“ˆ Join the Bootcamp. Go from Middle to Senior Frontend in 12 Weeks

Video Description

🧠 1-on-1 Frontend Mentorship (90-min paid session) β†’ https://monsterlessons-academy.com/mentorship?utm_source=youtube&utm_medium=description_link 🎁 Free PDF: Senior Developer Starter Kit (Checklist + 30-Day Plan) β†’ https://monsterlessons-academy.com/newsletter_subscribers/senior_starter_kit?utm_source=youtube&utm_medium=description_link πŸš€ Go from Middle to Senior Frontend in 12 Weeks β†’ https://monsterlessons-academy.com/courses/frontend-developer-middle-to-senior-bootcamp?utm_source=youtube&utm_medium=description_link Learn how to implement cookie authentication in a real NodeJS project. We will implement session authentication and compare it with JWT authentication. Cookie authentication is older but easier approach to build authentication in your web application. πŸ›  Need a video editor? Contact Ekaterina: [email protected] πŸ“Œ Social Twitter: https://twitter.com/monster_lessons Instagram: https://www.instagram.com/monsterlessonsacademy Facebook: https://www.facebook.com/monsterlessonsacademy Linkedin: https://www.linkedin.com/company/monsterlessons-academy Tiktok: https://www.tiktok.com/@monsterlessonsacademy πŸ“š References Source code - https://github.com/monsterlessonsacademy/monsterlessonsacademy/tree/275-cookie-authentication πŸ•’ TIMESTAMPS 0:00 Introduction 2:16 Cookie authentication in NodeJS 4:43 Installing dependencies 5:26 Creating session storage 6:29 Adding expiration time 8:03 Adding a cookie 8:59 Checking authentication This video is NOT sponsored. Some product links are affiliate links which means if you buy something I'll receive a small commission.

You May Also Like

Treehouse Dream Kits

AI-recommended products based on this video

Loading...
Outsunny Raised Garden Bed Wood, Freestanding Planter Stand with 5 Planting Boxes and 4 Hooks, Good for Herbs, Flowers, or Vegetables in Patio Balcony Indoor Outdoor

Outsunny Raised Garden Bed Wood, Freestanding Planter Stand with 5 Planting Boxes and 4 Hooks, Good for Herbs, Flowers, or Vegetables in Patio Balcony Indoor Outdoor

(11)
$109.99
FREE delivery Jun 12 - 13 Arrives before Father's Day
Loading...
Outsunny 3-Tier Wood Raised Garden Bed, Elevated Planting Box, Outdoor Vegetable Flower Container, Herb Garden Indoor Kit, Gray

Outsunny 3-Tier Wood Raised Garden Bed, Elevated Planting Box, Outdoor Vegetable Flower Container, Herb Garden Indoor Kit, Gray

(39)
$89.91
FREE delivery Jun 12 - 13 Arrives before Father's Day
Loading...
RIKADE Telescoping Ladder, A-Frame Aluminum Telescopic Ladder with 1 Button Retraction, Portable Extension Ladder Adjustable Lightweight Folding Ladder for Home or RV Work, 330lb Capacity

RIKADE Telescoping Ladder, A-Frame Aluminum Telescopic Ladder with 1 Button Retraction, Portable Extension Ladder Adjustable Lightweight Folding Ladder for Home or RV Work, 330lb Capacity

(522)
$145.99
Loading...
Ladders Telescoping Ladder 12.5 FT Dual Purpose Aluminum Telescopic Ladder with Non-Slip Feet Adjustable Lightweight Compact Ladders for Household or RV Outdoor Work,330lb Load Capacity(1.9M+1.9M)

Ladders Telescoping Ladder 12.5 FT Dual Purpose Aluminum Telescopic Ladder with Non-Slip Feet Adjustable Lightweight Compact Ladders for Household or RV Outdoor Work,330lb Load Capacity(1.9M+1.9M)

(82)
$136.79$127.99
FREE delivery Sat, Jun 28
Loading...
Telescoping Aluminum Ladder 16.5 FT Dual Purpose With Stabilizer - Adjustable Compact Step Climb for Household, RV, Outdoor Work - 330lb Load Capacity (2.5M+2.5M)

Telescoping Aluminum Ladder 16.5 FT Dual Purpose With Stabilizer - Adjustable Compact Step Climb for Household, RV, Outdoor Work - 330lb Load Capacity (2.5M+2.5M)

(660)
$179.54$153.99
FREE delivery Sat, Jun 28
Loading...
LEGO Star Wars Millennium Falcon A New Hope 25th Anniversary Collectable Model - DIY Building Sets for Adults, Men & Women, Ages 18+ - Comes with Display Stand - Star Wars Gift - 75375

LEGO Star Wars Millennium Falcon A New Hope 25th Anniversary Collectable Model - DIY Building Sets for Adults, Men & Women, Ages 18+ - Comes with Display Stand - Star Wars Gift - 75375

(1,226)
$78.23
FREE delivery Wed, Jun 18
900+ bought in past month
Loading...
LEGO Icons French CafΓ© Paris Building Kit - DIY Set for Adults - Collectible Bedroom and Home Decor - Display for Home or Office - Gift for Coffee Lovers - 10362

LEGO Icons French CafΓ© Paris Building Kit - DIY Set for Adults - Collectible Bedroom and Home Decor - Display for Home or Office - Gift for Coffee Lovers - 10362

(24)
$79.98
PrimeFREE delivery Sat, Jun 14
100+ bought in past month
Loading...
LEGO Icons Leonardo da Vinci's Flying Machine DIY Kit - Ornithopter Building Set for Adults, Ages 18+ - Craft for Home or Office Decor with Display Stand - Gift Idea - 10363

LEGO Icons Leonardo da Vinci's Flying Machine DIY Kit - Ornithopter Building Set for Adults, Ages 18+ - Craft for Home or Office Decor with Display Stand - Gift Idea - 10363

(185)
$49.98
PrimeFREE delivery Sat, Jun 14
200+ bought in past month
Loading...
Sukakimi Fort Building Kit, Glow In The Dark 155 Pcs Kids Fort Building Kit Construction Toys Diy Crazy Forts Indoor Outdoor For 4,5,6,7,8,9,10 Years Old Boys Girls

Sukakimi Fort Building Kit, Glow In The Dark 155 Pcs Kids Fort Building Kit Construction Toys Diy Crazy Forts Indoor Outdoor For 4,5,6,7,8,9,10 Years Old Boys Girls

(9)
$9.99
FREE delivery Sun, Jul 6 on your first order