Hello guys, i'm making a resftul api using express mongodb and passport js ( local strategy ).i created a /is_connected route to check if user is in the session or not! once i login then i make /is_connected request it gives me the user connected i'm calling req.isAuthenticated() passport method this is working fine on postman ! but when i try to do this in my browser i get empty sessioni'm using axiosthank you.
Submitted December 22, 2018 at 01:59AM by ayech0x2
No comments:
Post a Comment