Software / code / prosody-modules
Diff
mod_rest/README.md @ 6273:8ceedc336d0d
Merge update
| author | Trần H. Trung <xmpp:trần.h.trung@trung.fun> |
|---|---|
| date | Sun, 01 Jun 2025 13:51:38 +0700 |
| parent | 6272:ed6fa901cf94 |
line wrap: on
line diff
--- a/mod_rest/README.md Sun Jun 01 11:43:16 2025 +0700 +++ b/mod_rest/README.md Sun Jun 01 13:51:38 2025 +0700 @@ -37,13 +37,11 @@ ## As a Component -If you install this as a component, you won't be able to use user authentication above, -and must use OAuth2 authentication outlined below. +If you install this as a component, the HTTP Basic credentials are the components base JID along with its secret. ``` {.lua} Component "chat.example.com" "rest" component_secret = "dmVyeSBzZWNyZXQgdG9rZW4K" -modules_enabled = {"http_oauth2"} ``` ## User authentication