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.