PHP OpenID 2.0.0RC1 and Sreg
Marco Bonetti
marco at kaywa.com
Thu Apr 12 08:31:20 PDT 2007
Hello,
I'm writing an OpenID server based on the 2.0RC1 PHP OpenID library. The
authentication itself works pretty well, but I'm having a slight issue
with relaying parties requesting sreg data:
[...]openid.sreg.required=email%2Cnickname[...]
My server replies:
[...] openid.mode=id_res [...]
openid.ext0.email=my%40email.com&openid.ext0.nickname=mynickname [...]
openid.ns.ext0=http%3A%2F%2Fopenid.net%2Fextensions%2Fsreg%2F1.1 [...]
Unfortunately, all the RPs I tested choked on this.
Could this be a bug in my code (or in the library) or rather an
incompatibility issue, i.e. the RPs expecting an sreg/1.0 reply and
being unable to handle the sreg/1.1 chunk they receive instead?
Do you see any way around this issue?
TIA,
cheers,
-M
More information about the Dev
mailing list