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
UPDATE:
oh i keep getting posted back because i forgot to add action and method attributes for the form. but now whats the meaning of Authentication failed Discovery failed?