I need to implement everyauth with node.js Connect (not Express), very securely.
Despite the site provides some code samples for Connect, I'm not familiar with how node-Connect-session-middleware handles session.
Can someone please introduce some good simple examples to get start with?
PS. I found the official sample of Connect, but need a full working example.
I suggest you check out Passport (which I developed). everyauth tends to make assumptions that Express is present, making integration into Connect-only apps difficult.
I developed Passport after wanting something more modular and easier to integrate. It makes no assumptions, and is just simple middleware, so it drops in easily into Connect-based apps.
Express.js is actually a thin layer on top of Connect. So you could just use that as a reference and see how they do it.