Table of Contents
WordPress Authentication Plugin
This plugin requires access to a WordPress site's MySQL database. See Configuration and settings section below for further information.
The plugin supports WordPress releases 4.x and 5.x. It has been tested and confirmed to work on versions 4.3 to 4.9, and 5.1 to 5.3.
Configuration and Settings
- Login to DokuWiki as administrator
- Go to your site's Configuration Manager
- In the Authentication section
- Set Authentication backend to authwordpress
- Add @administrator to the Superuser list1).
failure to do so may leave you without any users having admin rights, requiring you to manually edit the configuration file to fix the problem.
- Scroll down to the Authwordpress Plugin section
- Save settings
Navigate to your DokuWiki's Login page, and enter your WordPress credentials to login.
Logged in users' will have the following group memberships:
- DokuWiki default group (as defined in configuration),
- a group matching their Wordpress role, i.e. one of
These groups can be used to setup ACL as appropriate.
The plugin does not allow new users to sign up, accounts must be created on the WordPress side.
Revision history (Github releases)
The complete list of releases and change log is available on Github.
- Bump version by dregad (2020-03-14 23:39)
- License: GPLv2 or later by dregad (2020-03-14 23:38)
- README: update compatibility by dregad (2020-03-14 23:38)
- translation update by alexbelchior (2018-07-05 17:03)
- translation update by email@example.com (2018-04-24 13:22)
Full Git log.
Known Bugs and Issues
Please refer to the plugin's Issue tracker on Github.
- Provide transparent authentication / single sign-on.
If user is already logged in WordPress, then they won't have to login again in DokuWiki, and vice-versa. Same thing for logout.
I locked myself out, what do I do now?
- Edit your local configuration file
- Reset authentication to authplain
$conf['authtype'] = 'authplain';
- Save the file