Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

519
Views
How to recognize start of authentication flow in new Google Identity Services library?

While migrating to the new Google Identity Services client library, I noticed that there is no way to get notified when the authentication flow actually starts, i.e. when the user has clicked the Sign in with Google button. Such a callback, however, is needed to instruct other (React) components to reset their state, especially when performing multiple login attempts upon failure and mixing this with a password-based sign in or other social providers.

Previously, this was possible by overloading the button's onClick handler. This approach does not work anymore since the button will be injected as an iframe.

How can I now recognize when a user has clicked Sign in with Google?

See JavaScript API reference: https://developers.google.com/identity/gsi/web/reference/js-reference

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!