LiveJournal consumer seems to fail with encoded urls
Adam Langley
alangley at gmail.com
Thu Jul 7 12:23:22 PDT 2005
OpenID seemed to be a good excuse to try out Ruby on Rails. 24 hours
later and I have a working server (will be live sometime soon).
But in my travels it seems that LJ fails if elements in the redirect
(specifically, return_to) are URL encoded.
Here's an example of a redirect which causes LJ to say "invalid return_to"
http://www.livejournal.com/openid/login.bml?oic.identity=http://imperialviolet.org/&openid.assoc_handle=0f4a8983e5ddac0f&openid.valid_to=2005-07-07T21%3A19%3A46Z&openid.identity=http%3A%2F%2F81.86.225.58%3A3000%2Fuser%2F7&openid.return_to=http%3A%2F%2Fwww.livejournal.com%2Fopenid%2Flogin.bml%3Foic.identity%3Dhttp%3A%2F%2Fimperialviolet.org%2F&openid.mode=id_res&openid.issued=2005-07-07T20%3A19%3A46Z&openid.sig=jrak2KOj%2BZPYtWdvleIuzSvJbio%3D&openid.signed=issued%2Cvalid_to%2Cidentity
Disabling the encoding (icky) makes LJ work but breaks Net::OpenID
based systems.
AGL
--
Adam Langley agl at imperialviolet.org
http://www.imperialviolet.org (+44) (0)7906 332512
PGP: 9113 256A CC0F 71A6 4C84 5087 CDA5 52DF 2CB6 3D60
More information about the yadis
mailing list