Social login in Express applications

I already created a sample project which implements local password authentication in Express. In this post I extend this application with social login options, including Facebook and Google. And once it’s done, it should be fairly straight forward to add any other authentication strategies to you project.



Tagged with
Comment

Express authentication sample project

I’ve created a little sample project which implements local password authentication in an Express application. I pretty much did the same thing already in the previous post, but in that case I used an already existing project. This one is a bit cleaner and it implements a simple frontend, using Pug, Bootstrap and jQuery validate.



Tagged with
Comment

NodeJS password authentication

After learning a little bit about how to start, integrate with MongoDB using Mongoose and how to test a NodeJS-Express application, it’s time to hide some functionality from unauthenticated users. I will skip the option now to build a basic authentication from scratch and will look into PassportJS instead. In this post I will add a simple local password authentication to the example NodeJS project, where the credentials are stored in a MongoDB database.



Tagged with
Comment