2009年9月24日星期四

[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 = ""; $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'])); ...
this code does not seem to be working... i keep getting posted back to the same page

View this message in context: How to set up OpenID authentication
Sent from the Zend Auth mailing list archive at Nabble.com.

没有评论: