Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

208
Vistas
Best practice to detach email from firebase user logged in with phone and email?

I am working on a project with firebase and I want to detach the email from a user that is authenticated with phone + email/password. I am trying to use the unlink method for purpose. However, as I was to find out, this method is not intended to detach the email from the user, but only to remove the password. That would be quite a problem, because not only will the removed email still show in the user's A account, but also any other user B will not be able to use the same email in the future (this would be rare, but it's a problem). One solution I found interesting is to updateEmail and set it to undefined or update profile and do the same thing. Problem is firebase complains about that.

Therefore I am wondering what is the best practice to detach an email address from a user that is also logged in with a phone number? Is this best done by a cloud func?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda