O'Reilly logo

Learning Devise for Rails by Nia Mutiara, Hafiz, Giovanni Sakti

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 remote authentication in our application

Now, let's move on to the main part, where we will modify our previously created application so that it can support remote authentication. This section will be divided into several subsections. The following subsection will discuss the initial preparation, while the following two after that will discuss implementing Twitter and Facebook authentication consecutively. They are selected because they are currently reigning as providers with the most numbers of registered users.

Preparing your application

To enable OmniAuth on our applications, which already have Devise on them, we have to first include the OmniAuth gem by modifying our Gemfile. While we're at it, we can also include gems that contain ...

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