This repository has been archived by the owner on Oct 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathREADME
executable file
·54 lines (38 loc) · 2.27 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Duo Security Authentication Plugin for MediaWiki
:exclamation: **This project is no longer being actively developed or maintained and will reach end of support on 9/30/2020.**
[![Issues](https://img.shields.io/github/issues/duosecurity/duo_mediawiki)](https://github.com/duosecurity/duo_mediawiki/issues)
[![Forks](https://img.shields.io/github/forks/duosecurity/duo_mediawiki)](https://github.com/duosecurity/duo_mediawiki/network/members)
[![Stars](https://img.shields.io/github/stars/duosecurity/duo_mediawiki)](https://github.com/duosecurity/duo_mediawiki/stargazers)
[![License](https://img.shields.io/badge/License-View%20License-orange)](https://github.com/duosecurity/duo_mediawiki/blob/master/LICENSE)
https://duo.com
http://mediawiki.org/
This is an extension used to perform Duo Security two-factor authentication for
MediaWiki versions up to and including 1.26.
Quick Start:
1. Uncompress the DuoAuth tarball to the MediaWiki extensions directory.
2. Make sure that $wgServer is set in LocalSettings.php
3. If you are using a private wiki, make sure you whitelist the DuoAuth page:
# Append "Special:DuoAuth" to the $wgWhitelistRead array
$wgWhitelistRead = array("Special:DuoAuth");
4. Add the following settings to your LocalSettings.php file:
# setup of DuoAuth plugin
require_once( "$IP/extensions/DuoAuth/DuoAuth.php" );
$wgRedirectOnLogin = 'Special:DuoAuth';
$wgDuoIKey = '[The app's integration key]';
$wgDuoSKey = '[The app's secret key]';
$wgDuoHost = '[api-host].duosecurity.com';
Additionally, ensure that $wgSecretKey is at leat 40 characters. MediaWiki's
installer sets it to a 64-character random string by default.
Start up mediawiki and login.
IMPORTANT NOTE:
Remember that this is only a means of authentication and does not take the
place of an authorization scheme. You need to setup your own authorization
scheme to fit your organization's needs using mechanisms that are outside of
this extension's functionality..
This extension does not handle any of the application configuration from the
Duo Security perspective. All application configurations must be configured
through the Duo Security administration web application.
https://admin.duosecurity.com
Steve Buck
sbuck [ at ] tribonacci [ dot ] com
http://tribonacci.com