Implementing email/password authentication
In this recipe, we're going to demonstrate how we can implement password authentication from a really simple, widespread example scenario that is present in many different web applications. The following is a screenshot of the Firebase application supporting email/password authentication:

Figure 1: Basic application supporting email/password authentication
How to do it...
- In the previous figure, we saw a simple login page with
Email
andPassword
fields and another button for anonymous login. First, let's see the code behind it:
<div class="container"> <div class="jumbotron"> <div class="text-center"> <img src="img/firebase.png"> <p style="margin-top:-50px">Log in using your favorite method</p> </div> <form class="form-inline text-center"> <div class="form-group"> <label class="sr-only" for...