Skip to main content

All Questions

0 votes
2 answers
241 views

How to use the Google Identity Credentials library?

I'm trying to use this relatively new :play-services-identity-credentials library (release notes): implementation("com.google.android.gms:play-services-identity-credentials:16.0.0-alpha03") ...
Martin Zeitler's user avatar
0 votes
0 answers
97 views

Google Identity Services API requestAccessToken() closes immediately

I'm attempting to use Google's Developer API Identity Services. I'm following along with this guide: https://developers.google.com/identity/oauth2/web/guides/use-token-model I've already created an ...
GeoGalvanic's user avatar
0 votes
0 answers
102 views

Google Identity Services Library Not Loading in JavaScript Application

I'm encountering an issue with the Google Identity Services library not loading properly in my JavaScript application. I've followed the official documentation for integrating Google Identity Services,...
M. Huzyefah Saqib's user avatar
0 votes
1 answer
1k views

How to use the new Google API with scopes?

For a uni project, I was attempting to create a simple demo React app that would fetch some data from a Google Account – first the basic stuff, like name and avatar, but then "scoped data" ...
nurlantig's user avatar
1 vote
0 answers
846 views

Google Drive API fetch request from browser fails with CORS error when using Google Identity

I'm trying to use the Google Identity API to make fetch requests to the Google Drive API from the browser but it fails with the typical CORS error: Access to fetch at 'https://googleapis.com/drive/v3/...
Brent Parker's user avatar
2 votes
0 answers
113 views

How to hookup a Cloud Function for Google Identity Platform's beforeSignIn event via Terraform?

I want to setup a cloud function via Terraform for beforeSignIn event in Google Identity Platform. Google cloud documentation explains how to do this manually as shown in this screenshot. My question ...
user1573278's user avatar
0 votes
0 answers
89 views

How to manage Google Identity Service access token? [duplicate]

Hi please help providing answers on dealing with new Google Identity Service library access token using implicit flow. Everytime I refresh my app, it will prompt you to login. Is there a way to tell ...
Realizt30's user avatar
  • 183
3 votes
1 answer
619 views

Unneeded prompts from Google Identity Services

I'm converting my web app to use Google Identity Services, and am using the token model as illustrated at Token Model example. For the token client I've specified the prompt property as an empty ...
zscrdd's user avatar
  • 51
1 vote
2 answers
2k views

Decoding jwt token returned by the new google identity api

I have created a login button with google identity javascript api https://developers.google.com/identity/gsi/web/guides/display-button#javascript I have successfully returned a jwt token and decoded ...
Gandalf's user avatar
  • 13.7k
6 votes
2 answers
2k views

How do I let the browser store my login status with Google Identity Services?

I'm using Google Identity Services JavaScript API to access some of my Google data here: https://developers.google.com/identity/oauth2/web/guides/migration-to-gis The code I used is in this section: ...
AGamePlayer's user avatar
  • 7,676
1 vote
1 answer
1k views

Google oauth2Client.getToken is not returning id_token for other users

I'm implementing Google's 'code model' of Oauth2 and having trouble getting users' email - I wonder if this is a scopes problem or my misunderstanding about how to set up the code model. This sequence ...
Allen Y's user avatar
  • 660
2 votes
2 answers
906 views

Google Identity for server-side web app - redirect URI mismatch

I'm attempting to set up the Code Model for Google authentication, so that my user can oauth with Google and my app can retrieve their Calendar data. I'm stuck on step 5 here, where I'm supposed to ...
Allen Y's user avatar
  • 660
0 votes
1 answer
1k views

How to setup OAuth2 connection to Google Identity API within an Electron app safely with redirectUri pointing to localhost?

The context: I'm trying to develop a desktop app with ElectronJS which needs access to Google APIs. As such, I want my users to be able to connect to their Google account via OAuth2. As I use Electron,...
SinLey's user avatar
  • 57
7 votes
2 answers
3k views

Refresh Google OAuth2 Token Automatically

I'm trying implement a photo uploading to Google Drive feature (using the Google Drive API and GIS) into a web app that I'm working on, but can't seem to figure out how to keep a user authenticated ...
simplexshotz's user avatar
2 votes
4 answers
1k views

google identity services equivalent for googleUser.getBasicProfile()

I have a react app where I'm trying to migrate from using gapi.auth2 module in the Google API Client Library for JavaScript to the Google Identity Services Library. With gapi.auth2 module you could ...
rich_web's user avatar

15 30 50 per page