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.

Verify temporary users

Verify temporary users - Google Cloud Tutorial

From the course: Firebase Essential Training

Start my 1-month free trial

Verify temporary users

- [Instructor] And now that we've created our function, we need to put some corresponding code into our client to actually send the request that will make this function that we've created, our create account function, that'll make this function execute. So here's what that'll look like. Let's open up our create account page component, and then if we scroll down to the function body, inside this on-click create function, we see that we have a little bit of logic already here. Basically that's just for clearing out any error messages that are currently being displayed on our create account page, such as if the user forgot to enter their first name or last name, or if their passwords don't match. And the code that we actually want to write is going to go down here. Basically what we're going to do is use the fetch library to send an HTTP request to the function we just created. So what we can do is say const, new user info,…

Contents