All Questions
Tagged with google-identity google-api-js-client
15
questions
1
vote
0
answers
230
views
Error calling gapi.client.oauth2.userinfo.get() getting profile information
I'm attempting to authenticate users with their google account using the implicit flow in order to retrieve that user's profile information, including:
Email
Phone number
Organizational information (...
3
votes
0
answers
347
views
Calling ` google.accounts.id.prompt` returns error 400 for browser that is does not have a google session
When calling prompt() from a browser that has a google session
google.accounts.id.initialize({
client_id: MY_GOOGLE_CLIENT_ID,
auto_select: false,
callback: handleCredentialResponse
})
...
1
vote
1
answer
2k
views
How to get profile information from Google Identity Services?
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 about ...
2
votes
2
answers
718
views
Drive file picker from the older Google Sign-In platform library to the newer Google Identity Services library for authentication
I have a code where I read the file data as blob. I have implemented using the old gapi, how do I migrate from the older Google Sign-In platform library to the newer Google Identity Services library ...
3
votes
1
answer
379
views
Require Permission On Sign In With GIS Client
gapi.oauth2 is being deprecated so I'm trying to set up Google Sign In using the new GIS Client. However I'm having a serious issue when the user grants access to scopes. The checkbox for one of the ...
2
votes
1
answer
1k
views
Google Identity Service (GIS) and id_token
I'm using the new Google Identity Services to login a user to my web app, calling google.accounts.id.initialize().
I then send that id_token as credentials to the server on every request, which uses ...
1
vote
1
answer
2k
views
Google - "Migrate to the new Google Identity Services library as soon as possible". Do we need to remove our use of google-api-php-client?
I received an email from Google stating that 'One or more of your web applications uses the legacy Google Sign-In JavaScript library. Please migrate your project(s) to the new Google Identity Services ...
5
votes
1
answer
2k
views
Migrating off of GAPI to Google Identity Services (GIS), server side question
How do I get a refreshed id token using the new system (GIS)?
I have a web app that uses Google sign-in and sends an id_token to my servers to use some GCP services. I was using GAPI signin2/auth2 in ...
3
votes
2
answers
6k
views
How do I use new google identity JS library to work with sheets?
Google introduced new Sign In JS library(gsi) a long time ago but Google Sheets documentation still shows examples using gapi. What would be the best approach to combine/replace gapi with gsi? May I ...
1
vote
0
answers
820
views
verifying the integrity of the ID token causes the error
I'm trying to add Google auth and I faced an issue:
I'm using this repo code: https://github.com/conorbailey90/Google-Auth
Here I have the front-end code. this is just sending a post request with ...
0
votes
1
answer
1k
views
How to use Google Identity API and Sign in without a popup window?
I am new to StackOverflow and I am implementing a Google Sign-in for my application.I am following the guide from here https://developers.google.com/identity/sign-in/web/sign-in
But i do not not want ...
0
votes
1
answer
1k
views
How to retrieve email address from id_token Google Javascript API client (GAPI)
I have an SPA with Firebase backend and have integrated Google Calendar access.
To be able to authorise a user to use his/her Google Calendar I am using the gapi.auth2.authorize(params, callback) ...
7
votes
1
answer
7k
views
How to use the Google API client for JavaScript with a One-Tap sign in flow?
I'm using Google One-Tap sign in to authenticate users, and after the user is authenticated I get an access token. I know that I can use this access token in order to work with the Google API client ...
1
vote
1
answer
985
views
How does Google One-Tap manage my refresh tokens? How does it differ from GAPI?
In the documents of Google One-Tap sign in, it says:
Returning users are signed in automatically, even when they switch devices or platforms, or after their session expires.
Question 1:
But it ...
3
votes
0
answers
885
views
Incremental combined authorization with Google SignIn for Server-Side Apps
When login with Server-Side flow, or ask authorization for additional scopes, with auth2.grantOfflineAccess, the result access/refresh token is not getting combined with previous authorized scopes, ...