views:

296

answers:

4

hi!

i want to create a OpenId login system like stackoverflow :) in drupal..By default, drupal doesn't offer this..is there any plugin that does this job?

EDIT:the user should ALSO be able to login with their yahoo, gmail, aol or blogger account..u guys can't understand my pro.. it's simple..i've openID enabled in my drupal 6. When i try to use my gmail or yahoo account, it doesn't login.

What should i do for that?

+2  A: 

Yes, there's a module for that.

But you added a drupal-6 tag, which suggests you're using Drupal 6; OpenID has been a core part of Drupal 6 for >2 years - it's documented in the handbook.

James Polley
ya, but it DOESN'T have an option to login with their gmail or yahoo id like how stackoverflow does
Sam
Those are just special cases: a google user's openid URL is `http://www.google.com/profiles/<<username>>`, for yahoo it's `https://me.yahoo.com/<<username>>`. The specific buttons StackOverflow uses are just javascript shortcuts which act as though the user typed that string in the box and pressed the button.
James Polley
Actually, that's only partially true; Google provides another url (`https://www.google.com/accounts/o8/id`) which works for any user regardless of their usename - see `http://code.google.com/apis/accounts/docs/OpenID.html` for more. Yahoo do something similar with `http://yahoo.com/`
James Polley
But even if you don't add those shortcuts, users can still log in by providing the specific URLs for their provider.
James Polley
A: 

OpenId already included in core in drupal 6, just enable it. For drupal5 you need to install appropriate module.

Nikit
+1  A: 

Hi Sam,

If you are interested in a sign in experience similar to Stack Overflow and are using the Drupal platform, you may want to consider JanRain's RPX solution (http://rpxnow.com). RPX is quick and easy to deploy, and enables visitors to your site to sign in using their existing accounts with Google, Yahoo, Facebook, MySpace, Twitter, AOL, Windows Live ID, or any OpenID-enabled account.

The Drupal plug-in for RPX can be found at http://drupal.org/project/rpx.

Feel free to send me an email at molson-at-janrain.com if you have any questions about RPX. Thanks!

Michael Olson JanRain

Michael Olson
+1  A: 

There is now a module that uses the Javascript OpenID Selector to add a similar visual interface and makes OpenID on Drupal much easier to use, the module is called OpenID Selector.

Christopher