My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 58: validate() returns false for Wordpress and MyOpenid
1 person starred this issue and may be notified of changes. Back to list
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.

Powered by Google Project Hosting