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 ...
Get Rails 3 in Action 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.