Jim wrote:
I'm trying to setup external authentication with MediaWiki. I've gone over http://wiki.case.edu/CaseWiki:External_Authentication time and time again but it's not exactly clear. Do I need to do only pieces of it? Everything? I'm just not following. SO, I'm hoping someone can spell it out for me.
Let's say I have a PHP script (lets call it ourmethod.php) that puts up a web page and authenticates a user using our method. Exactly how do I get MediaWiki to display ourmethod.php for the login
You still use MediaWiki login to get the user and password. On http://wiki.case.edu/CaseWiki:External_Authentication they use mod_reqrite to send you to another page. You may be able to make Special:UserLogin more like ourmethod.php with some hook.
and what exactly do I need to do to ourmethod.php to have it tell MediaWiki "this guys ok"?
return true from the authenticate() method.
Thanks!