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

143
Views
Sign in with Google - Customize button appearance

Using the new JS client library for Sign in with Google, I can't find a way to start a sign-in flow without rendering the button, and the button can't be customized enough to align with the aesthetics of the site.

Is there any way to trigger the auth flow without the button? For example:

// instead of:
window.google.accounts.id.renderButton(divRef.current, {
        theme: 'outline',
        size: 'large',
        width: divRef.current.clientWidth,
        text: 'continue_with',
      });

// I want something like:
window.google.accounts.id.authenticate();
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Typically, user's must press a button to begin sign-in. However, you might want to check out Automatic sign-in by setting auto_select: true in google.accounts.id.initialize(). For returning users, this feature will automatically sign them in after a small delay to allow the user to cancel sign-in. This can help avoid the need for a button press and might be useful to avoid nagging users to sign-in when visiting multiple deep links within your site.

about 4 years ago · Juan Pablo Isaza Report
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!