Member-only story

Customizing Authentication Error Message for Firebase in ReactJS

Bryant Jimin Son
2 min readJun 21, 2020

--

Firebase documentation is well documented. However, there are few documentation that definitely needs the improvement or needs some clarification. One of them is the error messages generated from Authentication.

Let’s say I have a code like this that creates a new user with email and password by following this doc:

In Line 11, I am printing out the message for debugging so that the error can be printed out in Google Chrome Dev Tool’s console window. Here is an example below:

Example of Firebase authentication error message

In the case above, we got “auth/wrong-password”, which is documented in the Firebase doc. However, what if we want to…

--

--

Bryant Jimin Son
Bryant Jimin Son

Written by Bryant Jimin Son

A cloud practitioner talking about technology, travels & career tips. But I will sometimes cover financial advises and some random stuffs.

No responses yet