From the course: Firebase Essential Training

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Create a sign-in wrapper function

Create a sign-in wrapper function - Google Cloud Tutorial

From the course: Firebase Essential Training

Start my 1-month free trial

Create a sign-in wrapper function

- [Instructor] Now that we know a little bit more about vendor lock-in and some of the steps we're going to be taking to avoid it. Let's create wrappers for the firebase auth functions that we need for application. We're going to do this for all the functions we talked about. Except the create user with email and password function. We actually won't be calling this function directly from our front end application. We'll be using it inside a cloud function later on in this course. So with the exception of the create user with email and password function, we're going to go in the same order that we introduced these functions earlier. So let's start off the sign in with email and password function. What we're going to do is inside the auth directory here, in our project, we're going to create a new file and call it signin.js and just as a side note, I generally like to separate my thinking in code by having a separate file…

Contents