0

Let me explain first what approach I am using while implementing that web chat When user signup on my website, I create his account on firebase using following things

  1. email: user email password
  2. List item

when User sign in next time I pass user email and own created password to firebase to signin him to firebase too. and then whole process for the chat begins.

Now I have one question that our apiKey, authDomain, databaseURL, storageBucket are already exposed in javascript code and we are again exposing email and password in javacript code for signing the user in firebase. so isn't a loophole?

I hope you got my point so please if I am doing it wrong kindly guide me to how to use it properly.

Thanks in advance.

AL.
  • 36,815
  • 10
  • 142
  • 281
Saim Abdullah
  • 174
  • 14

0 Answers0