A Firebase authentication recipe
We can leverage our current authentication setup and integrate it with a real authentication service. For this section, you need a free Google and Firebase account. Firebase is Google’s comprehensive mobile development platform: https://firebase.google.com. You can create a free account to host your application and leverage the Firebase authentication system.
The Firebase console, found at https://console.firebase.google.com, allows you to manage users and send a password reset email without implementing a backend for your application. Later, you can leverage Firebase functions to implement APIs in a serverless manner.
Start by adding your project to Firebase using the Firebase console:
Figure 6.8: The Firebase console
- Click on Add project.
- Provide your project name.
- Enable Google Analytics for your project.
It helps to create a Google Analytics account before attempting this, but it should still...