annotate mod_component_client/README.markdown @ 5440:82a14082be3f
mod_auth_oauth_external: Allow different username in PLAIN vs final JID
Mastodon for example having email addresses usernames in login, but a
different username in the service itself.
Thanks to @tcit@social.tcit.fr for the pointer to a usable validation
endpoint for Mastodon, allowing this to be tested.
author |
Kim Alvefur <zash@zash.se> |
date |
Wed, 10 May 2023 13:52:31 +0200 |
parents |
35ae59a8196d |
children |
|
rev |
line source |
2323
|
1 Introduction |
|
2 ============ |
|
3 |
|
4 This module turns Prosody hosts into components of other XMPP servers. |
|
5 |
|
6 Configuration |
|
7 ============= |
|
8 |
|
9 Example configuration: |
|
10 |
|
11 ``` {.lua} |
|
12 VirtualHost "component.example.com" |
|
13 modules_enabled = { "component_client" } |
|
14 component_client = { |
|
15 host = "localhost"; |
|
16 port = 5347; |
|
17 secret = "hunter2"; |
|
18 } |
|
19 ``` |