PHP OpenID server working ...
Phillip Pearson
pp at myelin.co.nz
Wed May 25 03:41:24 PDT 2005
OK, I've managed to post to Mart's guestbook using my PHP OpenID
server (http://dev.myelin.co.nz/openid.php)!
It just uses /usr/bin/openssl to do the DSA workm i.e. it doesn't do
any of the stuff Brad was suggesting a few messages back, but it
*does* successfully authenticate to Mart's script and also the
non-AJAX demo.
BTW Mart - I think there's a bug in your script. If the ID server
returns a setup URL, your script redirects to $ret_url:
if (my $setup_url = $c->user_setup_url) {
redirect($ret_url);
}
I think it should be redirecting to $setup_url instead. Right now if
I try to authenticate before I'm logged in to my ID server, I get
redirected to a page saying "HERE BE DRAGONS" (the root of your site,
I think) rather than sent to my login page.
Cheers,
Phil
On Wed, May 25, 2005 at 08:35:56AM +0100, Martin Atkins wrote:
>
> I've made a simple guestbook script which uses OpenID:
> http://goathack.livejournal.org:9016/guestbook
More information about the yadis
mailing list