akkoma/docs/configuration/howto_mongooseim.md

11 lines
893 B
Markdown
Raw Normal View History

# Configuring MongooseIM (XMPP Server) to use Akkoma for authentication
2019-05-21 10:57:36 -06:00
If you want to give your Akkoma users an XMPP (chat) account, you can configure [MongooseIM](https://github.com/esl/MongooseIM) to use your Akkoma server for user authentication, automatically giving every local user an XMPP account.
2019-05-21 10:57:36 -06:00
In general, you just have to follow the configuration described at [https://mongooseim.readthedocs.io/en/latest/authentication-backends/HTTP-authentication-module/](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"}]}`
2019-05-21 10:57:36 -06:00
Restart your MongooseIM server, your users should now be able to connect with their Akkoma credentials.