Chapter 12. Connecting the App to Social Media

Many web applications use third-party authentication for registering and logging in. In particular, using popular social media sites such as Facebook and Twitter to authenticate users has become very popular. Since these sites have already done some work to validate users, sites using them to authenticate users save a some time.

In this chapter, we are going to set up Passport strategies to sign up and authenticate users using their Facebook and Twitter accounts. We're going to be using a popular protocol called OAuth 2.

Additionally, we're going to finish building out the functionality for users to create and share gift lists. In this chapter, we will cover the following:

  • Authenticating users with Facebook ...

Get Mastering JavaScript Single Page Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.