I am trying to use the standard fetch client instead of the Gaxios client that the IdTokenClient class uses because it was giving me trouble whenever I used with multiple files in the FormData class.
Originally I had a very simple client running under my service account credentials and properly being authenticated with this code:
I am trying to use the standard
fetch
client instead of theGaxios
client that theIdTokenClient
class uses because it was giving me trouble whenever I used with multiple files in theFormData
class.Originally I had a very simple client running under my service account credentials and properly being authenticated with this code:
now I am trying:
But I consistently get a 403. What am I doing wrong?