A valid guess, but I'm not sure. The error message indicates the password is wrong...
But your thought is a good one...
Anyone know for sure? (I'll go look at the code too)
] duran goodyear ] web developer ] the university of the arts ] 215.717.6068
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Platonides Sent: Monday, July 02, 2007 6:18 AM To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] Passing username/password into the login system for media wiki via single sign on from uPortal
Goodyear, Duran wrote:
Good morning everyone. My university uses uPortal (specifically the Academus branding of it from Unicon) for our portal needs... It has a rather robust Single Sign On system, that allows us to pass username and password from it, to 3rd party applications that use the normal <FORM> based authentication methods.
The way it works is that you configure an xml file that tells the SSO engine what URL it should POST your username and password to via HTTP.
What I tried to do was POST the username and password to .../wiki/index.php?title=Special:Userlogin&action=submitlogin& ty pe=login&returnto=Main_Page (I have to put the & in or the XML doesn't parse the normal & sign.)
But when the page loads, it says "Login error: Incorrect password entered. Please try again." In a big red box above the login fields.
Just a guess, can MediaWiki be expecting that you have some cookies set (eg a session) when sending the POST?
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l