I'm doing simple authorization with NodeJS using mongodb. The problem is Chrome on my work computer doesnt't want to get cookes from my Node- app. We use Google Chrome 17.0.963.56. Same thing goes with Opera/FF. Bug founded on Windows XP Professional x64 Edition Version 2003 Service Pack 2. Detailed source I use can be found at this topic: http://stackoverflow.com/questions/11103842/nodejs-mongodb-redis-register-and-login-sessions-issue
I thought there is something wrong with my code, so I've tried Passport module for NodeJS. [https://github.com/jaredhanson/passport- local][2] The result is the same. I've shot a small video, demonstrating what's going on when I try to login at my own and Passport-based website. The same issue: http://youtu.be/ezkku8wfqWg Interesting, that there are no problems with the same code, when I access it from my Mac, ubuntu, Windows 7, other computers from network. However, default browser on my chief's android tablet also doesn't want to login with the same symptoms. Here is the server I've launched for testing with passport-local system: http://50.57.164.170:3000 as you may see on video, I can't login. Test credentials are bob/ secret. I've tried this code on several computers, deployed on Rackspace clouds, Linode clouds, set up private physical webserver in out corporate network - no luck. Chrome on x64 and Android can't login. The problem exists: besides login is correct, POST request is starring, it can't store session and place a cookie - the req.body.session is empty in another function. I'even re-written auth system on Django-python, everything works perfect. Any ideas? -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
