Ruby, Rails, OpenID, and Google Integration for the Busy Developer
We're busy developers, you and I, and we want to get back to building our awesome HTML5 app and not muck around too much with user sign in and registration. There are enough accounts out there, there's no reason why your users need to create a new account identity just for your system. Let them sign in with an existing account, your users will thank you!! We're going to learn the bare minimum required to allow your users to use their Google Account to register and sign in to your Ruby on Rails 3 web app. I think you'll find that it's very easy to add OpenID support for Google Accounts, especially for Rails 3 web apps. Assumptions: You are building a Ruby on Rails 3 web app. You do not yet have user authentication or registration for your app. A future article will show you how to add Google OpenID to your authlogic app, but this article is all about starting from scratch. You want your users to use their Google Accounts for their identity. You have a model...