Issue 58: validate() returns false for Wordpress and MyOpenid
Status:  New
Owner: ----
Reported by schm...@netaction.de, Feb 13, 2012
Google login works but using the Wordpress OpenID plugin or MyOpenid the validate() function fails.


<?php
require 'openid.php';

$openid = new LightOpenID('domain.netaction.de');

if(isset($_POST['openid_identifier'])) {
  $openid->identity = $_POST['openid_identifier'];
  header('Location: ' . $openid->authUrl());
}

if ($openid->validate()) echo 'Accepted OpenID: '.$openid->identity;
?>
<form action="" method="post">
OpenID: <input type="text" name="openid_identifier" /> <input type="submit" />
</form>
Feb 13, 2012
#1 schm...@netaction.de
After disabling both Open_Basedir and Safe_Mode everything works.