O'Reilly logo

Rails 3 in Action by Yehuda Katz, Ryan Bigg

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 15. Alternative authentication

This chapter covers

  • Authenticating against external services using OmniAuth
  • Authenticating with Twitter using OAuth
  • Authenticating with GitHub using OAuth

Now that your application has been deployed to a server somewhere (or at least you’ve gone through the motions of doing that!), we’re going to look at adding additional features to your application. One of these is OAuth authentication from services such as Twitter and GitHub.

When you sign into a website, you can generally use a couple of authentication methods. The first of these would be a username and password, with the username being forced to be unique. This method provides a solid way to identify what user has logged into the website, and ...

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