We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b619095 commit 3ac54c4Copy full SHA for 3ac54c4
get_tokens.sh
@@ -5,7 +5,7 @@ devicecode_url="https://login.microsoftonline.com/62366534-1ec3-4962-8869-9b5535
5
client_id="5d69cfe1-b300-4a1a-95ec-4752d07ccab1"
6
form_header="Content-Type: application/x-www-form-urlencoded"
7
8
-devicecode_resp=$(curl -s -H "$form_header" -d "scope=user.read openid&client_id=$client_id" "$devicecode_url")
+devicecode_resp=$(curl -s -H "$form_header" -d "scope=$client_id/.default openid&client_id=$client_id" "$devicecode_url")
9
10
# jq . <<< "$devicecode_resp"
11
0 commit comments