How do you enable customers to log in to your site using their Google account?
Solution 1
See here: Google Login PHP Class.
Also be sure to refer to the Google Federated Login site for more info.
Solution 2
You may want to look at this too: https://rpxnow.com/ - it will only need integrating at the HTML/javascript level.
It's what http://uservoice.com/login appears to use.
Solution 3
You should look at the OpenID Enablded PHP library (http://www.openidenabled.com/php-openid/).
This should play pretty nicely with any LAMP installation without needing to use Zend.
Solution 4
Zend_OpenId from Zend Framework
Zend_OpenId is a Zend Framework component that provides a simple API for building OpenID-enabled sites and identity providers.
Solution 5
Uservoice users RPX http://rpxnow.com . You can easily use it with PHP, just https and parse the json or xml repsonse. You don't even need to change your database schema or store anything locally.
TomG
Updated on June 16, 2022Comments
-
TomG almost 2 years
I just saw http://uservoice.com/login. It uses Google accounts, Myspace, Yahoo, OpenID and all to sign in customers into its site? Can I do that?
I mean, customers need not register to my site. They can just sign in with their accounts on the above sites.
If you've a solution, I'd prefer a PHP and MySQL based one.