Mercurial > prosody-modules
diff mod_rest/README.markdown @ 5159:51f7d72a56c2
mod_rest/README: Words about bearer tokens
The examples are inconsistent and confusing wrt authentication,
hopefully these words help a bit.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 25 Jan 2023 20:39:13 +0100 |
parents | 09dd378748b8 |
children | 5be04d1b16fb |
line wrap: on
line diff
--- a/mod_rest/README.markdown Mon Jan 16 15:54:40 2023 +0100 +++ b/mod_rest/README.markdown Wed Jan 25 20:39:13 2023 +0100 @@ -39,7 +39,8 @@ ## OAuth2 [mod_http_oauth2] can be used to grant bearer tokens which are -accepted by mod_rest. +accepted by mod_rest. Tokens can be passed to `curl` like +`--oauth2-bearer dmVyeSBzZWNyZXQgdG9rZW4K` as in some examples below. ## Sending stanzas