Questions tagged [google-auth-library]
81 questions
2
votes
0 answers
Using the Google Auth Library to authenticate Google Drive
I am using the node Google Auth Library to get an authorized client. I know this step is successful from the line console.log('Project ID', await auth.getProjectId()) which prints the correct result. I am getting an error when I try to use this…

Dan Finley
- 21
- 1
2
votes
1 answer
Error getting access token for service account: 401 Unauthorized when using Calendar API using service account
I have a service account with domain wide delegation setup and I'm trying to create new accounts(google-api-services-admin-directory) using the service account and then add some preset calendars(google-api-services-calendar) to the newly created…

icedek
- 574
- 2
- 13
- 31
2
votes
1 answer
Google Cloud Speech API Not working in browser
I am using Google cloud speech-to-text API and setup project in localhost and live with credential and environment variable. It working with only command line while I run it through browser it gives me below error
Fatal error: Uncaught…

bhavyesh dhaduk
- 29
- 7
2
votes
1 answer
Google Sign-In: "Certificate for key id xxxx not found" when using google-auth Python package
I'm maintaining a website and its mobile apps (iOS and Android). For Google Sign-In in mobile app, I'm using google-auth Python package on the server side.
Since about one month ago, I started to receive error reports related to Google Sign-In from…

zzheng
- 898
- 11
- 17
2
votes
1 answer
How to use google-auth-library with Google Cloud Storage with NodeJS?
I want to use Google Cloud Storage in NodeJS but authenticate with google-auth-library
Specifically: I want to host this on heroku, so I want to keep the secret in an environment variable, not in a file (as I'd have to commit the file to deploy to…

PanMan
- 1,305
- 1
- 10
- 16
2
votes
0 answers
GET_ACCOUNTS permission and Google API's
I'm using the Gmail API to send emails from an Android app.
Reading about GET_ACCOUNTS permission lead me to think it's no longer necessary but apparently, I was wrong.
I personally use Android 8 and everything is working just fine without the…

SagiLow
- 5,721
- 9
- 60
- 115
1
vote
1 answer
Is there a way to get a generic token for default service account in nodejs?
I want to get a generic token for a default service account.
I have used the below command to get the token to get the token
gcloud auth print-identity-token projectId@appspot.gserviceaccount.com
I want to get this token programmatically. I have…

Renee
- 199
- 12
1
vote
0 answers
Permission Forbidden when using google authentication API
When I try to integrate Google Authentication in my project. I'm facing 403 Forbidden error.
With message
Forbidden
You don't have permission to access this resource.
Additionally, a 403 Forbidden error was encountered while trying to use an…

Giridhar M
- 11
- 2
1
vote
2 answers
Error saving code: GaxiosError: invalid_request when using passport-google
this my post request
app.post('/auth/google', async (req, res) => {
try {
const {
code
} = req.body;
} catch (error) {
}
});
i'm getting the token from my front end
…

jibzy
- 539
- 2
- 11
1
vote
1 answer
Multicloud: Authenticate Googe Cloud Translation Client from AWS Lambda (Nodejs)
Problem
I am trying to access a Google Cloud service (Cloud Translate API) from my AWS Lambda using Nodejs and serverless framework. The system already works perfectly when I use a Google Service Account Key, so that validates that the two cloud…

dcyprianrw
- 21
- 4
1
vote
1 answer
gspread requires an older google-auth
Today pip -install --user --upgrade told me
gspread 5.7.0 requires google-auth==1.12.0, but you have google-auth 2.14.1 which is incompatible.
Please note the huge discrepancy in google-auth version numbers: 1.12 vs 2.14.
I think I update my…

sds
- 58,617
- 29
- 161
- 278
1
vote
2 answers
How to verify the client token and get the email address of the user
I want to get a valid email from google auth and signup my user simply by clicking sign in with google button so I can get a token including user email like this:

Sara Ree
- 3,417
- 12
- 48
1
vote
2 answers
google.cloud.bigquery.Client() ignoring provided scopes, resulting in Permission denied while getting Drive credentials
I am trying to query data stored in Drive via the google.cloud.bigquery Python library.
I've followed Google's guide for Querying Drive Data.
Thus, my code looks like this:
import google.auth
from google.cloud import bigquery
credentials, project =…

Ian
- 197
- 1
- 9
1
vote
2 answers
Could not load file or assembly 'Google.Apis.Auth, Version=1.51.0.0, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab'
I implemented the Google authentication in our website, where the client side is Angular and the backend is .NET C# on IIS. I initiate the process on the client side and get an access token. The token must be forwarded to the .NET-based backend. In…

Márfi Tamás
- 11
- 2
1
vote
0 answers
Google openid connect - How to create an access-token with specific custom and scopes
I am creating a web application, I am enabled the login with google openid connect and it is working. Now I want to protect the resources (rest api) with the access_token but I am not finding how to pass a custom audience (https://api.myapp.com) and…

Arsenio Aguirre
- 163
- 1
- 1
- 13