DokuWiki

It's better when it's simple

User Tools

Site Tools


auth

Authentication Plugins

After you have enabled ACL in the config file you need to decide how you like to store user data. DokuWiki supports various methods and creating a new one is pretty easy. DokuWiki uses so–called authentication plugins that provide certain methods to store user data and passwords. The user won't even see this plugin but you as an administrator have to set up your desired authentication plugin and configure it properly. The plain authentication plugin is DokuWikis default simple version.

The plugins can be installed using the Extension Manager. If the available plugins do not fulfill the requirements, you can create your own auth plugin. For details see How to write an Authentication Plugin?

Migration of a wiki from before 2013

Since the release 2013-05-10 “Weatherwax” DokuWiki uses Authentication Plugins instead of Authentication Backends. This requires action from the administrator when upgrading such a wiki. See old authentication backends for FAQ and the previous backends.

  • Chained Authentication – Use a sequence of authentication backends (e.g. LDAP then plain )
  • virtualgroup – allows to assign groups to a user independently from the backend.

Some suggestions grouped by tags in the plugin repository:

Some relevant tips related to authentication backends

  • Change user name after authentication – Suggestion how to change the username after authentication (e.g. you want to allow login via a unique id that could change sometime (e.g. email address), but use another unmodifiable unique id as permanent identifier in Dokuwiki)
auth.txt · Last modified: 2021-09-09 12:42 by Klap-in

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