In the previous chapter, we connected our ProFitOro application to the real-time database. Whenever a user updates the Pomodoro timer settings, these are stored in the database and immediately propagated between the components that use them. Since we had no authentication mechanism, we had to use a fake user in order to be able to test our changes. In this chapter, we are going to have real users!
We will use the Firebase authentication API in this regard. So in this chapter, we are going to do the following:
Discuss the meaning of AAA and the difference between authentication and authorization
Explore the Firebase authentication API
Create a page for sign-in and login, and connect it with the Firebase authentication API
Connect the user's settings with the user's authentication