0

hey there i have encouter a problem with my signup form. everything works perfectly but when i try to sign up with an existing email i can see error coming out on console and there my api key is prited.the sample screenshot is here

how can i get rid of this thing bcz api key is sensitive..

here is the screen for the code i wrote for submitHandler. i tried without async using .then.catch but the result is same Code is here

Shyam
  • 23
  • 3
  • 1
    The firebase api key is meant to be public. You don't need to hide it. Security is enforced by things like Firestore security rules or App Check, not by the api key. – Nicholas Tower Oct 29 '21 at 04:50

0 Answers0