# HG changeset patch # User Kim Alvefur # Date 1751557748 -7200 # Node ID 887ed0f6e2758e39d93788260a92d8291a7d16dc # Parent 578fa5d97daa53e908621d0c11bdd921e5a98276 mod_rest: Update example script to get refresh tokens from mod_http_oauth2 The "offline_access" is needed to receive refresh tokens. diff -r 578fa5d97daa -r 887ed0f6e275 mod_rest/example/rest.sh --- 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