logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma

howto_mongooseim.md (898B)


      1 # Configuring MongooseIM (XMPP Server) to use Pleroma for authentication
      2 
      3 If you want to give your Pleroma users an XMPP (chat) account, you can configure [MongooseIM](https://github.com/esl/MongooseIM) to use your Pleroma server for user authentication, automatically giving every local user an XMPP account.
      4 
      5 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.
      6 
      7 1. Set the auth_method to `{auth_method, http}`.
      8 2. Add the http auth pool like this: `{http, global, auth, [{workers, 50}], [{server, "https://yourpleromainstance.com"}]}`
      9 
     10 Restart your MongooseIM server, your users should now be able to connect with their Pleroma credentials.