DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:twofactoremail

This is an old revision of the document!


Two Factor Authentication - Email Plugin

Compatible with DokuWiki

2015-08-10a "Detritus"

plugin Email support plugin for the Twofactor authentication plugin.

Last updated on
2016-01-06
Provides
Helper
Repository
Source
Requires
twofactor

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to twofactoraltemail, twofactorsmsgateway, twofactortelegram

Tagged with 2fa, authentication, email, security, two-factor

Summary

This module provides the Two Factor Authentication plugin with the needed functionality to use the email address associated with their user profile as a means to provide one-time passwords.

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

This plugin requires configuration prior to being functional. By default it is off and will need to be turned on.

User Setup

In order to receive passwords by email, the user will have to confirm that passwords can be received at that address. This can be done through the Two Factor configuration link at the upper right menu.

NOTE: The user interface appears to be slightly broken. The user needs to follow the directions as is to setup the module.

Once at the Two Factor configuration page, there will be a checkbox labeled “Resend code to email”. check it and click “Save” to send a test message to the wiki registered email address. Last, enter the password sent to that address into the verification textbox and click the “Save” button again. If needed, click on the “Resend Password” button again to send another password to the email address.

The user can check the “Revoke codes by email” option and click “Save” to disable sending passwords by email.

User Login

The user logs in normally. If there is a field to supply a token, leave it blank to have the wiki send a one-time password. The user will be redirected to a screen to supply the sent password. Enter the password in the Verification Code field and click “Complete Login” to continue. If the password is not received within a minute or two, clicking on the “Resend Code” button will send a new password. If more than one module is configured to send passwords, the user can have the same password sent using all configured modules by checking the “Resend OTP using all configured options” checkbox then clicking on “Resend Code”.

Configuration and Settings

“enable” - Turn on or off the use of alternate email for two factor authentication. Default: off

Development

There is no further development planned at this time.

Change Log

Known Bugs and Issues

  • The user interface is broken. I need to add the “enable” checkbox for the user like is present in all other modules for consistency and to make the config menu less confusing.

ToDo/Wish List

  • Fix the user configuration UI.

FAQ

WIP. I will pull discussion questions and post them here as blatant questions come up.

Big Thanks / Acknowledgement

First, I want to thank my employer, Antelope Valley College, for allowing me to release this code to the open source community.

A big thanks goes out to Dan Popp for the work on his Google 2FA pluginauthgoogle2fa Plugin- it provided me with the idea, libraries, and a code template to get this project started.

Discussion

Feel free to write anything constructive. My hope is that this plugin will provide many admins with useful functionality.

plugin/twofactoremail.1452290904.txt.gz · Last modified: 2016-01-08 23:08 by wilminator

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki