diff options
author | Sachin Joshi <satchin.joshi@gmail.com> | 2019-06-01 11:42:37 +0545 |
---|---|---|
committer | Sachin Joshi <satchin.joshi@gmail.com> | 2019-06-01 11:42:37 +0545 |
commit | ad5263c647aea65dbeb4c329825671895e0a8863 (patch) | |
tree | 6217011a3fd2ea943498ce296de07cefe1206b87 /docs/config/howto_mongooseim.md | |
parent | 5534d4c67675901ab272ee47355ad43dfae99033 (diff) | |
parent | f1890d2cacfa09dd22b06a8d041c04dbeba9e138 (diff) | |
download | pleroma-ad5263c647aea65dbeb4c329825671895e0a8863.tar.gz pleroma-ad5263c647aea65dbeb4c329825671895e0a8863.zip |
Merge remote-tracking branch 'upstream/develop' into admin-create-users
Diffstat (limited to 'docs/config/howto_mongooseim.md')
-rw-r--r-- | docs/config/howto_mongooseim.md | 10 |
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. |