16 thoughts on “Ionic 5|4 Firebase Authentication using Email & Password for Login and Registration of Users”

  1. AbdulAzeez Olanrewaju

    Thank you very much. how can we implement onAuthStateChanged() function, because when you refresh, the Your {{userEmail}} = undefined. but it is still logged in

  2. Great article! I have one doubt: if after successful login (with email or some OAuth provider) I need to integrate with a backend, I have to call firebase on all my requests on backend or I can check once and issue a JWT token and use that token for the other calls?
    Keeping in mind I don’t want to use other firebase’s services, just Auth.

    1. Hi Marcos, thanks for asking and sharing with others 🙂

      JSON Web Tokens(JWT) is the preferred approach, which you can use for authentication on every server API call while saving user and token details on the client side using sessions. As making firebase authentications, again and again, can prove costly in terms of quota available.

Leave a Comment

Your email address will not be published. Required fields are marked *