Questions tagged [google-identity]
The Google Identity Platform consists of identity tools from Google to help you quickly build an authentication system for reducing the friction of getting users into your app.
492
questions
0
votes
1
answer
26
views
How to only require 2FA on certain pages with firebase
I'm making a website that requires the user to log in with email and password to see most the site, but also requires two factor sms authentication when trying to visit a certain high security page.
I ...
0
votes
0
answers
46
views
Google Drive Picker API asking for consent everytime even in the same session in authorization code flow approach
The client side implementation is currently this
function initClient() {
client = google.accounts.oauth2.initCodeClient({
client_id: CLIENT_ID,
scope: SCOPES,
...
0
votes
1
answer
55
views
Google sign-in how to logout without revoking user connection
on the new Google identity API, I can not find documentation as to how to log-out a user besides using the revoke method
What is the method of just logging out a user, without breaking the connection ...
0
votes
1
answer
47
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" ...
0
votes
0
answers
49
views
How to get all sign-in attributes while authenticating using SAML through firebase?
React app is using firebase for SSO authentication with SAML
Example code -
export async function signInWithRedirectToProvider(providerId) {
const auth = getAuth();
const provider = new ...
0
votes
1
answer
52
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";
...
0
votes
0
answers
53
views
When using Google signin, can I redirect to the sign-in page directly, avoiding the need for a sign-in button?
I am using "Sign-in for Google with Web" to let users sign into my app using their Google account. (as documented at https://developers.google.com/identity/sign-in/web/sign-in).
At the ...
0
votes
0
answers
90
views
Firebase User Account Linking does not work with Apple SignIn
I am using Firebase User Account Linking with Firebase Auth on Flutter. When an account with email address x already exists and the users signs up with google sign in and the same email address, ...
0
votes
1
answer
199
views
Google one tap login popup pops even if user is signed in
Angular 16
I want to block/disable google's one tap login popup when user is already logged in.
I get login popup on whenever I refresh or save changes in code(auto reload) until I manually close it ...
0
votes
1
answer
145
views
No regions displayed in the dropdown when setting up external identities for IAP backend service on Google Cloud
I'm trying to set up Google Identity-Aware Proxy (IAP) to use external identities. However, when I try to choose a region during the process, the dropdown shows "No items to display" and ...
0
votes
0
answers
70
views
How to setup google identity provider with fastapi using cognito, I have done required setup with aws and google developer console
It's really confusing to use google identity data to create user at the AWS cognito end. The process of using cognito boto3 client for google identity is confusing in a sense. There is no clear ...
1
vote
0
answers
34
views
Cannot change default scopes requested by Google Identity Platform for OIDC
We have an identity provider based on OpenID connect which we want to use in Google Identity platform (GIP). The owner of this identity provider allows only the scopes openid and email. So we ...
0
votes
0
answers
68
views
Include OpenID Connect claims to Firebase sign-in attributes
We are using Google Identity platform as an Identity provider, and we currently have two providers:
Email / Password
SAML (SSO)
We use it only as authentication. Once the user is authenticated, we ...
1
vote
0
answers
37
views
Multi Tenant linking account after default tenant
We are transitioning to a multi tenant setup on firebase auth. The issue is our default tenant already has the base accounts I need to link with since the uid is tied to all the records on our ...
0
votes
1
answer
94
views
android-safetynet attestation replacement in webauthn after deprecation
android-safetynet attestation format is provided in webauthn in both browser API or FIDO2 Api for Android. Since safetynet API will be deprecated soon, what will be the replacement of safetynet ...
1
vote
0
answers
48
views
Default Firebase reset password email generates a malformed URL
I'm trying to reset the password for a Firebase (with Identity Platform) user. I am getting the email, but the URL for the link is missing everything before the ? (this is true for both the text and ...
0
votes
0
answers
50
views
How to send an 'email address change' email using a custom template
I am trying to brand the "email address change" email using a custom template.
However, I am having trouble figuring how to do this. All the methods to update a user's email, user....
1
vote
1
answer
108
views
Auth0 "Custom Social" for Google fails with "Invalid user id."
I setup Auth0 and Google credentials and had it working using the free trial period within Auth0. this is for a side-project so I need to switch to the free tier "Custom Social" Auth0 logins....
1
vote
0
answers
808
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
1
answer
102
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
0
answers
67
views
How does offline/persistent access with Flutter/Firebase/Google Identity work?
I have poured through documentation and countless attempts for weeks and months now to try and connect the dots in the Authentication and Authorization process for a Flutter application requiring ...
0
votes
0
answers
77
views
Does Identity Platform Multitenancy not support authentication via phone number?
I'm experiencing difficulties implementing phone number authentication with the Identity Platform under a multi-tenant setup. When I specify a tenant from the Identity Platform dashboard, I seem ...
0
votes
0
answers
66
views
What are the best practices for creating access tokens from Google Identity token for my custom services?
I am updating an old app to use Google authentication for sign in, it would be restricted with HD claim for a specific domain. I have no problem getting the ID token and verifying it using the google ...
1
vote
0
answers
316
views
How to handle login/logout using @react-oauth/google
I am developing a side project that allows a user to login with Google and access/manage their Google Books content.
So far, I have Sign in With Google working via @react-oauth/google. Here is the ...
0
votes
0
answers
27
views
Query regarding recommended implementation for single sign on
So I have been trying to figure out how to build a b2b integration to allow Single sign on with google .
With microsoft we managed to pull it off with open id connect [ considering its the shiny new ...
0
votes
1
answer
238
views
Firebase Auth - Use Microsoft OAuth AccessToken to access Firebase Rest API
I'm currently trying to use a microsoft access token to access my firebase api (and find out the userid within firebase-auth / google identity platform. Calling https://identitytoolkit.googleapis.com/...
0
votes
1
answer
62
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
votes
1
answer
35
views
401 error with external users when using google identity services implicit flow
I have a web app that uses Google Identity Services and using the example for implicit flow at https://developers.google.com/identity/oauth2/web/guides/migration-to-gis#gis-only I was able to ...
0
votes
0
answers
263
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/...
0
votes
0
answers
136
views
Issues creating Google Web Signin with PHP
I've been trying to follow the documentation on googles websites for the new identity web-signin, and although I've been successful in getting something to work (I really don't know how it's supposed ...
0
votes
1
answer
472
views
Is it possible with Firebase Authentication to have a single user across more that one tenant?
We are trying to implement a multi-tenancy solution with Firebase. What we want to understand is if it is possible to have a single user that is registered on more that one tenant, so the login flow ...
0
votes
1
answer
735
views
Google OAuth Sign In button does not render in Vue 3 using Vue Router
Problem
I'm trying to create a Google Sign In OAuth button in my Vue 3 app with Vue Router by following the official Google Docs: https://developers.google.com/identity/gsi/web/guides/display-button
I ...
0
votes
0
answers
105
views
Manifest v2 is being deprecated while Google ask Google Identity Services to be used on Manifest v2 only
First thanks to all SO members for growing the coder inside me that I am able to articulate my thoughts only after doing some homework on my own.
Query: This seems like a contradictory statement from ...
0
votes
0
answers
131
views
How to get efficiently google user personal data and access token
I'm trying to intagrate my Vue.js (v.2.6.11) application with the Google Identity Provider according to the recent recommendations (usage of Google Indetity Services For Web). The goal is to once the ...
1
vote
0
answers
239
views
How to extend user session when Google Identity Token expires after 1 hour?
I am successfully creating and using a JSON Web Token based on the documentation available at https://developers.google.com/identity/gsi/web/guides/overview.
<html>
<head>
<...
0
votes
0
answers
97
views
signing in with external emails on a SAML App configured in Google's admin console
My question is as follows:
can an external user from my organisation be authenticate with a SAML App I have configured the google admin console?
Why I'm confused:
There is the Identity Platform which ...
0
votes
0
answers
118
views
How can I check if google.accounts.id.initialize() method has already been called?
On Google Identity we are using google.accounts.id.initialize().
We would like to check if the initialize() method was already called once. Is there a way to check that?
We tried to initialize in the ...
0
votes
2
answers
425
views
Invalid Firebase Email/Password Auth Handler (missing providerId)
After using createUserWithEmailAndPassword from firebase/auth, Firebase sends a verification email to the user. The verification link successfully verifies the email, but instead of redirecting back ...
2
votes
0
answers
73
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
0
answers
64
views
Vue 2 - Can a Global function access local variables or functions? (Google Identity SSO)
I am using the new Google Identity SSO and, from other posts, am using globalThis for the callback function so that the data-callback function defined in ... div id="g_id_onload" ... does ...
0
votes
1
answer
91
views
Error when Using google PHP API library to retrieve user details
I get an error when trying to fetch user details from my 'Google_Client' object created from new Google_Client(['client_id' => $CLIENT_ID]);
This is the code i used;
`
require '/home/nowvibac/...
1
vote
0
answers
183
views
Google Cloud Platform before user created function not showing up in firebase auth/gcp identity to register
Context
I have created a cloud-blocking function (beforeUserCreated) through the Firebase CLI (and the v2 identity Firebase API), this has deployed successfully and can be seen on both Firebase and ...
0
votes
0
answers
174
views
Google Identity with vue 3.0 example
I would like to use Google Identity to authenticate users on a vue.js 3.0 web app and use a JWT token to authenticate on a downstream REST API. I
see a handful of examples do this, but they are ...
2
votes
1
answer
156
views
[GSI_LOGGER]: The given origin is not allowed for given client ID. Although my domain is authorised JS origin
I've implemented Google OAuth2 using the new Google Identity Services SDK using React @react-oauth/google, but it throws this error.
[GSI_LOGGER]: The given origin is not allowed for the given client ...
0
votes
1
answer
468
views
Why does Google Identity Platform REST API not recognize my (Firebase) Provider API Key?
I have setup GCP's Identity Platform with the "Email / Password" Provider. I have created a User record for test purposes and was able to sign in with this user.
I am now trying to sign in ...
0
votes
0
answers
139
views
Does Firebase with Identity Platform supports OIDC providers that use private_key_jwt as client auth method?
I am trying to setup a new OIDC provider using Identity Platform but there is only option to add client secret when creating new OIDC provider. The identity provider I am trying to setup supports ...
0
votes
0
answers
59
views
Flutter web deletes everything after (and including) the hash symbol in a url
I am working with google identity services. This is an example of the url of the google services:
https://accounts.google.com/o/oauth2/v2/auth?redirect_uri=http://localhost:8080&prompt=consent&...
0
votes
0
answers
59
views
Nuex3 Google Identity (button): Uncaught (in promise) ReferenceError: google is not defined
I tried to implement the new standard from Google as explain in my previous thread (Google identity/button data-callback does not get trigger in Nuxt3). I managed to make it work, but, after a while (...
0
votes
0
answers
61
views
How to open google identity services modal in Flutter web without a library
I need users to be able to allow app the access to some of the google apis in my Flutter web app. I have found some libraries but they don't suit my needs, so I wanted to make the requests manually, ...
-2
votes
1
answer
109
views
Integrating Google Login Button on web app fails at verifyIdToken() step
I am trying to integrate with Google Identity Services using the Google login button on a web app built with PHP. I am able to get the button to show and even receive the post with the token. But when ...