mod_rest/README: Words about bearer tokens
authorKim Alvefur <zash@zash.se>
Wed, 25 Jan 2023 20:39:13 +0100
changeset 5163 51f7d72a56c2
parent 5162 ca7feb293d55
child 5164 8474a3b80200
mod_rest/README: Words about bearer tokens The examples are inconsistent and confusing wrt authentication, hopefully these words help a bit.
mod_rest/README.markdown
--- 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