Diff

mod_auth_wordpress/README.md @ 6209:d611ed13df7e

Merge
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Tue, 18 Mar 2025 00:16:25 +0700
parent 1803:4d73a1a6ba68
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mod_auth_wordpress/README.md	Tue Mar 18 00:16:25 2025 +0700
@@ -0,0 +1,32 @@
+---
+labels:
+- 'Stage-Alpha'
+- 'Type-Auth'
+summary: Wordpress authentication module
+...
+
+Introduction
+============
+
+This module allows you to authenticate against an Wordpress database.
+
+Configuration
+=============
+
+SQL connection paramaters are identical to those of [SQL
+storage](https://prosody.im/doc/modules/mod_storage_sql).
+
+    authentication = "wordpress"
+    wordpress_table_prefix = "wp_" -- default table prefix
+    sql = { -- See documentation for SQL storage
+        driver = "MySQL";
+        database = "my_wordpress";
+        host = "localhost";
+        username = "prosody";
+        password = "secretpassword";
+    }
+
+Compatibility
+=============
+
+Prosody 0.8+