I'm setting up a new Drupal 7 site for our school for next term. Every parent, student & teacher has a Google Apps for education account, and I'd like them to be able to login with the same credentials.

I'd like to be able to make it so, if they're logged in with Google they can just click-in, or if not go to Google, login and then they're automatically logged into my Drupal site.

However Drupal's default OpenID module doesn't seem to do that.

Any simple way to allow users to use their GoogleIDs to authenticate?

Comments

Maksym Kozub’s picture

I have just tested, and OpenID registration works for my Google Apps account; I am using usual Google Apps, not Google Apps for Education, but I do not expect there will be anything really special in the case of Google Apps for Education.
The OpenID URL to enter in the 'Log in using OpenID' field is https://www.google.com/accounts/o8/id. It redirects to Google Apps credentials age; after I enter my Google Apps login and password, Google asks me for a permission to provide my information to my site; I say "Yes", and I get to the form on my Drupal 7 site asking me to select my username.
As far as I understand, Google Apps OpenID provider does not supply a username; otherwise it would be possible to complete the registration without being forced to select a username on your Drupal 7 site. Did you want such (completely automated) registration?
You may also want to have a look at the discussion at http://www.google.com/support/forum/p/apps-apis/thread?tid=45f80250a76f2....