All Questions
Tagged with google-identity javascript
77
questions
0
votes
1
answer
68
views
Send events to Google Tag Manager when Google Sign-in button is clicked
I'm working on implementing custom events in Google Tag Manager for my website, and it’s mostly going well — except for one issue. I'm trying to trigger a GTM event when the Google Sign-in button is ...
0
votes
0
answers
58
views
Google authentication not visible on mobile devices
Well, basically I'm working on a login for an access control I'm working on so I ended up with Google API, and since I'm new to this I have had a lot of troubles, currently I'm really happy because I ...
1
vote
1
answer
187
views
Content Security Policy: The page’s settings blocked the loading of a resource
I have implemented Google Sign-In button in a ReactJS web client.
After successful sign-in the page fails to get redirected from "https://accounts.google.com/..."
back to my web-client URL ...
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,...
0
votes
1
answer
101
views
How to implement Google identity services library in React?
This would be my current code and it stopped working:
import React, { Component } from "react";
import Auth from "../../helper/auth";
import PropTypes from "prop-types";
...
2
votes
0
answers
1k
views
Cross-Origin-Opener-Policy in Google identity Authentication
I am using Google Identity authentication without any library (using only pure JS and html). I followed step by step guide in https://developers.google.com/identity/gsi/web/guides/overview . When I ...
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 (...
0
votes
1
answer
117
views
When Using Google identity services for Authorization code Flow - client.requestCode() Method is Undefined
When using the google authorisation code flow as mentioned in https://developers.google.com/identity/oauth2/web/guides/use-code-model#popup-mode
client = google.accounts.oauth2.initTokenClient({
...
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/...
3
votes
0
answers
93
views
Using Google Identity Services to access the Photos Library API
I have been at this for a while, and even ChatGPT was lost :-P ... I am trying to write a simple "client web app" that will simply list all photos in an account. Most samples and code ...
0
votes
1
answer
428
views
How to include Google IDP in custom Cognito UI (JavaScript)
I'm trying to recreate the AWS Cognito Hosted UI in JavaScript (as I need I18N). I use the AWS JavaScript SDK V3.
My solution works fine with username/password logins. But I'm stuck with including ...
0
votes
1
answer
1k
views
Google gapi/platform.js library deprecated: how to use gapi.client.classroom?
Google is deprecating its gapi/platform.js client from end of March 2023.
We are using the gapi client to interact with the Google Classroom API, first to set the required scopes (including classroom....
0
votes
2
answers
320
views
authenticate bigquery javascript api
I am putting together a web app where I would like to display some bigquery data on my webpage
However, I am having trouble setting up the authentication for bigquery's javascript api. Most of the ...
1
vote
1
answer
784
views
Prevent Google One Tap to show on some pages
I am using both Google One Tap and Signin with Google button in my site. Google One Tap is showing on all pages and Signing with Google button is visible only on the login page.
I am initializing both ...
2
votes
1
answer
992
views
Returning an ID Token via Googles JavaScript GSI SDK
I'm currently integrating a frontend with a 3rd party backend that offers sign-in with social media. I'm using the Google JS SDK https://accounts.google.com/gsi/client which works fine with the one-...