Unfortunately, Zend_Openid has a few issues. I started doing some testing last week and will roll in some fixes in a while. In the meantime, I suggest reverting to something like the Janrain PHP library while this is being fixed.
Pádraic Brady
http://blog.astrumfutura.com
http://www.survivethedeepend.com
OpenID Europe Foundation Irish Representative
From: iceangel89 <comet2005@gmail.com>
To: fw-auth@lists.zend.com
Sent: Thursday, September 24, 2009 3:12:07 PM
Subject: [fw-auth] How to set up OpenID authentication
How to set up OpenID authentication, something of that like StackOverflow. i tried the code from http://framework.zend.com/manual/en/zend.auth.adapter.openid.html
View this message in context: How to set up OpenID authentication
Sent from the Zend Auth mailing list archive at Nabble.com.
http://blog.astrumfutura.com
http://www.survivethedeepend.com
OpenID Europe Foundation Irish Representative
From: iceangel89 <comet2005@gmail.com>
To: fw-auth@lists.zend.com
Sent: Thursday, September 24, 2009 3:12:07 PM
Subject: [fw-auth] How to set up OpenID authentication
How to set up OpenID authentication, something of that like StackOverflow. i tried the code from http://framework.zend.com/manual/en/zend.auth.adapter.openid.html
$status = "";this code does not seem to be working... i keep getting posted back to the same page
$auth = Zend_Auth::getInstance();
if ((isset($_POST['openid_action']) &&
$_POST['openid_action'] == "login" &&
!empty($_POST['openid_identifier'])) ||
isset($_GET['openid_mode']) ||
isset($_POST['openid_mode'])) {
$result = $auth->authenticate(
new Zend_Auth_Adapter_OpenId(@$_POST['openid_identifier']));
...
View this message in context: How to set up OpenID authentication
Sent from the Zend Auth mailing list archive at Nabble.com.
没有评论:
发表评论