Authentication
In this lesson, we'll learn how to authenticate the user with Firebase.
We'll cover the following
Authenticating a user is simple. You’ll find that the process is similar to signing up a new user. There’s a method called signInWithEmailAndPassword
that will take care of communicating with Firebase. More information about the method can be found here.
Service method
We’ll want to define a method in our service to send the request to Firebase. In the auth.service.ts
file, we’ll define a method called signIn
.
Get hands-on with 1400+ tech skills courses.