How to add OpenID to a php site?

2019-03-11 06:34发布

I absolutely love StackOverflow's usage of OpenID for registration. How would I go about adding this to my site? It is PHP based. I went to openid.net and looked at the libraries there, but could find little in the way of documentation or examples.

标签: php openid
3条回答
家丑人穷心不美
2楼-- · 2019-03-11 07:16

OpenID is great, but have one big disadvantage. Let's imagine that I'm having Google account and Yahoo account. I will login using Google and then I will try to login using Yahoo. And it will be different accounts; it's really difficult to remember what openID provider I was using for registration... So, be careful with OpenID on entertainment websites, but it is still ok for developers websites.

Check OpenId class from Zend Framework.

查看更多
孤傲高冷的网名
3楼-- · 2019-03-11 07:22

This tutorial was helpful for a previous project I worked on using PHP and OpenID. It has an example app.

http://devzone.zend.com/article/3581

alt text http://devzone.zend.com/images/articles/3581/image3.gif

查看更多
干净又极端
4楼-- · 2019-03-11 07:28
登录 后发表回答