DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:authdjango

authdjango Plugin

Compatible with DokuWiki

  • 2018-04-22 "Greebo" unknown
  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" unknown

plugin

Last updated on
2018-03-30
Provides
Auth
Repository
Source

Tagged with auth, authentication, django

This plugin allows to authenticate users using a running Django installation. It uses the session of Django, thus the users need to login via Django first.

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.

Configuration and Settings

  • Set the following fields in Dokuwiki configuration
    • authtype to authdjango
    • plugin»authdjango»protocol: Database type of Django database (currently supported: pgsql, mysql, sqlite)
    • plugin»authdjango»server: Hostname or file (sqlite) of Django database
    • plugin»authdjango»user: Database username of Django database (empty for sqlite)
    • plugin»authdjango»db: Database name of Django database (empty for sqlite)
    • plugin»authdjango»password: Database password for Django database (empty for sqlite)
  • or in conf/local.php:
$conf['authtype'] = 'authdjango';
$conf['plugin']['authdjango']['server'] = '';
$conf['plugin']['authdjango']['user'] = '';
$conf['plugin']['authdjango']['db'] = '';
$conf['plugin']['authdjango']['password'] = '';
$conf['plugin']['authdjango']['protocol'] = 'pgsql'; // or other, see PHP PDO documentation

Development

Change Log

  • 2018-03-29
    • Initial release, based on django
  • 2018-03-29
    • Add config defaults and config description strings
    • Some bugfixes

Known Bugs and Issues

ToDo/Wish List

FAQ

Discussion

plugin/authdjango.txt · Last modified: 2018-04-17 20:30 by Aleksandr