DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:authwordpress

This is an old revision of the document!


WordPress Authentication Plugin

Compatible with DokuWiki

2015-08-10a "Detritus"

plugin Provides authentication against a WordPress MySQL database backend

Last updated on
2016-01-23
Provides
Auth
Repository
Source

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

Tagged with authentication, wordpress

Installation

Prerequisites

This plugin requires access to a WordPress site's MySQL database. See Configuration and settings section below for further information.

It has only been tested with WordPress 4.3 and 4.4, but will most likely work with any 4.x version.

Setup

Install the plugin using the Plugin Manager or the download URL above, which points to the latest version of the plugin. Refer to Plugins for further details about installing plugins manually.

Configuration and Settings

  1. Login to Dokuwiki as administrator
  2. Go to your site's Configuration Manager
  3. In the Authentication section
    • Set Authentication backend to authwordpress
    • Add @administrator to the Superuser list 1).
      WARNING: 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.
  4. Scroll down to the Authwordpress Plugin section
    • Provide the required configuration information
      • Hostname2)
      • Port number
      • database name3)
      • username4)
      • password5)
      • table prefix
  5. Save settings

Usage

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
    • administrator
    • editor
    • author
    • contributor
    • subscriber

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.

Development

Change Log

See Releases on Github.

Known Bugs and Issues

Please refer to the plugin's Issue tracker on Github

ToDo/Wish List

  • 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.

FAQ

I locked myself out, what do I do now ?

  • Edit your local configuration file ''./conf/local.php
  • Reset authentication to authplain
    $conf['authtype'] = 'authplain';
  • Save the file
1)
This will turn Wordpress administrators into DokuWiki super users
2) , 3) , 4) , 5)
mandatory
plugin/authwordpress.1455402482.txt.gz · Last modified: 2016-02-13 23:28 by 90.27.117.238

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