NestJS Tutorial #14 - Integrate Passport with Sessions

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

Connect with me:

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

I can't make serialization working. no matter what. I even have console.logs in the class, but does not even log anything

beqaarabidze
Автор

What could be a reason for my serializerUser() and deserealizerUser() not triggering? I didn't use an extended Guard, I used AuthGuard() any technical explanation for that?

abelmurua
Автор

Can you do a video where you make use of google strategy and sessions at the same time?

josefss
Автор

i got error in this auth.controller.ts file with these line of codes :
@Get('status')

return req.user;
}

the error says : - error TS2339: Property 'user' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>'.

21 return req.user;

can someone give me a hand ?

watonngetik
Автор

Nice sir...
Once someone authenticated with oth2.0 then i am going to res.redirect user to my front end app but before that while setting this i am trying to set res.cookie, so that front have that access
But its not setting it .
Using passportjs Google strategy..
Why?
Thenks sir

saurabhtalele
Автор

is authenticated is not working is ther an other way to authenticate

shaheerali
Автор

this material is pretty complex to newbies. great job explaining it though

AliAliOxenFree