So far, all the implemented user stories in the app are public and available to all users; now we are going to implement some personalized user stories of the app. Before adding personalization features, we need to add basic support for user management. Implementing user management is a task we must do, but it’s a tedious task for developers.
Although there are a lot of high-quality open source libraries in different programming languages to handle user authentication, we still need to integrate those libraries with app code and manage back-end storage. It’s also very common for an app to allow users to log in using third-party providers, for example, Google or Facebook.
To support this scenario, more libraries need to be integrated, which makes user management a harder task to finish. Firebase provides an easy integration with user authentication for the web and mobile apps. Firebase manages user authentication data, so we don’t need to manage the storage ourselves. Firebase also supports logging in with third-party providers, including Google, Facebook, Twitter, and GitHub.
To support user management, we need to add UI for users to sign up and log in. This requires us to use form controls and other UI components. After reading this chapter, you should know how to integrate Firebase user management with Ionic apps. We start from these Ionic UI controls.