GoogleAuth is a very, very trivial convenience wrapper around
makes a lot of assumptions, and requires much less setup.
1. Your user model must have the string fields
2. Add to your Gemfile:
3. Create an initializer:
# config/initializers/google_auth.rb Rails.application.config.google_auth.domain = 'yourgoogleappsdomain.com' # other options: 'user_class', 'path'. See source for details.
4. Set up whichever controller(s) you want protected: