X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/b278218d9185f5a75747d60a5d246a3c77c32e64..79c1a0955820087a418774295e3381b848013cfc:/doc/bugs/OpenID_delegation_fails_on_my_server.mdwn diff --git a/doc/bugs/OpenID_delegation_fails_on_my_server.mdwn b/doc/bugs/OpenID_delegation_fails_on_my_server.mdwn index 41b4bb128..25cc47b18 100644 --- a/doc/bugs/OpenID_delegation_fails_on_my_server.mdwn +++ b/doc/bugs/OpenID_delegation_fails_on_my_server.mdwn @@ -13,3 +13,41 @@ switch to other providers in the future. > Hmm, I entered http://thewordnerd.info as the openid, and ended up at > http://thewordnerd.myopenid.com/ , which seems right? --[[Joey]] + +Sorry, didn't notice this edit. But, no, that is incorrect. Entering http://thewordnerd.info or thewordnerd.info should do the exact same thing that entering http://thewordnerd.myopenid.com does--in your case, prompt you to log in, in mine, ask if I want to verify the request. It's redirecting to the page itself, not using it as an OpenID provider. + +Unfortunately I don't speak or understand enough Perl to fix this, nor do I understand how to use its debugger, but it looks as if the consumer should support delegation. Not sure why it's behaving incorrectly here. + +> Your openid delegation is wrong. +> +> Here is a working openid delegation (from http://joey.kitenet.net:) +> +> +> +> +> +> The above is generated by ikiwiki, using the meta openid directive: +> +> \[[meta openid="https://joeyh.myopenid.com/" server="http://www.myopenid.com/server"]] +> +> Here is your delegation: +> +> +> +> +> +> So, your openid.server is set wrong; when loging in ikiwiki redirects to +> the specified url, which is not behaving as an openid server at all. If it's changed +> to use http://www.myopenid.com/server, it would work the same as mine. +> +> I suspect that it was working for you on other sites that support openid +> 2.0 and XRDS, since the xrds file on your site seems to have the correct +> http://www.myopenid.com/server url in it. Ikiwiki, however, uses perl +> modules that do not support openid 2.0 or XRDS, and so the incorrect +> openid 1.0 delegation is used. --[[Joey]] + +[[done]] + +Seems so, thanks. + +For future reference, and in case anyone has a similar problem and searches here first as I did, I set my OpenID settings using the examples shown for the WordPress OpenID delegation plugin, which seem to work fine on a whole bunch of other sites but a) not here and b) are inaccurate according to the MyOpenID FAQ. I'll file a bug against that plugin to either update its example or remove it entirely. So not an ikiwiki bug, but someone's bug nonetheless.