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 - Google Cloud Tutorial
From the course: Firebase Essential Training
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,…
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 are Cloud Functions?2m
-
(Locked)
Add Cloud Functions to a project4m 45s
-
(Locked)
Write Cloud Functions in ES6+ syntax10m 33s
-
(Locked)
Build an email verification flow3m 9s
-
(Locked)
Modify Firestore security rules1m 8s
-
(Locked)
Create temporary users10m 57s
-
(Locked)
Verify temporary users2m 44s
-
(Locked)
Send emails with nodemailer7m 33s
-
(Locked)
Send emails from Cloud Functions58s
-
(Locked)
Verify users with Cloud Functions6m 11s
-
(Locked)
Demonstrate the verification flow3m 20s
-
(Locked)
Cloud Functions pricing1m 41s
-
-
-
-
-
-