aboutsummaryrefslogtreecommitdiff
path: root/docs/config/howto_mongooseim.md
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-05-24 21:05:57 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-05-24 21:05:57 +0700
commitf333041a0a2b9c2f1ef2236254b8dd3e9a55a688 (patch)
tree317be4a8b7c0b9a231853ee05547554f5da74c3f /docs/config/howto_mongooseim.md
parent3b71612d3d8b5e2ad53bda4399eb7f687cd6c30e (diff)
parent6499adc6a83b4064f7283de3c729053e62ade7b2 (diff)
downloadpleroma-f333041a0a2b9c2f1ef2236254b8dd3e9a55a688.tar.gz
Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
Diffstat (limited to 'docs/config/howto_mongooseim.md')
-rw-r--r--docs/config/howto_mongooseim.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/config/howto_mongooseim.md b/docs/config/howto_mongooseim.md
new file mode 100644
index 000000000..a33e590a1
--- /dev/null
+++ b/docs/config/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.