DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:authjoomla3

authjoomla3 Plugin

Compatible with DokuWiki

Elenor of Tsort

plugin

Last updated on
2017-01-06
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 joomla

DokuWiki plugin to authenticate against a Joomla 3 installation.

Have a look at https://github.com/snaiperskaya96/dokuwiki-authjoomla3-plugin/blob/master/README.md to see a more detailed documentation.

Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Configuration and Settings

Go to the configuration page, then

  1. change the option Authentication backend to authjoomla3, but do not save yet.
  2. go to the section Authjoomla3 and type in the absolute path to your Joomla 3 installation, e.g. /var/www/html/joomla
  3. save your configuration

Now you should be able to login with your Joomla account.

:!: Once you changed the authentication backend, you won't be able to log in with your previous credentials. If the Joomla authentification fails, go to conf/local.php and change

$conf['authtype'] = 'authjoomla3';

to

$conf['authtype'] = 'authplain';

to switch back to the DokuWiki authentification.

Development

Change Log

Known Bugs and Issues

ToDo/Wish List

FAQ

Discussion

For security reasons setting AuthPDO can be better, because unlike authjoomla3 it doesn't access Joomla directory. So we can limit the PHP access of web sites to each other, with open_basedir. For example, using NGINX:

location ~ \.php$ {
    try_files     $uri $uri/ /doku.php;
    fastcgi_pass  unix:/run/php-fpm/php-fpm.sock;
    fastcgi_param SCRIPT_FILENAME    $document_root$fastcgi_script_name;
    fastcgi_param PHP_VALUE open_basedir="/usr/share/nginx/www/dokuwiki/:/tmp/";
    include       fastcgi_params;
}

So DokuWiki site would have access only to its folder (and temp folder or whatever you set there), but not to Joomla files. Also, the DokuWiki user for the database can have very limited rights too — just to read users tables information.

plugin/authjoomla3.txt · Last modified: 2020-02-07 17:09 by Aleksandr

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