Problem with PHP Standalone OpenID Server

Benjamin Heil benjamin.heil at wankoo.org
Mon Aug 20 07:29:08 PDT 2007


Hello,

I've installed Version 1.1 of PHP Standalone OpenID Server from

http://www.openidenabled.com/openid/php-standalone-openid-server/

and Version 1.2.2 of PHP OpenID lib in PEAR.

I run PHP as CGI. So I changed the apache_request_headers() call and the
following foreach to this code, which should work fine:

    if (preg_match("/application\/xrds\+xml/", $_SERVER["HTTP_ACCEPT"]))
        $server_xrds_now = true;

I register an user "test" with the password "test42". When I now try to
log in any page using OpenID it fails.

Checking the server at

http://www.openidenabled.com/resources/openid-test/diagnose-server/

with input

http://openid.wankoo.org/?user=test

fails with a lot of errors, but I think the important one is this:

Getting association: missing key in response from
http://openid.wankoo.org/index.php/serve: assoc_type

How to fix this issue?
Can anybody help?

Thank you very much!

   Benjamin



More information about the Dev mailing list