Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/app/credential-internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,11 @@ function populateGoogleAuth(keyFile: string | object, httpAgent?: Agent)
copyAttr(keyFile, keyFile, 'private_key', 'privateKey');
copyAttr(keyFile, keyFile, 'client_email', 'clientEmail');

client = auth.fromJSON(keyFile);
client = auth.fromJSON(keyFile, {
transporterOptions: {
agent: httpAgent,
},
});
}
return { auth, client };
}
Expand Down