User authentication is an essential component of most apps. It allows you to identify your users and provide a unique experience for them. Logging in/out, managing user data, and other API features for auth are handled by authentication providers. The setup and usage may vary per provider. There are multiple providers available with Ionic Auth:
- E-mail/password
- Custom
- GitHub
We will be integrating e-mail/password provider in our vPlanet application. We will also be integrating Facebook login in Chapter 6, TasteBite App with Firebase, where we will be building our tastebit application with Firebase. e-mail/password authentication is really easy to configure inside our application. We will start with integrating a login method inside our LoginPage, where first we will import Auth from the @ionic/cloud-angular package:
// src/pages/login/login.ts
import { Auth...