How to add OpenID to a php site?

别来无恙 提交于 2019-12-20 10:23: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.


回答1:


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


(source: zend.com)




回答2:


Documentation and examples.




回答3:


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.



来源:https://stackoverflow.com/questions/2097388/how-to-add-openid-to-a-php-site

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!