ejabberd-diaspora-auth

Ejabberd external authentication trough diaspora* database.


License
Apache-2.0
Install
pip install ejabberd-diaspora-auth==0.1

Documentation

ejabberd diaspora* auth

requirements

  • diaspora* postgres database
  • ejabberd server
  • python3

features

  • authentication against *Diaspora database
  • parsing *Diaspora config files for database credentials and pepper
  • support for DIASPORA_DIR environmental variable (_/home/diaspora/diaspora_ by default)

installation

pip install ejabberd_diaspora_auth

ejabberd configuration

auth_method: external

extauth_program: "/usr/bin/diaspora_auth.py"