Reputation: 187
Within GCP:
Why does it give 403 error if I'm using a service account with "Cloud Functions Invoker" permissions? If I disable authentication for the function it works, but I need authentication because it's not a public API.
Upvotes: 4
Views: 2347
Reputation: 187
This must be added in the workflow code:
auth:
type: OIDC
See https://cloud.google.com/workflows/docs/calling-run-functions?authuser=1#add_auth_info
Upvotes: 8