Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

google-signin

Use User-Defined build settings in custom .plist file

April 9, 2024 by Tarik
Categories ios Tags google-signin, ios, plist, xcode Leave a comment

PlatformException (PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 12500: , null))

April 8, 2024 by Tarik

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

Categories dart Tags dart, flutter, google-signin, googlesigninaccount Leave a comment

Where are the TypeScript type declarations for Sign in With Google (GSI) library?

April 6, 2024 by Tarik

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”]

Categories typescript Tags google-signin, npm, typescript Leave a comment

Authenticate programmatically to Google with OAuth2

January 7, 2024 by Tarik

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.

Categories java Tags google-oauth, google-signin, java Leave a comment

Is Google Sign-In a free or paid service? [closed]

December 28, 2023 by Tarik

Google Sign-in is free. No pricing.

Categories google-signin Tags google-signin Leave a comment

Google Sign-in not working in incognito mode

December 28, 2023 by Tarik

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

Categories javascript Tags angular, google-signin, javascript Leave a comment

Google OAuth2 not working on local development server – PHP Codeigniter spark

December 27, 2023 by Tarik
Categories php Tags codeigniter, google-signin, oauth-2.0, php Leave a comment

Did anyone manage to get the id token from google sign in (Flutter)

December 20, 2023 by Tarik

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’); });

Categories dart Tags dart, flutter, google-signin Leave a comment

Possible to test Google social login locally?

December 6, 2023 by Tarik

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

Categories oauth Tags google-oauth, google-signin, oauth, oauth-2.0 Leave a comment

Documentation for the automatic “Continue as” Google popup

November 24, 2023 by Tarik

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

Categories google-signin Tags google-identity, google-signin Leave a comment
Older posts
Page1 Page2 … Page6 Next →

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa