Skip to content

ImaginationForPeople/dokuwiki-django-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Django Auth backend for DokuWiki

Use this so that your users don't have to log in to the wiki when they're logged on your django website.

Since it is based on cookies, you need them to run on the same domain.

Installation

Copy django.class.php into 'dokuwiki/inc/auth/'

Configuration

Add this to your 'conf/local.php':

$conf['authtype'] = 'django';
$conf['auth']['django']['user'] = 'imaginationforpeople';
$conf['auth']['django']['password'] = 'superpassword';
$conf['auth']['django']['dsn'] = 'pgsql:host=localhost;dbname=imaginationforpeople';

On the django side, you user must belong to the admin group defined in your local.php if you want it to be admin:

$conf['superuser'] = '@wikiadmin';

Credits

Based on http://www.dokuwiki.org/auth:django

About

Django backend for Dokuwiki Auth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages