Yahoo, MyOpenId, AOL, OpenId) as well as Facebook Connect and Twitter Oauth for
authentication of users.
During authentication, information about a user (e.g. an email or a country) is fetched from the authentication provider.
Zend Framework 1.11 does not have a very good support for OpenID, not mentioning Facebook Connect and Twitter Oauth. Thus, to make it all work the following elements were used:
- My_Auth_Adapter_Facebook by Michael Krotscheck
- My_Auth_Adapter_Oauth and My_Auth_Adapter_Oauth_Twitter by Jason Austin
- My_OpenId_Extension_AttributeExchange by Chris Bisnett
- Patched Zend_OpenId_Custumer
The demo of this application is here , while the source code is at GitHub. The user authentication is performed in a loginAction in UserController.php.
Hopefully, this example application will be useful to others as it was for me.