Questions tagged [google-auth-library]

81 questions
0
votes
0 answers

Google access token does not contain name fields in some of the SAME requests for cypress with google-auth-library

We try to load user profiles in a Node.JS backend via Google Oauth and login button. Google Button login works correctly, the given access token credential is sent to the backend and google-auth-library's client.verifyIdToken decodes the data…
0
votes
0 answers

How to get the most-recent scopes/access token from a Google OAuth refresh token? (NodeJS API)

With Google’s new GSI libs, authentication and authorisation are separated. This is somewhat problematic when using the YouTube api for example, as there’s no brand account picker when you simply want to sign in (it’s the main account). So in order…
0
votes
0 answers

Google Form API always gets permission denied

At the beginning, the server generated the Google Form, which worked and could be accessed. However, starting from March 18th, 2023 until March 23rd, 2023, users who tried to access these Google Forms, will see a 'permission denied' message. The…
James
  • 1
  • 1
0
votes
1 answer

Oauth example in Ruby for macOS desktop app to access Google Workspace Sheet (invalid grant type)

I'm trying to update a Google Workspace Sheet using a client in Ruby on macOS. I can't find a sample of this that currently works. I am currently trying the following, which is obviously incorrect! When it…
Joseph
  • 1,354
  • 12
  • 15
0
votes
0 answers

Compatibility Issues with Google AIY Voice and Dependencies: Seeking Solutions and Alternative Methods

I retrieved the previously functional Google AIY Voice from storage, but encountered some difficulties in getting it to work again. Despite updating the necessary credentials and assistant.json file within six months, the generated link was deemed…
0
votes
1 answer

Cloud Run React app cant make use of google-auth-library

Summary: I have deployed a very basic React app packaged as a Cloud Run app. I want to call another Cloud Run app (API) via a service account assigned to the service. I have no issue with this in my Express Node Cloud Run apps. Using the same…
0
votes
0 answers

How to use Google Identity Services library in Angular Dart?

recently have recieved a mail from google that they are migrating to Google Identity Services library I want to know now how to migrate my project to use Google Identity Services library. I have used googleapis_auth in my AngularDart application…
0
votes
0 answers

Failing to authenticate my React frontend with backend using google-auth-login: Failing likely due to polyfills missing in react-scripts 5

I deployed both my backend (Django) and frontend (React create-app) services to Google Cloud Run. As long as my Django service doesn't require authentication, everything works great. I've tried following this doc on authenticating service-to-service…
0
votes
0 answers

PIP error: Could not find a version that matches google-auth

I been trying to resolve dependencies for my project. Here is the version error I am getting for google auth. <2.0dev,<3.0dev,==1.35.0,>=1.24.0,>=2.14.1 I tried the pipenv graph and have my requirements set to 1.35 version for google-auth. Can you…
0
votes
0 answers

Can't call Google Cloud Function from a react app. I get googleauth.js:17 Uncaught Error: Cannot find module 'child_process' in my browser's console

I have this app here: https://github.com/ChristianOConnor/google-cloudfunction-callfromreactapp. It is literally just the output of npx create-react-app google-cloudfunction-callfromreactapp --template typescript and making a few changes. I added…
0
votes
2 answers

How to get email id as a part of google oauth 2.0 googl drive sign in

I am creating a website where in one page Google drive sign in is required. I am using Google's OAuth 2.0. I have used the below scopes https://www.googleapis.com/auth/drive.metadata.readonly https://www.googleapis.com/auth/drive When I tried…
0
votes
0 answers

How do I verify apple IdToken like google IdTokens are verified

Google has an SDK that essentially allows you to verify the User IdToken. Does Apple provide something similar? Or is the verification process different. If so could someone please let me know.
Zephyr
  • 1,612
  • 2
  • 13
  • 37
0
votes
0 answers

How to access google sheets using default application credentials

Using a service account file to access google sheet is working as expected import { google } from 'googleapis'; import serviceAccount from 'serviceKey.json'; const spreadsheetId = 'spreadsheet-id'; const sheets = google.sheets({ version: 'v4'…
0
votes
1 answer

Google Cloud VM - googleAuthR library no called error

I have an R script that I run in google cloud environment, it helps me pull google analytics data and then I store it in storage. I call the googleAuthR library in one line of my script but I keep getting the same error. Has anyone had this problem…
0
votes
0 answers

Invoke http cloud function from angular app deployed on App engine in a secured way

I am trying to invoke http cloud function from angular app deployed on App engine. Access required to invoke the cloud function from app engine is done i.e- provided invoke access to the cloud function from the service account associated with the…