samedi 4 avril 2015

Session - AngularJS + Node.js + Passport

I have an issue, I did a lot of search but I don't find a correct answer. I added session feature in my server with passport (a module for node.js), I followed tutorials for the implementation and it seems to be ok in my server. When a user is logged, and I refresh the page, the function req.isAuthenticated returns always false (function provided by passport in my server). I think I missed something in the AngularJS configuration.


Have you any ideas?


Thanks so much guys!


Aucun commentaire:

Enregistrer un commentaire