google-api-js-client Questions

7

<html> <head> <meta name="google-signin-client_id" content="MY_CLIENT_ID.apps.googleusercontent.com" /> </head> <body> <div class="g-signin2" data-onsuccess="onSi...

3

How do I get Firebase Auth to work with Google drive api? Using react, I have firebase auth working and google drive (gapi) both working individually but am struggling to merge the two. With Fireba...
Saintmihiel asked 26/10, 2021 at 16:50

18

Solved

When making an auth request to the Google API (gapi), it's returning false on the checkOrigin. I have removed any client id's or anything that would link directly to my account and replaced it wit...

5

error: 'idpiframe_initialization_failed', details: 'You have created a new client application that use…i/web/guides/gis-migration) for more information.'} details: "You have created a new clie...

3

Solved

In a web page hosted in Google cloud storage, I will like to show revision history, which require listing all versions of the object. Sending GET request to the bucket with ?versions parameter ret...
Monometallic asked 11/9, 2013 at 6:51

4

Solved

I have been trying to implement an app that would need user to grant access to Google Analytics. I have been following this tutorial: https://developers.google.com/analytics/solutions/articles/hel...
Audy asked 27/6, 2014 at 14:21

2

I'm porting over some existing js code authenticating with the google cloud platform (as they are migrating to a new set of libraries). (migration guide: https://developers.google.com/identity/oaut...

1

Solved

I am using the new google sign in button and one tap login in angular. Currently, I am using a library @abacritt/angularx-social-login. I tried directly using the /gsi/client script and this one al...

1

I've got a Chrome Manifest v2 extension that interacts with Google Sheets via Google APIs. Relevant code: manifest.json "content_security_policy": "script-src 'self' https://apis.goo...
Maniemanifest asked 8/1, 2021 at 8:45

2

Solved

When using Google Identity Services (GSI) I can display a popup to ask users to connect with their Google account. This is pretty well documented and it works well with this code: const client = wi...
Veracity asked 6/5, 2022 at 9:57

1

I am using the GAPI async/await example from https://developers.google.com/identity/oauth2/web/guides/migration-to-gis#gapi-asyncawait I'm having difficulty figuring out how to get information abou...
Reserved asked 26/6, 2022 at 22:16

0

I am using this javascript quickstart for the Google Drive API v3 (which i got here) (i correctly filed my client id and my api key) <p>Drive API Quickstart</p> <!--Add buttons to ...

3

Solved

I want to use gapi to access people api resources from google, I tried many ways to do the job, but I still cannot get any response. It has not error, no warning. Here is my code. loadYoutubeApi()...
Mouthwash asked 23/8, 2018 at 2:12

1

Authorization Error Error 400: invalid_request You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy for keeping apps secure. You can let the app developer know tha...
Circumlocution asked 11/11, 2021 at 1:2

2

Solved

I'm trying to implement incremental authorization with Google Oauth2 in my application. At first, when users sign in, the application is requesting some scopes and offline access. I'm generating ...

0

I have a chrome extension that takes file information from a backend node.js server in order to serve google drive files up within the extension. What I am having trouble with in this specific inst...
Myongmyopia asked 27/2, 2021 at 0:16

0

I'm trying to secure API calls from my chrome extension to my website hosted on AWS. The SO posts I've so far were quite dated & not effective ways. The most recent & best tutorial I've fou...

2

I am testing my local app on https://localhost:44367/ using Chrome for google login. My app is Angular 6 using .Net core When i try to login using my credentials, it gives Error saying Couldn't...
Clarsach asked 24/12, 2019 at 5:55

2

I'm now searching for hours how I can use the Google API in a chrome extension. All I want to do is to parse the contents of a website and insert it as a new event to Google Calender. I got the par...

1

Solved

For the app I'm building I want the end user to login using gapi OAuth2 and from there I want the app to look for a playlist on their YouTube channel and load it. The getAuthInstance method returns...

2

Solved

I have two gmail accounts I created a thread consisting of five messages and retreived them with gmail gapi at this page https://developers.google.com/gmail/api/v1/reference/users/threads/get. Thi...
Narbada asked 15/9, 2015 at 15:5

3

I have implemented google-recapthca in angular 5 and it working well for all browers but in safari i got following error: the source list for content security policy directive 'script-src' contains...
Laellaertes asked 14/12, 2018 at 5:24

2

I've dove into a small project aiming to utilize the YouTube API. I've got some basic code in place, that I initially thought was, working properly. Using Chrome, I can login through multiple mach...

0

I have integrated my Google drive using Oauth2 in server side and stored credentials like access token and refresh token in data base. const clientId = `${process.env.GOOGLE_DRIVE_CLIENT_ID}`; ...
Ultrastructure asked 6/1, 2020 at 9:39

2

Solved

I am using google's api client in my application. I have a function called initialize that uses gapi.load to authenticate my credentials and load the youtube api. gapi.load takes a callback funct...
Algology asked 9/11, 2019 at 22:24

© 2022 - 2024 — McMap. All rights reserved.