feedback
feedback copied to clipboard
[how-to-invoke-authenticated-cloud-functions]:
If I execute the line curl $FUNCTION_URL -H "Authorization: bearer $(gcloud auth print-identity-token)" I get unauthorized error in the gcloud cli. However if I execute the command gcloud auth print-identity-token seperately, get the access token and put it in the previous command the call works and I get the response.