gnu-social/plugins/OpenID
Brion Vibber 961aba68fc Quick fix for #2659: unable to login with Livejournal OpenID
The Net::OpenID::Server perl module that LJ uses appears to be very picky about input, and rejects most request types unless the data comes in as GET parameters (apparently following OpenID 1.1 rules, rather than OpenID 2.0 rules which permit any request to be POSTed but requires that if so, the data must all be in the POST body).
Apparently something got updated on LJ at some point that's either added that behavior or (more likely) added the OpenID 2.0 namespace info to discovery, which tells the Janrain-based OpenID libraries that they should go ahead and do POST requests instead of redirects to GET requests... thus breaking everything. ;)

GET should be just fine for both 1.1 and 2.0 though, and also saves having to sit through that lame autosubmit page.

Switched the authentication submission from checking whether it should redirect to GET or do a form POST, to simply always doing the redirect to GET.

Tested against providers:
* LiveJournal
* Google
* LaunchPad
* identi.ca
2010-09-07 16:15:32 -07:00
..
doc-src fix broken link in OpenID documentation 2010-02-22 07:08:57 -05:00
extlib OpenID access control options: trusted provider URL, Launchpad team restrictions. Added an admin panel for setting these and OpenID-only mode, off by default. 2010-05-18 13:28:41 -07:00
locale Pull localization updates from 0.9.x branch 2010-05-03 12:27:44 -07:00
OpenIDPlugin.php Assigning my copyrights to the Free Software Foundation 2010-05-27 18:27:33 -04:00
User_openid.php OpenID fixes: 2010-03-12 10:07:32 -08:00
User_openid_trustroot.php OpenID fixes: 2010-03-12 10:07:32 -08:00
finishaddopenid.php Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x 2010-05-27 14:57:32 -07:00
finishopenidlogin.php Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x 2010-05-27 14:57:32 -07:00
openid.php Quick fix for #2659: unable to login with Livejournal OpenID 2010-09-07 16:15:32 -07:00
openidadminpanel.php OpenID: add option to enable asking for a username to append to the trusted provider's base URL. Good for hooking up with sites like WikiHow, where usernames are appended to a base URL to get a profile URL which is used as the provider. 2010-05-28 16:52:17 -07:00
openidlogin.php Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x 2010-06-07 10:19:40 -07:00
openidserver.php Merge branch 'testing' into 0.9.x 2010-06-16 12:38:35 -07:00
openidsettings.php OpenID access control options: trusted provider URL, Launchpad team restrictions. Added an admin panel for setting these and OpenID-only mode, off by default. 2010-05-18 13:28:41 -07:00
openidtrust.php remove debugging calls 2010-03-25 16:35:22 -04:00