Software /
code /
prosody-modules
File
mod_auth_joomla/README.markdown @ 5256:44f7edd4f845
mod_http_oauth2: Reject non-local hosts in more code paths
We're not issuing tokens for users on remote hosts, we can't even
authenticate them since they're remote. Thus the host is always the
local module.host so no need to pass around the host in most cases or
use it for anything but enforcing the same host.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 16 Mar 2023 17:52:10 +0100 |
parent | 1803:4d73a1a6ba68 |
line wrap: on
line source
--- labels: - 'Stage-Alpha' - 'Type-Auth' summary: Joomla authentication module ... Introduction ============ This module allows you to authenticate against an Joomla database. Configuration ============= SQL connection paramaters are identical to those of [SQL storage](https://prosody.im/doc/modules/mod_storage_sql) except for an additional 'prefix' parameter that defaults to 'jos\_'.\_ authentication = "joomla" sql = { -- See documentation for SQL storage driver = "MySQL"; database = "joomla"; host = "localhost"; username = "prosody"; password = "secretpassword"; prefix = "jos_"; } Compatibility ============= Prosody 0.8+