I've made a page that allows sign in using Firebase. But our tester is raising a security concern about adding too much information in these messages - we want to have a generic error instead ("Invalid email or password") rather than saying "Invalid email" and "Invalid password" to prevent malicious parties knowing which emails are registered. Is there any ways to change the errors generated from the Firebase system?
1 Answer
You can't change the error messages generated by Firebase. The only way to control messages that the user sees while still using Firebase Authentication would be create your own custom provider and then raise messages from there.
You might want to file a feature request for this, although there's no guarantee it will be implemented in a timeframe that suits your project.