Mercurial > prosody-modules
view mod_proxy65_whitelist/README.markdown @ 5222:578a72982bb2
mod_http_oauth2: Separate extracting credentials from requests and verifying
The token endpoint also uses Basic auth, but the password would be the
client_secret, so we need to verify against that instead of using
test_password(). Splitting this up here avoids code duplication.
Possibly this new function could go into util.http...
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 07 Mar 2023 15:18:41 +0000 |
parents | 8de50be756e5 |
children | 694b62d8a82f |
line wrap: on
line source
--- labels: 'Stage-Alpha' summary: Limit which file transfer users can use ... Introduction ------------ This module attempts to restrict use of non-whitelisted XEP-0065 proxies. Configuration ------------- Without any options, the module will restrict users to local [proxy65 components](https://prosody.im/doc/modules/mod_proxy65). -- additional proxies to allow allowed_streamhosts = { "proxy.eu.jabber.org" } The module will add all local proxies to that list. To prevent it from doing that, set allow_local_streamhosts = false