examples/Consumer.php not following delegation

Mark Jeftovic openid at markjr.net
Wed Aug 22 12:26:18 PDT 2007


Hi,

I'm using PHP Openid 1.2.2 and testing from a  couple of different 
places, I can't get the examples/Consumer.php to follow a delegation 
from an openid URL using embeded link tags.

So using this example script:

http://205.234.220.154/examples/consumer/

I can enter http://claimid.com/markjr and it works as expected, 
prompting me to authenticate.

Then I try the same form using the openid url:

http://mark.jeftovic.net/~markjr/openid.html

which uses the delegation below and works on other openid enabled sites 
(like the drupal openid module at http://domainhelp.com )

<link rel="openid.server" href="http://claimid.com/markjr" />
<link rel="openid.delegate" href="http://claimid.com/markjr" />

But the example Consumer.php does not follow the delegation, it fails 
with an Authentication Error  - looking further, line 48 of try_auth.php

// Begin the OpenID authentication process. 

$auth_request = $consumer->begin($openid);

returns false for $auth_request, I haven't gotten deeper into it than 
this yet, I was hoping this was a known issue.

What do I have to take into account to get this example working with 
delegations as well?

Thanks

-mark



More information about the Dev mailing list