Diff

mod_rest/example/rest.sh @ 6328:887ed0f6e275

mod_rest: Update example script to get refresh tokens from mod_http_oauth2 The "offline_access" is needed to receive refresh tokens.
author Kim Alvefur <zash@zash.se>
date Thu, 03 Jul 2025 17:49:08 +0200
parent 5964:a9c75430cb26
child 6329:c95dffd984a4
line wrap: on
line diff
--- a/mod_rest/example/rest.sh	Thu Jul 03 16:18:38 2025 +0200
+++ b/mod_rest/example/rest.sh	Thu Jul 03 17:49:08 2025 +0200
@@ -26,7 +26,7 @@
 	source "${XDG_CONFIG_HOME:-$HOME/.config}/restrc"
 
 	if [ -z "${SCOPE:-}" ]; then
-		SCOPE="openid xmpp"
+		SCOPE="openid offline_access xmpp"
 	fi
 fi