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…

Read this article

Understanding passport.js authentication flow

Passport.js is a flexible authentication middleware (allowing users to log in) that can be fully customised and works great with connect/express. It is flexible in the sense that it allows for different authentication strategies (think via Twitter, via our own user database - installed via separate modules that…

Read this article