0 Votes

Home

Version 2.32 by Alex Cotiugă on 2024/06/11 13:54
Warning: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

 

Allows users to authenticate to the wiki using Time-based One Time Passwords.

The MFA application is not compatible with other applications that provide Authenticators for XWiki. Uninstall these applications and restart the wiki.

Enable new repository

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.
extension.repositories = org/nexus/content/groups/public
extension.repositories = com/xwiki/rest/
extension.repositories = org/xwiki/rest/
extension.repositories = com/rest/
[Click and drag to move]

Set the authenticator

Before XWiki 15.3, add the following authentication class in xwiki.cfg.
xwiki.authentication.authclass=com.agnease.mfa.authenticator.TOTPAuthService
[Click and drag to move]

Since XWiki 15.3, select the authenticator from the administration section.

1718039125213-264.png

Global Configuration

User Profile

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:Main.WebHome]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.