ExpressJS - OAuth2 with Discord

preview_player
Показать описание
Support the Channel:

Connect with me:

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

Thank you, that was very helpfull. Could you please to describe how to implement some other guard (for Google, for example), that will work along the first one to give the choice for users?

reabstractor
Автор

hey anson, great video, u said u ll show us how to implement both strats at the same time, right now i followed the whole serie but I didn't comment the local strategy like u did in this vid, and now i'm facing an issue that the discord login triggers the local serializeUser and deserializeUser instead of the discord serializeUser and deserializeUser, I can't find a solution to how to work with both strats at the same time and each start follows its serialization

walidchelghoum
Автор

Anson, after completing this tutorial in a series, now middleware that check if user was authenticated if(req.user) next() does not work, even though session is being serialized and stored in database, it shows req.user as undefined in console.log. Do you know what would be a problem? thanks in advance.

kmaximoff
Автор

How was a session document generated in the DB? I'm assuming via connect-mongo, but it is not creating a sessions collection?

UAFC
Автор

when I update my discord username but my mongodb usernam not update how to fix that issues? Thank you.

youmee
Автор

Can I know how to store profile details in cookies ?

breakingbad
Автор

Thanks so much for the video Anson. Pls help us with authorization 🙏🙏. There are few videos out there that talk about this. Few that are out there don't explain it better. Thanks in advance

paulojo