For anyone with a simple use case (just let users login via Google), look at thisthe moduleGoogle Identity Toolkit (GITkit) module:
This module allows users to login / register on a Drupal website using their Google login credentials via the Google Identity Toolkit API available on http://code.google.com/apis/identitytoolkit