In my MEAN project, I have used passport authentication and calling login service from angular 5 service. When I hit the login service from browser I am getting success response but userdata coming as null, but userdata coming properly when I hit service through postman.
I have consoled in deserializeUser but this deserializeUser not triggering when I tried through browser.
In my MEAN project, I have used passport authentication and calling login service from angular 5 service. When I hit the login service from browser I am getting success response but userdata coming as null, but userdata coming properly when I hit service through postman.
I have consoled in deserializeUser but this deserializeUser not triggering when I tried through browser.