On passport.js, specific use cases
In the previous post, I talked about the authentication flow and the flow for subsequent requests using passportjs. This post will cover some specific use cases. What user information to store in the session and what not? It's best to keep the session information small and only attach user information…