Questions tagged [google-cloud-auth]

12 questions
2
votes
1 answer

calling google composer (airflow) dag using google cloud function

I am trying to call composer dag using API call from cloud function. I am able to call this DAG using rest api using my user and access token. which shows that API is enabled and proper authentication is enabled. However, when I am trying with…
Gaurang Shah
  • 11,764
  • 9
  • 74
  • 137
1
vote
2 answers

Using Google Cloud SQL Auth Proxy through Streamlit Cloud

I am a bit of a newbie with all this so please bear with me :) I am trying to deploy an app on streamlit cloud so my fitness clients can access workouts, log and track progress etc. Everything works perfectly locally but when I try and deploy to…
1
vote
1 answer

Handling new consent screen (with checkboxes) and Incremental authorization with the "new" Google Indentity for Web

Google started making important changes to user's auth flow : 2018 post about scopes granularity And here is another blog post about it on 2021 : 2021 post about scopes granularity Recently (last week) I have received this from Google, but I can't…
1
vote
1 answer

Google Cloud SecretManagerServiceClient() is not finding creds with .from_service_account_json() file

Getting this error: google.auth.exceptions.DefaultCredentialsError: Could not automatically determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or explicitly create credentials and re-run the application. For more information, please…
1
vote
0 answers

Dynamically add javascript origin and redirect URI in GCP Api and Services Credentials

I have an Api & Services project in Google Cloud. In that project, I have set up some credentials. Inside the credentials screen, there are options available to specify the Authorized JavaScript origins and Authorized redirect URIs. I have specified…
Aamir
  • 14,882
  • 6
  • 45
  • 69
1
vote
1 answer

Downloading files with a manually generated signed url errors with "SignatureDoesNotMatch"

I've followed this guide to implement a URL signer for cloud storage download URLs in Rust. Bucket and service account have necessary permissions. I'm using signBlob technique to sign the string. Here is the output of my canonical…
Ali Somay
  • 585
  • 8
  • 20
1
vote
1 answer

Google Cloud API Gateway can't invoke Cloud Run service while using firebase auth

I am using API Gateway with firebase JWT authorisation (so that users can use google sign in) that is forwarding the requests to cloud run services and one cloud function service. Here is how my API Gateway config looks like: swagger: '2.0' info: …
0
votes
1 answer

google.auth.exceptions.DefaultCredentialsError: file was not found

I have created Google Cloud Application Default Credentials and it is stored in \AppData\Roaming\gcloud for the local user. When I try to instantiate any Google Cloud services in python, e.g. storageclient = storage.Client(), I get an…
anarche
  • 536
  • 4
  • 19
0
votes
2 answers

how can i grant the google app engine application default credentials access to google drive?

Locally, I'm able to grant a GAE project access to Drive/Sheets so a Python script accessing Bigquery can access data in Sheets. I did this by running: gcloud auth application-default login…
0
votes
0 answers

Why does an 'Unable to process request due to missing initial state.' error occur and how to fix it?

I have created an app to use Assistant on Desktop which is unmaintained by Google and needs an use of Google Console app. I have set up everything properly and had no issues until 'Unable to process request due to missing initial state.' error…
tahatamer
  • 23
  • 7
0
votes
1 answer

DefaultCredentialsError while authenticating to local firestore emulator

I have a problem with AnonymousCredentials in combination with firestore emulator. The access to firestore with a service-account.json works fine. My goal is to remove the service-account.json and use AnonymousCredentials instead. The url and port…
Torben
  • 102
  • 1
  • 7
-1
votes
1 answer

What is the api-call equivalent for this command? gcloud auth activate-service-account

What is the equivalent rest api calls for these? gcloud auth activate-service-account --key-file=myvaultkey.json export GOOGLE_OAUTH_ACCESS_TOKEN=$(gcloud auth print-access-token)
Espresso
  • 5,378
  • 4
  • 35
  • 66