0

I'm making a call in Postman to a function I've uploaded to GCP. But the response I get is the HTML of a Google auth web page.

Postman

I've generated the auth token I need and include it in the headers. I've also removed auth blocks from the function in GCP just in case, and added Viewer permissions to allUsers in GCP. I'm still forbidden when I try to access from the browser - although according to this post that should resolve the issue at least in Postman.

Is there some way I can log in on Postman so I'm not prompted for the auth? Or bypass it altogether?

GCP

crevulus
  • 1,658
  • 12
  • 42

1 Answers1

1

For allUsers the role should be Cloud Functions Invoker rather than Viewer.

enter image description here

crevulus
  • 1,658
  • 12
  • 42