Skip to content

Example OpenID, Facebook and Twitter authentication with Zend Framework 1.11.3

Notifications You must be signed in to change notification settings

marcinwol/zfopenid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

It was reported that extension=php_openssl.dll should also be enabled in php.ini.


DEMO
====
http://born2die.linuxpl.info/mwol/zfopenid/public/


About

Example OpenID, Facebook and Twitter authentication with Zend Framework 1.11.3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published