Table of Contents

ejabberd and prosody XMPP server with synchronized credentials

Ejabberd is a chat server that uses XMPP as messaging protocol that you can use with a large amount of clients. In conjunction with the “xmpp” addon it can be used for a web based chat solution for your users.

ejabberd Installation

Other hints

Prosody Installation

If you want to use your Friendica installation for authentication with the prosody XMPP server, you have to do the following.

  1. Enable the auth_http_async module of prosody
  2. Adopt the configuration file (prosody.cfg.lua) of your prosody server to use Friendica for authentication (use your Friendica nodes domain instead of example.com)
authentication = "http_async";
http_auth_url = "https://example.com/api/account/verify_credentials.json";

You can now use your Friendica account credentials to login to your prosody, there is no need to register a new account on the XMPP server.