forked from marcinwol/zfopenid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
37 lines (25 loc) · 1.44 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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/