Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Does a valid email have to be used for Firebase authentication?

I would like to use Firebase Realtime Database for my university project, to store data from my Unity game. However, due to ethics concerns, I cannot ask users for an email/password so they can register and then sign up. So my idea was to generate a random email/password combo for the user, but I am not sure if the emails used in the functions CreateUserWithEmailAndPasswordAsync and SignInWithEmailAndPasswordAsync have to be real emails or if I can just make them up?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Is the email used in the CreateUserWithEmailAndPasswordAsync() and
SignInWithEmailAndPasswordAsync() methods have to be a real email?

The answer is no, you can use a fake email. However note that the user will not be able to use the forget password function.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading