This module is part of the suite of modules that implement invite-based account registration for Prosody. The other modules are:
For details and a full overview, start with the mod_invites documentation.
mod_invites_page provides a unique web page for each generated invitation. Without this module, Prosody will only be able to generate invite links as
xmpp: URIs (they look something like
xmpp:example.com?register;preauth=29Xbxr91). URIs will only work if the invited user already has an XMPP client installed. This is usually not the case.
This module transforms the URI into a friendly web page that can be shared via any method (email, SMS, etc.), and opened in any browser. The page explains the invitation and guides the user to set up their account using one of a configurable list of XMPP clients (to configure the list, see mod_register_apps documentation).
|invites_page||The format of an invite page URL (must begin with
|invites_registration_page||The format of an invite registration page URL (may be relative to invites_page)||
invites_registration_page options are templates that support a number of variables. The most useful being
All the usual HTTP configuration options can be used to configure this module. In particular, if you run Prosody behind a reverse proxy such as nginx or Apache, you will probably want to set
http_external_url so that Prosody knows what URLs should look like for users.