I have already installed mediawiki , but I want to make users authenticate from external authentication form.When they enter the right username and password , they are redirected to the wiki page and do not need to retype the Login data again , and hence they can go to edit the wiki the way they want.How can I achieve that?
相关问题
- Using AJAX to get a specific DOM Element (using Ja
- passport jwt verify callback not called
- A better way to check for authorization of API req
- Get URL for mediawiki page given the Title - progr
- Need advice on authentication for android client c
相关文章
- Securing REST endpoint using spring security
- Passing an equal sign ('=') to a parameter
- FreeRadius 3.0.13 rlm_rest restful api authenticat
- Get location with Wikimedia API
- Creating custom edit buttons for MediaWiki
- Working example of wikitext-to-HTML in ANTLR 3
- Python regex for finding contents of MediaWiki mar
- What's wrong with this authorization exchange?
see also https://www.mediawiki.org/wiki/User:Krinkle/API_PHP_cURL_example
simple code:
If you have external authentication service that provides web authenticaion service you can adapt some webauth extension. This one is used in my organization. You will have to customize it of course.
Yet another option is OpenID login with this extension, looks similar to stackoverflow login.
In these two solutions password is not sent between the "external form" and your wiki, only a token signifying that user passed the login challenge.
Use the mediawiki API with action=login . See http://en.wikipedia.org/w/api.php