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

1.1K
Views
{error: 'popup_closed_by_user'} al usar react-google-login

Estoy usando react-google-login para iniciar sesión en los usuarios con su cuenta de Google. Cuando terminan de iniciar sesión y son redirigidos hacia atrás, aparece un error en la consola.

 {error: 'popup_closed_by_user'}

Estas son mis funciones a continuación:

 const onSuccess = (response) => { console.log('Login Successful', response) } const onFailure = (response) => { console.log('Login Failed', response) }

Mi botón de Google

 <GoogleLogin clientId={clientId} render={renderProps => ( <button onClick={renderProps.onClick} disabled= {renderProps.disabled} className="btn mt-5 btn-google btn-user btn-block"> <AiOutlineGoogle className='scIcons inline' /> Login with Google </button> )} buttonText="Login" onSuccess={onSuccess} onFailure={onFailure} cookiePolicy={'single_host_origin'} isSignedIn={true} />

Por favor necesito ayuda con esto.

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