Thread:Project:Support desk/Authentica

Hi there, I need some help to finish a plugin authenticate for the wiki of my company.

This is what I want: I call my function to $wgHooks['UserLoginForm']. My template has a frame that I put my user and pass, and then it'll be opened another site. Always in the frame, not in the default wiki authenticate form. In this new site I catch some informations about the user, and I redirect to the wiki, with this datas which are sent by POST. It's is my problem, I can't authenticate in wiki when I return from my site.

What do I do in this case?

My program redirects to a Special Page on wiki, that I have created. In this Special Page, I'm basing the code in the SpecialUserlogin.php, and also a class extended of AuthPlugin, but I don't know if I'm in the correct way.

If someone could help me, I thank him.

''MW version: 1.17 PHP version: 5.2.17 MySQL version: 5.5.13''

Unhappyly, I can't publish the wiki here, it's an intranet site. If you need some example of code, I put it here.

Thanks, and sorry if I made some English error.

Cristiano Magnabosco