Posted by cmejo on September 10, 2012 at 4:31pm
Hi, I have a Google Apps for business account (our own domain not @gmail) that I'd like to use OpenID for, so users do not have to create a new account at the website, but rather, a user can login with their Google Apps username/password. I have read a lot on the subject, but I am still not sure how to implement it in Drupal 6. I tried typing 'https://www.google.com/accounts/o8/site-xrds?hd=<example.com>' but after redirecting to the google apps login, I get "OpenID login failed" on the Drupal site. Can someone please advise? Thank you!
I am using Drupal 6.25
Comments
social login module for Google Apps
you can use social login module for Drupal 6: http://drupal.org/project/sociallogin
This module supports Google Apps account with @gmail as well using oAuth2.0 protocol.
Thanks! But can I restrict to
Thanks! But can I restrict to a specific Google Apps domain, e.g. @example.com so @gmail.com, etc cannot sign up? If so, this may be just the answer!
Its not in-built with social login
Unfortunately its not something built-in with social login module, but you can restrict it by using some quick validation after login. So you can implement Google openID and after login application would redirect to a specific page, here you can just add a validation if email address has @gmail.com, don't register that user. Should be a quick and simple validation.
Well, for our case, we only
Well, for our case, we only want @example.com to be able to access the site, so @* should not have access if they try to login. Is that possible? Thanks!
Yea..you can do that
Yes, you can add the validation for @example.com for email...so you can validate the email ID and if it has @example.com, then only it will allow users to login, else it would reject the login. But again for this you need to the customization on you after login page.
This utility is really being
This utility is really being the best for all the apps to integrate..I am just ponder about it's functionality..
manage Google apps directory
Google Apps doesn't matter if you use Google Plus profile?
I'm doesn't matter if the person is using a Google Apps account if you use the person's Google Plus profile URL for their OpenID url. I described doing that in another comment (https://groups.drupal.org/node/123104#comment-961233).