Express JS #15 - Passport.js Authentication

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


Support the Channel:

Connect with me:

Рекомендации по теме
Комментарии
Автор

My guy… everything I watched.. you are the ONLY one that made this all make sense. The serialize and deserialoze was hard for me to wrap my head around. Thanks a bunch!!

izzyvickers
Автор

Thanks so much bro! I was getting frustrated with reading documentations and tutorials but without understanding the whole idea and implementation of Passport.js with express session. You really did a great job. Thanks.

danielwaduka
Автор

thanks mate a lot ! I was having so much trouble here, i was using an email for auth but no matter what i did all i got was a bad request and then i learned about the options object from this video and now its working, thanks a lot !!!

minecraftcookie
Автор

bro is out here saving lives, shout out to Anson!

GLT
Автор

Cool! I'm ready for Google Authentication now...

offgridvince
Автор

Thank you so much for this very useful tutorial. I was completely stuck on how to use Passport and express and your video explained everything very clearly. Thank you. You've earned a new subscriber.

collinskariuki
Автор

Love your work mate. Could you please make a tutorial on the tricky bits with testing (ts-jest) like accessing the req.user or mocking middleware responses, testing behaviour of secure cookies, testing for cors.

Mongoose typescript for defining schema statics and methods

Much appreciated

noNullMoments
Автор

Thank you! Finally got my app to work after watching this

kylebeattie
Автор

Thank you so much Anson my brother 👊 Big Inspiration

JaySuge
Автор

Truly amazing thank you for this tutorial

David-meld
Автор

good job! Thanks for this video and the playlist! Its really simple to understand and follow.

sourabh
Автор

First of all thanks you for this awsome toturial. second can you tell me which font did you use it is very eye catching

muhammadilman
Автор

Hey Anson! Awesome tutorial, as always! Your explanations are clear and easy to follow. I've been implementing the login endpoint based on your guidance, and it's been smooth sailing so far.

However, I've run into a slight snag. I was wondering if you could shed some light on how to handle different JSON responses based on whether the user enters a wrong username or a wrong password. Specifically, I'm aiming to receive a distinct JSON object for each scenario, along with a status code of 401.

Any insights or tips on how to approach this would be greatly appreciated! Keep up the fantastic work!

nileshgautam
Автор

Thanks for this well formated tutorials. I have a question in stateless api how authentication work. This is a stateful api right?

thejanvithanage
Автор

Is the cookie-parser still required after installing express-session?

tochimclaren
Автор

Hi Anson, I really like your explanation. I just want to ask you a question: how can I redirect the user to the home page after login? I'm a beginner and I'm working with React for the frontend, and for the backend, I'm using Express.

mahdibhl
Автор

Hi Anson,
My Deserializer function has never been accessed, only serializer . how can I debug it?
I don't know what I am missing

anisslimatni
Автор

Hello, brother I hope you can help me with my issue, google chrome browser to set cookies rather then other browsers works very fine. Have you ever encountered this issue and fixed it, if so can you help me please ?

gooby
Автор

37 minutes to say something you could have explain in 5

caballerosalas