From the course: Firebase Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Avoid vendor lock-in - Google Cloud Tutorial
From the course: Firebase Essential Training
Avoid vendor lock-in
- [Instructor] We've seen what the main Firebase auth functions are that we'll be using in our application, so now it's time to look at how to actually add them to our application. Now, if you're like most people, your first instinct might be to just import Muse's functions directly where they're needed. So in our sign-in form component, for example, we might just say import Firebase from Firebase app and then simply call Firebase.auth.sign in with with email and password. And this is definitely something that you're perfectly allowed to do, however, I strongly recommend that you don't do things this way, and here's why. When we use a library like Firebase the inevitable result is that the library will become deeply entangled with our application. And this means that if we ever wanted to switch to a different library, it would be so much work to replace the old library that we would become stuck with it. Now, with…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
What is Firebase Auth?2m 41s
-
(Locked)
Set up the sign-in methods2m 58s
-
(Locked)
Important Firebase Auth functions4m 32s
-
(Locked)
Avoid vendor lock-in3m 24s
-
(Locked)
Create a sign-in wrapper function4m 57s
-
(Locked)
Create other auth wrapper functions4m 40s
-
(Locked)
Add private routes8m 49s
-
(Locked)
Sign in and sign out4m 48s
-
(Locked)
Authentication pricing1m 9s
-
-
-
-
-
-
-
-