blob: 3abad0c17dfce687a070f398e511a056638d1171 (
plain)
I tried enabling the openid plugin on my site. I tried to log in but got an
error when coming back to ikiwiki.cgi: "Error: unknown do parameter". I think
this means that do=postsignin isn't handled by CGI.pm.
The URI in question is fairly long, but if you want me to add it here, I can do that.
I didn't really know how to debug this so I grepped for "postsignin" in both
openid.pm and passwordauth.pm and found:
IkiWiki/Plugin/openid.pm: return_to => IkiWiki::cgiurl(do => "postsignin"),
IkiWiki/Plugin/passwordauth.pm: IkiWiki::cgi_postsignin($cgi, $session);
Am I barking up the wrong tree? Maybe I'm missing something obvious?
I'm running 1.38 of ikiwiki and the newest CGI::Session, Net::OpenID::Consumer,
Crypt::DH, URI-Fetch. --Ethan
The url must not have a setting for openid.mode or openid_identifier in
it. So the OpenId plugin didn't know that it was trying to log in. I
think this points to an issue with the OpenID server. --[[Joey]]
I put debugging output in openid.pm and it suggests that the
verification is taking place successfully. I see "openid.mode=id_res"
in the URI. On top of that, it's the same Openid server I use
to sign in here on ikiwiki.kitenet.net. --Ethan
Yikes, I don't really have the newest CGI::Session after all..
let me try updating that. --Ethan
Sorry, I'm an idiot -- cookies disabled on my browser. Sorry to
waste your time.. --Ethan
|