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

141
Views
reaccionar firebase inicio de sesión con google

Estoy tratando de tener una autenticación para reaccionar con firebase. Cuando intento iniciar sesión, aparece el proveedor de googleauth, pero siempre está en blanco. Antes funcionaba pero ahora no funciona

 import firebase from 'firebase' import { auth } from '../firebase.js' import { Button } from '@material-ui/core' function SignIn() { function signInWithGoogle() { const provider = new firebase.auth.GoogleAuthProvider() auth.signInWithPopup(provider) } return ( <div style={{ display: 'flex', justifyContent: 'center', height: '100vh', alignItems: 'center' ,backgroundColor: '#e3e7ea',width: '100vw',}}> <div style={{textAlign: 'center',color:"#708090"}}> <h1>Chat it!</h1> <button className="btn" onClick={signInWithGoogle}>Sign In With Google</button> </div> </div> ) } export default SignIn
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Si dijo que estaba funcionando bien antes, intente

 signInWithRedirect

en vez de:

 signInWithPopup

Para ver si el problema es sobre el bloqueo de ventanas emergentes por parte del navegador o no.

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!