google-signin
PlatformException (PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 12500: , null))
The OP, @Mircea, specifically mentioned error 12500. This is how I overcame that error: I have spent the last few days running into the same problem. I refactored my code dozens of times, added break points, reset the SHA-1, SHA-256 and did just about every other ‘code’ based solution I could find. I was constantly … Read more
Where are the TypeScript type declarations for Sign in With Google (GSI) library?
An NPM package for accounts.google.com/gsi/client does not exist, at least not yet. The only way of using it is via script tag. In addition to @types/google-one-tap from jameshfisher’s answer, there is also @types/google.accounts. Both google-one-tap or google.accounts can be added to tsconfig types. tsconfig.json “types”: [“google-one-tap”, “google.accounts”]
Authenticate programmatically to Google with OAuth2
Check the OAuth 2 flow for Installed Application: https://developers.google.com/accounts/docs/OAuth2InstalledApp It still requires the user to authenticate with a browser the first time, but then you can store the refresh token and use it for subsequent requests. For alternative solutions, check the Device flow or Service Accounts, they are explained in the same documentation set.
Is Google Sign-In a free or paid service? [closed]
Google Sign-in is free. No pricing.
Google Sign-in not working in incognito mode
Angular is just javascript in a browser. So a user loading an angular app is being served a bunch of javascript from your server. If that server handles authentication with google-api, then your user only interacts with your server (albeit with a redirect to sign into google). This authentication flow doesn’t require 3rd party cookies. … Read more
Did anyone manage to get the id token from google sign in (Flutter)
You can try using this code: _googleSignIn.signIn().then((result){ result?.authentication.then((googleKey){ print(googleKey.accessToken); print(googleKey.idToken); print(_googleSignIn.currentUser?.displayName); }).catchError((err){ print(‘inner error’); }); }).catchError((err){ print(‘error occured’); });
Possible to test Google social login locally?
You can set “Authorized redirect URI” to local IP (like http://127.0.0.1/callback), it’s working fine for me. What really agonizing is that google don’t allow user to config an external IP (let’s say your server IP like 99.99.99.99) as “Authorized redirect URI”, google want the “Authorized redirect URI” to end with a public top-level domain (such … Read more
Documentation for the automatic “Continue as” Google popup
Edit (October 29, 2020): The first link is now working again (as pointed out by @ManSamVampire): https://developers.google.com/identity/one-tap/web Edit (November 9, 2019): It seems the links now lead to 404s. I can’t find any information about the disappearance of One Tap sign-in. Original Answer: I had the same question and found this (I Googled “google automatic … Read more