This is a collection of bridges allowing an ejabberd XMPP server to use a locally installed PHP-based CMS for external authentication.
Currently implemented bridges:
- Drupal 8
- Apache htpasswd
Copy the file config.sample.yml
to config.yml
and fill in the appropriate
values.
Open your ejabberd configuration and set the external authentication script:
The configuration file should be located at /etc/ejabberd/ejabberd.cfg
. Find, uncomment
and edit the following lines.
{auth_method, external}.
{extauth_program, ".../ejabberd-auth-php/main"}.
The configuration file is at /etc/ejabberd/ejabberd.yml
.
auth_method: external
extauth_program: ".../ejabberd-auth-php/main"
The core project, without plugins, may be distributed or modified under the under the terms of the MIT license.
The drupal
plugin contains a module that interfaces with the
Drupal project and is licensed under the
GNU General Public License, version 2 or later.
I will not be able to offer support or reliable maintenance for this software, or any of its plugins. Functionality may be changed without notice. This software is (for now) indefinitely in pre-release mode, and there are no current plans for a stable release.
Your best bet for using this software is to fork it and maintain your own codebase. I will gladly take pull requests under consideration if you feel like contributing.