diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-08-18 15:04:53 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-08-18 15:04:53 -0700 |
| commit | 5fbe4e8fbbbb5da0b364d458a77925a5f89264e5 (patch) | |
| tree | 2d3aa64865ca967eacc8b3e8a8def00e9713c46d | |
| parent | 8ca8b344ba9ea4c8eb8c72822120f414bf0d2c72 (diff) | |
fix: set user type
| -rwxr-xr-x | mcsh.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |