Changeset

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
parents 6327:578fa5d97daa
children 6329:c95dffd984a4
files mod_rest/example/rest.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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