aboutsummaryrefslogtreecommitdiff
path: root/mcsh.sh
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2025-08-18 15:04:53 -0700
committerCaroline Larimore <caroline@larimo.re>2025-08-18 15:04:53 -0700
commit5fbe4e8fbbbb5da0b364d458a77925a5f89264e5 (patch)
tree2d3aa64865ca967eacc8b3e8a8def00e9713c46d /mcsh.sh
parent8ca8b344ba9ea4c8eb8c72822120f414bf0d2c72 (diff)
fix: set user type
Diffstat (limited to 'mcsh.sh')
-rwxr-xr-xmcsh.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcsh.sh b/mcsh.sh
index 5a41cbb..18b0995 100755
--- a/mcsh.sh
+++ b/mcsh.sh
@@ -47,7 +47,7 @@ function auth (
refresh_token="$(<<<"$res" jq -r '.refresh_token')"
msa_token="$(<<<"$res" jq -r '.access_token')"
- auth="$(jq --arg token "$refresh_token" '. + {"refresh_token": $token}' auth.json)"
+ auth="$(jq --arg token "$refresh_token" '. + {"refresh_token": $token, "type": "msa"}' auth.json)"
<<<"$auth" cat > auth.json
printf 'authenticating with xbox live\n' >&2