Mercurial > prosody-modules
view mod_auth_wordpress/README.markdown @ 5243:d5dc8edb2695
mod_http_oauth2: Use more compact IDs
UUIDs are nice but so verbose!
The reduction in entropy for the nonce should be fine since the
timestamp is also counts towards this, and it changes every second
(modulo clock shenanigans), so the chances of someone managing to get
the same client_secret by registering with the same information at the
same time as another entity should be negligible.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 11 Mar 2023 22:46:27 +0100 |
parents | 4d73a1a6ba68 |
children |
line wrap: on
line source
--- 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+