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

92
Views
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
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!