How do you enable customers use their openid on your website, just like stackoverflow?

12,080

Solution 1

Many decent libraries are listed here: http://wiki.openid.net/Libraries

Solution 2

Stack Overflow uses this library for the smoking hot javascript interface: http://code.google.com/p/openid-selector/

Solution 3

You can also use rpx like uservoice does.

Solution 4

Drupal's OpenID module started off using the JanRain library in 4.7.x, which is the most commonly used implementation of OpenID in PHP.

You don't have to download a library in Drupal because it's already built into Drupal core.

Solution 5

If you are hosting your site on a linux machine, there should be a php-openid package you can install that will supply you with an open id client library you can use to enable open id logins. The package comes with good example code to get you started. If you aren't running linux or your distribution doesn't have php-openid, I'm 99% certain that php-openid is based on (or is directly) JanRain.com's php library, so downloading it directly should get you the same thing.

Share:
12,080
TomG
Author by

TomG

Updated on June 02, 2022

Comments

  • TomG
    TomG almost 2 years

    I want customers to use their openId on my site. I googled for this but didn't find any good tutorial. I use PHP and MySQL.

    There is one at Plaxo. But it says we should download something from JanRain.com.

    I saw the openId module of Drupal. It doesn't want anything to be downloaded.

    Can anyone tell me what to do exactly?