Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

140
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda