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

93
Visualizações
Firebase Authentication Security question

I use Google's reference for Email/Password authentication https://firebase.google.com/docs/auth/web/password-auth?authuser=0#web-version-9 in my React - Redux - Saga project.

Is it okay, that Firebase's createUserWithEmailAndPassword() function takes in password value as the third argument?

My Firebase code looks like this:

export const fbSignUp = async (email: string, password: string) => {
  try {
    const newUser = await createUserWithEmailAndPassword(auth, email, password);

    await setDoc(doc(db, "users", newUser.user.uid), {
      email,
    });
  } catch (error: any) {
    alert(error.message);
  }
};

In my input element I set type attribute to Password, but when I console.log(password) in the function above, it displays it in a raw style (without any coding or encryption).

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