Skip to content

Commit

Permalink
fix: The credentials need to be the JSON blob converted to an array.
Browse files Browse the repository at this point in the history
  • Loading branch information
cafuego committed Oct 16, 2024
1 parent 7b3bdeb commit c4b2841
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ public function exportReportData(

// Suppress error to avoid echoing the credential in a traceback.
if (!@file_exists($credentials)) {
$client->setAuthConfig($credentials);
$client->setAuthConfig(json_decode($credentials, TRUE));
}
else {
$client->useApplicationDefaultCredentials();
Expand Down

0 comments on commit c4b2841

Please sign in to comment.