aboutsummaryrefslogtreecommitdiff
path: root/docs/configuration/howto_mongooseim.md
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2019-10-06 11:43:49 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2019-10-06 11:43:49 +0300
commit06b3bb54c5567fe82ad2a015673fffba667997ee (patch)
tree84bde8abcef86ef398eef0afdc9ae77e5f464bf1 /docs/configuration/howto_mongooseim.md
parent64095961fe490029886cae358683532ea65bf2c0 (diff)
parent9e34919dcdbeedf8eb623dc86b05f63ef44d8859 (diff)
downloadpleroma-06b3bb54c5567fe82ad2a015673fffba667997ee.tar.gz
Merge remote-tracking branch 'remotes/upstream/develop' into 1234-mastodon-2-4-3-oauth-scopes
# Conflicts: # CHANGELOG.md # lib/pleroma/web/mastodon_api/controllers/account_controller.ex # lib/pleroma/web/mastodon_api/controllers/mastodon_api_controller.ex # lib/pleroma/web/router.ex
Diffstat (limited to 'docs/configuration/howto_mongooseim.md')
-rw-r--r--docs/configuration/howto_mongooseim.md10
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.