0

I'm creating a flutter app with firebase. I've added as one of my auth method, google sign in. But if I register with the same email with an email and password, and then sign in via google with the same email, firebase will change the provider of the user from email and password to google and when you'll try to login with email and password, the older password will not be vaild any more and you'll have to go through a password reset process. How can I prevent firebase from changing the user provider?? Or how can check if this email is already registed in my firebase project (with the same email of course)???

ofer026
  • 43
  • 1
  • 1
  • 5

1 Answers1

1

Under authentication -> sign in methods
Activate: One account per email address.

enter image description here

enter image description here

lenz
  • 2,193
  • 17
  • 31