File

mod_component_client/README.markdown @ 5205:b6f41f0b5f58

mod_http_oauth2: Specify host for which to retrieve list of roles Fixes core/usermanager.lua:299: attempt to index a nil value (field '?')
author Kim Alvefur <zash@zash.se>
date Sat, 04 Mar 2023 23:36:13 +0100
parent 2323:35ae59a8196d
line wrap: on
line source

Introduction
============

This module turns Prosody hosts into components of other XMPP servers.

Configuration
=============

Example configuration:

``` {.lua}
VirtualHost "component.example.com"
modules_enabled = { "component_client" }
component_client = {
    host = "localhost";
    port = 5347;
    secret = "hunter2";
}
```