0

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
  • Sorry, i was hoping someone else would have a way, but I'll.accept your answer. Commented Mar 18, 2021 at 23:10

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.