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

282
Vistas
How to add a DisplayName for a user when they create their account with firebase?

When the user signs up the display name doesn't save.

I tried to make a login system and all works fine until the displayName (see below).

Can anyone tell me what I am doing wrong?

function signUp() {
    // Fetching value from a html input fields with id
    const email = document.getElementById("email").value;
    const password = document.getElementById("password").value;

    // Fetching additional informations
    const displayName = document.getElementById("displayName").value;

    // Performing Sign Up Operation
    firebase.auth().createUserWithEmailAndPassword(email, password);

    user.updateProfile({

        displayName: displayName

    });
};
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