O'Reilly logo

Meteor Cookbook by Isaac Strack

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

Performing two-factor authentication

We can make any application more secure (and safer from bots or hack attempts) by providing two-factor authentication. Two-factor authentication requires an individual to verify their identity using two separate methods. One such method, SMS text verification, has become quite popular, due to its convenience and difficulty in mimicking. This recipe will show you how to create two-factor authentication in a Meteor app, using the Twitter OAuth and Twilio SMS services.

Getting ready

Using the Customizing the accounts login recipe found in this chapter, we already have an application that authenticates against Twitter. We will expand that recipe, and add the Twilio SMS service to send a 6-digit verification code ...

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