PHP OpenID consumer working! [was: PHP hackers wanted -- here's
mart at degeneration.co.uk
Thu May 26 05:17:13 PDT 2005
Phillip Pearson wrote:
> Finally - it works!
> I've put everything together into an 'openid_consumer' PHP class, that
> sort of mimics Net::OpenID::Consumer -- although I doubt implements
> all the features - just the minimum required to get a login.
> Here's a little guestbook script, like Mart's, to show it off:
A little nitpick:
You're correctly adding on http:// where no scheme is present, but
you're missing the step where if there are only two slashes you add one
to the end. Logging in as username.livejournal.com sends off
http://username.livejournal.com to LiveJournal, which it doesn't treat
as one of its own URLs.
Other than that, it seems to work just fine. I like all of the debugging
information when you log in; much more informative than mine!
More information about the yadis