O'Reilly logo

Building Scalable Apps with Redis and Node.js by Joshua Johanan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Authenticating Users

We technically have built authentication into our application already, but it is definitely not ready for production. We are going to need an authentication framework that will allow users to sign up using accounts they already have and to create a local user account. Node.js has a great and extensible authentication framework: Passport. It has a foundation package that will easily integrate with Express. In addition to this, it has over 140 strategies (what Passport calls its authentication plugins) to use. If Passport cannot authenticate it, no one is probably using it. We will cover the following topics in this chapter:

  • How to register applications for Facebook and Google
  • How to authenticate to Facebook
  • How to authenticate ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required