How does authentication work with Firebase?

In the previous chapter, you learned how to use the Firebase API to create a Firebase application instance and use it through your application. We were able to access the database, read it, and store data in it.

The way you work with the Firebase authentication API is very similar. You create a Firebase instance, providing a config object to it, and you use the firebase.auth() method to access different methods related with the authentication. Check your Firebase console's Authentication tab:

How does authentication work with Firebase?

There are no users yet but we will fix it in a minute!

The Firebase SDK provides several ways for users to authenticate: ...

Get Vue.js 2 and Bootstrap 4 Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.