Questions tagged [google-identity-toolkit]

Identity Toolkit is a complete authentication service for any site or app. By providing a secure authentication database and optimized sign-in flows, Identity Toolkit helps you get back to building the features that matter.

Filter by
Sorted by
Tagged with
1 vote
1 answer
44 views

How to access Google Cloud Token Service API with a Service Account?

I am trying to use this API through a service account. https://securetoken.googleapis.com/v1/token?key=[API_KEY] Reference: https://cloud.google.com/identity-platform/docs/use-rest-api#section-...
tonystrawberry's user avatar
0 votes
0 answers
23 views

Repeated calls to the Google Identity Plattform API blocks requests

I manage users of my API with Google Identity Plattform. To this end, I let users send their credentials (email/password) to my server which then sends requests to the identity plattform API for ...
user22998985's user avatar
0 votes
0 answers
48 views

How to get JWT Token through passwordless signin link

We (company A) are developing an App. We want to expose functionality of Company B in our App (Post / Get calls to their API). Requirements: Company B wants us to provide a solution that costs them ...
Jim Clermonts's user avatar
0 votes
0 answers
55 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 ...
Sumit Mishra's user avatar
0 votes
0 answers
25 views

Using Google Identity, What do I use instead of googleUser.getBasicProfile() to retrieve a user's email address and full name?

my question is regarding the deprecation of google api for googleUser.getBasicProfile() and what to use instead to get the user's information. I am setting an html webpage up such that a user can ...
HiddenSoftSheep's user avatar
0 votes
0 answers
18 views

Firebase Auth - Disable Register

Can we disable register without upgrading to Identity Platform. It looks quite expensive. If i understand correctly; We cannot disable new user register without Identity Platform upgrade and it costs ...
boorock's user avatar
  • 61
0 votes
0 answers
54 views

Why I get error with request to Google Identity Toolkit

I work with restAPI Identity Toolkit. I get good response with request POST https://identitytoolkit.googleapis.com/v1/accounts:sendOobCode but there is a parameter 'returnOobLink' by default it's ...
Edgar's user avatar
  • 61
0 votes
0 answers
63 views

How to solve "This document requires 'TrustedScript' assignment." issue in Wordpress custom theme? (child theme)

Working on custom child theme on wordpress that requires "Sign in with Google". AS per Google's recent update, we cannot fully customize the button provided by GIS (Goole identity service) &...
Ravi Wadhwani's user avatar
0 votes
1 answer
117 views

Error when enrolling user in MFA: "MFA is not available for the given first factor. (auth/unsupported-first-factor)"

I'm following the documentation here for enrolling a user in MFA in firebase in a React/Firestore project. I use passwordless sign in to verify all my users' emails when they create their account. ...
Josh M.'s user avatar
  • 387
0 votes
1 answer
153 views

Rate limit the API method sendverificationcode in Identity Platform

Is there a way to rate limit a certain method for the Identity toolkit API. I want to limit the following API, as I am incurring heavy usage costs from OTP requests. POST identitytoolkit.googleapis....
Rahul Jain's user avatar
6 votes
2 answers
1k views

Unknown OTP requests from Lebanon in firebase auth

I am using firebase phone authentication in a website and react native application. We are getting an ~1,200-1,500 unknown sms sent in our firebase dashboard. None of these get verified, but we are ...
Rahul Jain's user avatar
0 votes
0 answers
53 views

How to use Google identitytoolkit to authenticate user without getting username and password

I'm trying to authenticate a user in my Android App using Google's identitytoolkit. The identitytoolkit is in use and provided by a third party App. Legally speaking we're not allowed to get the user'...
Jim Clermonts's user avatar
0 votes
0 answers
43 views

Getting confusing error for Identity Toolkit mfaEnrollment.start request

After following the docs here, I am getting the below error. This error does not make sense as I am using the exact same access token creation process as I am for GIP tenant creation and it works just ...
NoTroutAboutIt's user avatar
0 votes
0 answers
77 views

Firebase Phone Auth Error : OPERATION_NOT_ALLOWED for some regions

I have been using Firebase Phone Auth since couple of months and my users base in mainly from india and other middle east nation, feature was working find till couple of days suddenly stopped working ...
ShravaN's user avatar
  • 126
0 votes
0 answers
152 views

How to change "localhost" to app name in Google Identity Toolkit API SMS verification?

I'm using the Google Identity Toolkit API on my backend to generate a reCAPTCHA sitekey using the getRecaptchaParams endpoint. I pass the recaptchaSiteKey to the front end, which is built with Vue ...
Muhamad Amin Apple's user avatar
0 votes
0 answers
197 views

INVALID_APP_CREDENTIAL for GoogleIdentityToolkit API

I am using firebase phone authentication feature for web. I have implemented it by using javascript sdk. It is working unexpectedly from last few days. When I am requesting to send verification code ...
Prashant Kumar Mishra's user avatar
0 votes
0 answers
115 views

Firebase Auth / Identity Toolkit: Is there an official way to check if an OOB code is valid?

I am building a reset password process in my Rails app and using Firebase Auth's email templates by replacing the default URL with my app's domain. While using the oobCode, everything is working ...
AlanMendicutti's user avatar
0 votes
0 answers
73 views

Google Identity toolkit sned verification code

while integrating identity toolkit send verification code i get response with status 200 but the sms is not sent to the phone number sent to the api request. POST https://identitytoolkit.googleapis....
Fady Tarek Shawky's user avatar
3 votes
0 answers
60 views

Firestore VPCSC_CHECK_FAILED when trying to login using firebase

We use firebase for authentication. When users signs in the app, he gets successfully login on frontend (using signInWithEmailAndPassword), but the https://securetoken.googleapis.com/ api returns 403 ...
Sahil Gupta's user avatar
0 votes
0 answers
141 views

Google Identity Platform - Verification Code Text language

I'm using sendVerificationCode API (with the recaptchaToken paramter) to send OTP SMS to my device. However, I'm always receiving text messages in English. How do I specify the language code for an ...
Marek Gocał's user avatar
0 votes
2 answers
255 views

.then not waiting for resolve from Promise

I am using Google Identity Services to setup login for my webpage. I am doing API calls in a async function which returns a Promise resolve but the .then function is executed even before the Promise ...
Vivek Y V's user avatar
0 votes
0 answers
173 views

Identity Toolkit signInWithPassword API Rate Limit

My system uses Firebase Authentication's Sign In with E Mail and Password. But i uses sms code for two factor authentication. users emails are their phone number. For example: +90 5xxxxxxxxx@example....
Fatih Dursun Üzer's user avatar
0 votes
0 answers
121 views

Google Identity Services Sign In using Google button behavior

I am using Google Identity Services with Sign In button for web application. I have a something, which I need if it is a problem or not. The case is the Sign in button is not getting updated ...
Hanaa Gebril's user avatar
0 votes
1 answer
544 views

Enable email enumeration protection Error 403 in Firebase (Google Cloud Platform)

I'm trying to set the enumeration protection on a firebase project, so I was following this documentation to guide me: https://cloud.google.com/identity-platform/docs/admin/email-enumeration-...
Gustavo Steinmetz's user avatar
0 votes
0 answers
88 views

Add idToken generated by identitytoolkit.googleapis.com api to firebase javascript web client

My platform sends out links to phone numbers; when a user opens the link I need to verify that the person opening the link has access to the phone number that received the link. I send the access code ...
ALEXANDER SAVENOK's user avatar
2 votes
0 answers
363 views

Google Identity Platform Authentication using OIDC (in Dart/Flutter)

I need some assistance setting up OIDC auth in Google's Identity Platform. I have setup Oauth2 authentication before, but this is slightly different, and I feel like I'm missing something basic, and ...
Grey's user avatar
  • 331
2 votes
1 answer
2k views

How does new Firebase Authentication billing work?

My app supports only login via Email/Password, Google, and Facebook using Firebase Authentication. Inside the Authentication -> Settings tab, Firebase said to me "Upgrade to Firebase Auth with ...
Taha Sami's user avatar
  • 1,615
0 votes
1 answer
143 views

GCP signed JWT kid does not exist (disappeared) from googleapis.com/robot/v1/metadata/x509/my-service@**-**.iam.gserviceaccount.com, JWT is invalid

We have a flow where we sign JWT tokens using python GCP IAMCredentialsClient the following way: def sign_jwt(self, payload, aud=None): """ @param payload: @param aud: ...
Tal Borenstein's user avatar
4 votes
2 answers
957 views

Identity Toolkit API config returns "CONFIGURATION_NOT_FOUND"

I am trying to enable Firebase Authentication in my project, and to add Phone Auth to it, via API (without using the GUI console). I am using the Service Usage API in order to enable Identity Toolkit, ...
F.SO7's user avatar
  • 745
2 votes
0 answers
820 views

problem with Google identity sign-in with redirect (server-side)

I've been trying to update Google sign-in button on my website from old javascript method to new identity library, it works fine when I use callback function but the redirect option (for server-side ...
Cyrus's user avatar
  • 21
3 votes
0 answers
618 views

Firebase - sendVerificationCode API

I am trying to authenticate the user with phone number using firebase through sendVerificationCode API. It is expecting phoneNumber and either of (iosReceipt and iosSecret) or recaptchaToken or ...
Mohan's user avatar
  • 1,184
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 ...
codedread's user avatar
  • 1,332
0 votes
1 answer
768 views

Create React app - React.js- Browser throwing CORS error when using Firebase Auth REST APIs

In my React.js app, I was implementing authentication using Firebase REST AUTH APIs. https://firebase.google.com/docs/reference/rest/auth#section-create-email-password My code looks like this: export ...
Prathamesh More's user avatar
7 votes
1 answer
688 views

CORS issue only when revoking Token by calling (Google Identity Services) GIS's google.accounts.oauth2.revoke

I am trying to invoke GSI Javascript google.accounts.oauth2.revoke method. Under the hood it sends a request to https://oauth2.googleapis.com/revoke. However there is CORS issue: await new Promise(r =&...
Luke Vo's user avatar
  • 18.6k
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 ...
codedread's user avatar
  • 1,332
0 votes
1 answer
730 views

sendOobCode Google Identity Platform

I'm trying to use Google Identity platform api's with my firebase project ( I configured a payment method to use the identity platform sendOobCode and sendVerificationCode methods. But I keep ...
Ibra's user avatar
  • 960
1 vote
0 answers
188 views

How to get user email using Google Identity Services SDK in html & javascript

I am trying to use Google Identity Services SDK for sign in. How can I get a user's email? I have been searching the web, but couldn't find anything... <!DOCTYPE html> <html> <head&...
Usq's user avatar
  • 11
1 vote
2 answers
534 views

Identity platform auth blocking function deploy in typescript

I am trying to write an auth blocking function to prevent users creating accounts from the client side in google identity platform. I have written it in typescript but I am struggling to deploy it ...
h11's user avatar
  • 128
0 votes
0 answers
379 views

How do I use a unique Action URL for each Identity Platform tenant when generating email action links with the Firebase Admin SDK?

I'm using Google Cloud Platform's Identity Platform product in multi-tenancy mode. I have one GCP project with two web apps and each app has a tenant in Identity Platform: Tenant A with the tenant ID ...
anothermh's user avatar
  • 10.1k
1 vote
1 answer
365 views

How do I migrate to hashed Firebase passwords?

I have an existing client, which calls a server, which in turn calls https://identitytoolkit.googleapis.com/v1/accounts:signInWithPassword With that, client POSTs to the server (and server, to ...
Irina Rapoport's user avatar
3 votes
1 answer
3k views

Google Identity Services implement manual and automatic signout function

I'm using Google's Identity Services for the Signin button: https://developers.google.com/identity/gsi/web/guides/personalized-button Now once a user logins to my website via Google I also trigger my ...
Adam's user avatar
  • 6,171
1 vote
2 answers
442 views

Can we enable 'Sign in with Google' for Google Identity Platform multi-tenants programmatically?

As a B2B SaaS provider, we currently create and manage tenants from Google Identity Platform. As we expect to grow, we would like to automate the tenant creation flow with Sign in with Google. However,...
thanks.gaga's user avatar
1 vote
1 answer
394 views

Firebase Auth - Passing REST response to JS SDK to log user in

I wanted to check if there is a way to obtain user login info from the REST API first, then hand that result over to the Firebase JS SDK as if I used the SDK method to sign the user in? Using the REST ...
David Min's user avatar
  • 1,247
1 vote
2 answers
960 views

Assign users to a group in Google Cloud Identity Platform

Is there a way to assign users to a group in Google Cloud Identity Platform. For example : I have 5 users in my Google Cloud Identity Platform. Now I want to group all these 5 together so that in ...
code tutorial's user avatar
0 votes
1 answer
1k views

Alternative of user pool of cognito [AWS] in google identity platform [GCP]

AWS Cognito has a concept of userpool and each pool has its app clients. We are trying to implement the same in GCP and found that Google Identity platform is an alternative to cognito. But I am not ...
code tutorial's user avatar
1 vote
1 answer
763 views

Does Google Identity Platform support encrypted SAML assertion?

We're using Google Identity Platform (Firebase Authentication ft. Google Identity Toolkit) as IDaaS, mainly for SAML 2.0. When an IdP returns an encrypted SAML response assertion, Identity Toolkit ...
Henoc Díaz's user avatar
1 vote
1 answer
638 views

Is there a way to sign a Firebase custom token using a service account from a different project

I would like to use signInWithCustomToken to a secondary project using a token signed by a service account from a primary project. At the moment I get "Error: The custom token corresponds to a ...
Tom Larkworthy's user avatar
3 votes
0 answers
962 views

"An account already exists with the same email address" without a switched account

I'm experiencing a very weird issue with the Firebase Auth using Facebook. A month ago I've created a test user in Facebook to log in with like I always do, when I try to use it now, I get this error: ...
S. Roose's user avatar
  • 1,467
2 votes
0 answers
1k views

Unable to configure SAML Single Logout url in Google Cloud Identity Platform SAML provider

We are using SAML provider in GCIP (SP) to integrate with Salesforce as external IDP. Our web application authentication happens via Firebase app (google identity toolkit proj) and works as expected. ...
tronline's user avatar
  • 117
2 votes
0 answers
255 views

Google Identity Toolkit v3 Email enumeration through reset password functionality

When using the Google identity toolkit with angular and a node backend I stumbled upon the following problem. There is the Password Reset Function to reset a user password and the request is directly ...
Avasdream's user avatar

1
2 3 4 5