How do you enable customers to log in to your site

2019-02-01 08:21发布

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.

7条回答
你好瞎i
2楼-- · 2019-02-01 08:36

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.

查看更多
Anthone
3楼-- · 2019-02-01 08:38

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.

查看更多
相关推荐>>
4楼-- · 2019-02-01 08:46

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.

查看更多
放荡不羁爱自由
6楼-- · 2019-02-01 08:51

See here: Google Login PHP Class.

Also be sure to refer to the Google Federated Login site for more info.

查看更多
戒情不戒烟
7楼-- · 2019-02-01 08:55

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.

查看更多
登录 后发表回答