i developed a login form that allows the use of openID. Works fine for most users, but this user has a .mp address. The openID connection keeps on failing.
i tracked down the .mp domain to the provider http://chi.mp (yeah, i know).
I use the simpleOpenId php class to perform the connexion. It returns no error, just dies silently.
Anybody has idea on where this issue comes from?
UPDATE:
As suggested, i've set up the Janrain library at http://openidenabled.com/php-openid/ as that works with OpenID 2.x.
Alas, same goes here: login in using .. works, but .mp does not. It says "Authentication error; not a valid OpenID."
You can try it for yourself here.
I'll post the full explanation. The bounty should be splitted to go both to Tim Santeford and Richy C. Because it's thanks to their inputs and advises that i could nail down the issue.
I have no experience with bounties so i hope i can do that, or have the moderator do that.
As for the answer:
The reason why login in with some openid would work and others not was that those not working where openid redirecting to a https url. Yet, my server had libcurl compiled with the https Protocol disabled.
Enabling it makes the openid login works seamlessly.
Is suspect it may be due to a differing OpenID protocol (if you can't login via OpenID using your Google Account, then this is a key sign). Try using the Janrain library at http://openidenabled.com/php-openid/ as that works with OpenID 2.x
It looks like there is a newer version of the openid class your using. Take a look here: http://extremeswank.com/simpleopenid.html (It says version 1.2 where your link does not specify).
I tested the class you linked to and it had definite issues with any Identity url that has a "https://" prefix. It is seems to be broken for google openid and will convert "https://www.google.com/accounts/o8/id" into "http://www.google.com/accounts/o8/id" which fails. Even the version 1.2 class fails the same way.
I think i would shop around for another php openid library here: http://openid.net/developers/libraries/