Google apps for business with OpenID SSO?

Events happening in the community are now at Drupal community events on www.drupal.org.
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

Posted by dev001 on September 10, 2012 at 5:15pm

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

Posted by cmejo on September 10, 2012 at 5:24pm

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

Posted by dev001 on September 10, 2012 at 10:02pm

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

Posted by cmejo on September 11, 2012 at 9:12pm

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

Posted by dev001 on September 11, 2012 at 11:17pm

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

Posted by KevinMartin on August 9, 2013 at 10:33am

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?

Posted by JonFreed on September 13, 2013 at 4:48am

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).

OpenID

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /