annotate mod_s2s_whitelist/README.markdown @ 4260:c539334dd01a

mod_http_oauth2: Rescope oauth client config into users' storage This produces client_id of the form owner@host/random and prevents clients from being deleted by registering an account with the same name and then deleting the account, as well as having the client automatically be deleted when the owner account is removed. On one hand, this leaks the bare JID of the creator to users. On the other hand, it makes it obvious who made the oauth application. This module is experimental and only for developers, so this can be changed if a better method comes up.
author Kim Alvefur <zash@zash.se>
date Sat, 21 Nov 2020 23:55:10 +0100
parents 6e5bde0879ad
children 313937349fbc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3155
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 This module lets you block connections to any remote servers not on a
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2 whitelist.
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 ``` {.lua}
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 s2s_whitelist = {
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6 "example.org",
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 }
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 ```