Sessions in Node #7 | Authentication in Node.js with Express and sessions | secure password login

preview_player
Показать описание

This is part 7 of our series in which we cover how to log users by comparing password hashes created by bcrypt.

00:00 - finding users by email and bcrypt password
02:24 - wiring up authentication service with data access object
04:08 - comparing password hashes with bcrypt
06:14 - allowing or blocking login attempts
07:03 - error handling for finding users by email
07:45 - wiring up authentication service with controller
08:50 - logging error messages
09:40 - storing custom data inside session
11:15 - adapting authentication middleware
12:04 - testing cookie-based session implementation with Postman
Рекомендации по теме
Комментарии
Автор

Great video and awesome series someone could make a production app in a couple hours just by your videos. Keep up the great work!

arifali
Автор

Great,
The big difference between you and other instructors that which is really obvious is that you have a hand on projects experience, am I right ?

melim
Автор

Another great video
But we need another playlist about winston.js library
of course if you have time for doing it

ahmedelgaidi
Автор

How receive sessionId frontend side? Is SessionId including response automatically?

amaraag
Автор

I understand all this but doing authentication with express.sessions and passport is like helll. There is no tutorial neither documents teaching how to use those. Any recommendation where can I learn those?

bigbadcatbigbcy
Автор

in auth.js(service) why do we need return Promise in case not match or occur error ?
Thank bro

juhandvan
Автор

alternative for postman for linux user?

adarshshrivastava