Zend OpenId and Google

我怕爱的太早我们不能终老 提交于 2020-01-06 07:13:49

问题


Does the current Zend_OpenId ( Release 1.10.8 ) work with Google? I am working on a project that will only use OpenId ( and maybe OAuth ) as the login and would love to know before spending countless hours with the dreaded Zend Framework :)


回答1:


Nope, currently it does not.

But there is a lot of similar articles about how to "patch" zend_oauth to be able to work with openid 2.0

Like this: http://framework.zend.com/issues/browse/ZF-6905

It really works, i use such solution for about half of year without any troubles.

ps: due to it is a some kind of "dirty hack" - this solution does not provide ability of retrieving additional info, such as name, email, etc.




回答2:


No, Zend_OpenId doesn't work with Google without patching.

You should use instead janrain implementation (http://openidenabled.com/php-openid/). It supports the OpenID Google Apps discovery.



来源:https://stackoverflow.com/questions/3868851/zend-openid-and-google

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