Friendica

How to easily integrate a XMPP server with a Friendica federated blogging system:

Ejabberd external auth

Friendica includes an official external auth script for the Ejabberd XMPP server.

It can be found in the Friendica directory under /bin/auth_ejabberd.php and can be directly referenced from the Ejabberd configuration file. Please refer to the official documentation for further details.

Prosody module

The Prosody XMPP server can be linked to a Friendica instance via the auth_http_async module. Add the following to the Prosody configuration file to use Friendica for authentication:

1authentication = "http_async";
2http_auth_url = "https://example.com/api/account/verify_credentials.json";

(use your Friendica domain instead of example.com)