Skip to content

Commit

Permalink
fix: Better send now oauth token request scope as a string also from …
Browse files Browse the repository at this point in the history
…injector
  • Loading branch information
g-bougard committed Jun 12, 2024
1 parent 8b70f24 commit 02d9880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/glpi-injector
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ sub sendContent {
grant_type => "client_credentials",
client_id => $options->{"oauth-client-id"},
client_secret => $options->{"oauth-client-secret"},
scope => ["inventory"],
scope => "inventory",
}
);
$oauth_request->header('Content-Type' => 'application/json');
Expand Down

0 comments on commit 02d9880

Please sign in to comment.