File

mod_component_client/README.md @ 6308:e1c54de06905

mod_http_oauth2: Handle case of device state having expired If for some reason the `code` was nil, it would have thrown an error attempting to index it.
author Kim Alvefur <zash@zash.se>
date Fri, 13 Jun 2025 21:57:38 +0200
parent 6003:fe081789f7b5
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";
}
```