It's better when it's simple

User Tools

Site Tools


This is an old revision of the document!

authgoogle2fa Plugin

—- plugin —-
description: Adds Google Authenticator 2FA to DokuWiki plaintext auth.
author : Daniel Popp
email :
type : Auth Plugin
lastupdate : 2013-12-25
compatible : Blinky, Weatherwax
depends : None
conflicts : Unknown
similar : mOTP Plugin
tags : 2FA, two-factor, Google Authenticator, two-factor authentication

bugtracker :
sourcerepo :


Copy the unzipped folder to your /lib/plugins/ directory, and activate the plugin then set your options in the Admin–>Configuration Settings.


You can revert to the originial auth plugin by editing the file conf/local.php:

$conf['authtype'] = 'authplain';

Configuration and Settings

The available settings are as follows:

  • Your Google Authenticator secret.
  • The timeout slack, default is 2 ( 2*30 seconds = 60 seconds ).
  • Whether you want to enable two-factor authentication or not…
  • The URL to your Google Authenticator QR code image (optional).


Please check GitHub for the latest.

Change Log

  • 2013-12-25
    • Initial release

Known Bugs and Issues

This plugin removes the “Remember Me” checkbox.

ToDo/Wish List

  • Ability to generate Google Authenticator Secrets and QR codes on the fly.
  • Show the QR code on the configuration settings page.
  • Allow user to custom-configure site name in Google Authenticator (currently defaults to DokuWiki).


Feel free to ask.


None yet :o)

plugin/authgoogle2fa.1388010724.txt.gz · Last modified: 2013-12-25 23:32 by