MediaWiki/Auth: Difference between revisions

Adds new school info, and headertabs
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
__NOTOC__
Starting with MediaWiki 1.27, there are new authentication and session management frameworks in core<ref>https://lists.wikimedia.org/pipermail/wikitech-l/2016-May/085725.html</ref><ref>[[mw:Manual:SessionManager and AuthManager]]</ref>
= New School =
= New School =
If you're running at least [[MediaWiki]] 1.27<ref name="wikireport">Check your version, and more, for free at https://freephile.org/wikireport</ref>, you can take advantage of Cindy Cicalese's [[mw:Extension:PluggableAuth|Extension:PluggableAuth]] and [[mw:Extension:OpenID_Connect|Extension:OpenID_Connect]].  Using these extensions, you can have people login to your wiki using their Google account; and other '''Single Sign-On''' setups.
If you're running at least [[MediaWiki]] 1.27<ref name="wikireport">Check your version, and more, for free at https://freephile.org/wikireport</ref>, you can take advantage of Cindy Cicalese's [[mw:Extension:PluggableAuth|Extension:PluggableAuth]] and [[mw:Extension:OpenID_Connect|Extension:OpenID_Connect]].  Using these extensions, you can have people login to your wiki using their Google account; and other '''Single Sign-On''' setups.
Line 34: Line 36:
== Configuration ==
== Configuration ==
Here's a sample configuration for an Active Directory LDAP server
Here's a sample configuration for an Active Directory LDAP server
<source lang=php>
<syntaxhighlight lang=php>
$wgAuth = new LdapAuthenticationPlugin();
$wgAuth = new LdapAuthenticationPlugin();
$wgLDAPDomainNames = array('example');
$wgLDAPDomainNames = array('example');
Line 78: Line 80:
$wgLDAPUseLocal = false;
$wgLDAPUseLocal = false;


</source>
</syntaxhighlight>
<headertabs/>
<headertabs/>
{{References}}
{{References}}


[[Category:Wiki]]
[[Category:Wiki]]