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?