Skip to main content
← Data, API & Backend
Data, API & Backend July 6, 2021 · 3 replies

Firebase error messages

Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.

I have implemented Firebase authentication using the guidelines from the Bravo documentation. There are two aspects of this that I have not found a solution to. Both occur when the user enters an incorrect userid or password.

I am seeking help with ...

  1. The message displayed on incorrect authentication shows as a toast style notification near the bottom of my screen. The message is visible for a few seconds and then it disappears. How can I keep the message on the screen? And
  2. How can I replace the default text from Firebase with my own error message?

As a bonus ... I'd like to relocate and style the text of these messages.

3 replies

Javier Felipe Bravo team July 7, 2021

Hi ,

At the moment it's not possible to customize these login error messages, but we take note of your request for future improvements of the authentication feature!

Cheers :)

Bill July 7, 2021

I suppose, then, the answer for me is to write an API that handles the security. BTW. I don't see a way to automatically reset the authorization token ... that means that once the app is published, the authorization token is static unless the app is republished. Do I have that right?

Javier Felipe Bravo team July 13, 2021

For Firebase, an access_token is created each time a user logs in, and this token is refreshed from time to time when it expires using a refresh_token, all this is transparently done by Firebase.

Wrote something in this thread and want it removed? Request removal

Still stuck?

Ask the community on Discord

This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.

Join the Discord