Wiki source code of MFA Application
Last modified by Alex Cotiugă on 2025/03/28 15:16
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | | ||
2 | |||
3 | |||
4 | |||
5 | Allows users to authenticate to the wiki using Time-based One Time Passwords. | ||
6 | |||
7 | The MFA application is not compatible with other applications that provide Authenticators for XWiki. Uninstall these applications and restart the wiki. | ||
8 | |||
9 | = Enable new repository = | ||
10 | |||
11 | A new repository must be added in the xwiki.properties files, to find the extensions provided by Agnease in the Extension Manager. Ientify the following first 3 lines (they are commented by default), uncomment them and add the 4th one. If the XWiki repositories are not enabled in this file, no XWiki extensions will be found anymore. | ||
12 | extension.repositories = maven-xwiki:maven:https://nexus.xwiki.org/nexus/content/groups/public | ||
13 | extension.repositories = store.xwiki.com:xwiki:https://store.xwiki.com/xwiki/rest/ | ||
14 | extension.repositories = extensions.xwiki.org:xwiki:https://extensions.xwiki.org/xwiki/rest/ | ||
15 | extension.repositories = agnease.com:xwiki:https://agnease.com/rest/ | ||
16 | [Click and drag to move] | ||
17 | |||
18 | = Set the authenticator = | ||
19 | |||
20 | Before XWiki 15.3, add the following authentication class in xwiki.cfg. | ||
21 | xwiki.authentication.authclass=com.agnease.mfa.authenticator.TOTPAuthService | ||
22 | [Click and drag to move] | ||
23 | |||
24 | Since XWiki 15.3, select the authenticator from the administration section. | ||
25 | |||
26 | 1718039125213-264.png | ||
27 | |||
28 | = Global Configuration = | ||
29 | |||
30 | = User Profile = |