8. Firebase Authentication

Опубликовано: 01 Декабрь 2024
на канале: Dedicated Managers
1,040
7

I start by saying I'm going to show how the database and the data gets loaded (but I will switch to talking about Firebase's Authentication)

I show how Firebase is imported, configured and initialized in the project within the development environment

Then I show the authentication piece. And walk through the calls that are made to communicate with the Firebase Authentication service.

I show the Firebase Authentication asynchronous call to log in using the signInWithPasswordAndEmail method.

I don't describe that what's REALLY awesome about this tool is that the programmer doesn't have to handle any of the session tracking to keep the user logged in. It's all done by the Firebase module!

I show how a user is created in the Firebase management screen. And show that the user is instantly a part of my application by logging in with that user's credentials.

Finally I briefly show how the Vue Router component can show or block pages based on whether or not the user is logged in.

This video is part of a playlist:
   • Real Time Database with Vue.js + Vuex...  

It is also part of a blog post on DedicatedManagers.com:
http://www.dedicatedmanagers.com/real...

The source code for this project is available publicly on the Dedicated Managers Github account:
https://github.com/DedicatedManagers/...