diff options
author | rinpatch <rinpatch@sdf.org> | 2019-10-03 15:43:03 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-10-03 15:43:03 +0000 |
commit | 4fe2af3b2d6b0701de2ae88f9932e4b6039ced11 (patch) | |
tree | 95dfb9f82ee8a3259f0f8d1d6ce27cc562819fb6 /docs/configuration/howto_mongooseim.md | |
parent | c5e937b156ea1f8f96ade7d9104fc2c5fd1dd9cd (diff) | |
parent | b2f2012a4f34cfe8151e62d045f0eab3d165791a (diff) | |
download | pleroma-4fe2af3b2d6b0701de2ae88f9932e4b6039ced11.tar.gz |
Merge branch 'mkdocs-migration-prep' into 'develop'
MkDocs migration preparation
See merge request pleroma/pleroma!1774
Diffstat (limited to 'docs/configuration/howto_mongooseim.md')
-rw-r--r-- | docs/configuration/howto_mongooseim.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/configuration/howto_mongooseim.md b/docs/configuration/howto_mongooseim.md new file mode 100644 index 000000000..a33e590a1 --- /dev/null +++ b/docs/configuration/howto_mongooseim.md @@ -0,0 +1,10 @@ +# Configuring MongooseIM (XMPP Server) to use Pleroma for authentication + +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. + +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://yourpleromainstance.com"}]}` + +Restart your MongooseIM server, your users should now be able to connect with their Pleroma credentials. |