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

Implementing OAuth accounts packages

Today, there are so many popular authentication services available, with such large user bases, that it's kind of silly not to take advantage of those services. If you use the accounts system of a major service, like Twitter or GitHub, you instantly tap into an enormous user base which can increase the use of your app. This recipe will show you how to implement an OAuth accounts system in a Meteor app, using the Twitter accounts service as an example.

Getting ready

We are going to focus almost exclusively on the accounts and authentication piece of our application, and as such, we only need a very simple, baseline application.

In a terminal window, create your root project by entering the following commands:

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