akkoma/docs/docs/configuration/howto_mongooseim.md
floatingghost d2a185c013
Some checks are pending
ci/woodpecker/push/docs Pipeline is pending
ci/woodpecker/push/release Pipeline is pending
ci/woodpecker/push/test Pipeline is pending
Documentation updates for stable release (#73)
Reviewed-on: #73
2022-07-15 12:27:16 +00:00

893 B

Configuring MongooseIM (XMPP Server) to use Akkoma for authentication

If you want to give your Akkoma users an XMPP (chat) account, you can configure MongooseIM to use your Akkoma server for user authentication, automatically giving every local user an XMPP account.

In general, you just have to follow the configuration described at https://mongooseim.readthedocs.io/en/latest/authentication-backends/HTTP-authentication-module/ and do these changes to your mongooseim.cfg.

  1. Set the auth_method to {auth_method, http}.
  2. Add the http auth pool like this: {http, global, auth, [{workers, 50}], [{server, "https://yourakkomainstance.com"}]}

Restart your MongooseIM server, your users should now be able to connect with their Akkoma credentials.