From da4c45c6b4f9d32f433dfbb07952625309be0e28 Mon Sep 17 00:00:00 2001 From: Twilight Sparkle Date: Wed, 3 Sep 2025 14:27:54 +0000 Subject: [PATCH] Request a refresh token in device-code-grant.sh --- misc/device-code-grant.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/device-code-grant.sh b/misc/device-code-grant.sh index c77101cb5..a89c26fd2 100755 --- a/misc/device-code-grant.sh +++ b/misc/device-code-grant.sh @@ -45,7 +45,7 @@ RESP="$( { "client_name": "CLI tool", "client_uri": "https://github.com/element-hq/matrix-authentication-service/", - "grant_types": ["urn:ietf:params:oauth:grant-type:device_code"], + "grant_types": ["urn:ietf:params:oauth:grant-type:device_code","refresh_token"], "application_type": "native", "token_endpoint_auth_method": "none" }