Skip to content

Commit 3ac54c4

Browse files
committed
fix: add scope for emitting group claim in access token
1 parent b619095 commit 3ac54c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

get_tokens.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ devicecode_url="https://login.microsoftonline.com/62366534-1ec3-4962-8869-9b5535
55
client_id="5d69cfe1-b300-4a1a-95ec-4752d07ccab1"
66
form_header="Content-Type: application/x-www-form-urlencoded"
77

8-
devicecode_resp=$(curl -s -H "$form_header" -d "scope=user.read openid&client_id=$client_id" "$devicecode_url")
8+
devicecode_resp=$(curl -s -H "$form_header" -d "scope=$client_id/.default openid&client_id=$client_id" "$devicecode_url")
99

1010
# jq . <<< "$devicecode_resp"
1111

0 commit comments

Comments
 (0)