mzeena / zfopenid

Example OpenID, Facebook and Twitter authentication with Zend Framework 1.11.3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README
======

This is an example Zend Framework 1.11.3 application that uses OpenID (Google,
Yahoo, MyOpenId, AOL, OpenId) as well as Facebook Connect and Twitter Oauth for
authentication of users.

To make it all work the following elements were used:
 - openid-selector
 - 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_Consumer (http://framework.zend.com/issues/browse/ZF-6905)

In some cases some slight modifications were made to the above elements.


INSTALATION
===========

The application contains everything that it needs to run, including full
Zend Framework 1.11.3 (with patched  Zend_OpenId_Consumer). The exceptions are Facebook and Twitter app keys that need to
be included in appkeys.ini. Normally, Facebook and Twitter require every application that uses their API to be 
registered with them. Once an application is registered,  a user gets app id and a secret key. When you have those keys 
you need to make an appkeys.ini file ( appkeys_example.ini example provided) with your own keys.

Zend_Auth_Adapter_OpenId uses file based storage. For this reason, the application
must be able to create, write and read APPLICATION_PATH . '/../tmp' folder.


DEMO
====
The demo of this application is at:
http://www.mwol.born2die.eu/zfopenid/public


About

Example OpenID, Facebook and Twitter authentication with Zend Framework 1.11.3


Languages

Language:PHP 99.9%Language:JavaScript 0.1%