From the course: React: Securing Applications
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Update index for Auth0 integration - React.js Tutorial
From the course: React: Securing Applications
Update index for Auth0 integration
- [Instructor ] So now we're going to work on the index dot JS file. And what we're going to do is run the application and as we start working on the index, we're going to see a bunch of errors show up and we're going to fix them as we actually work on the files. So let's go ahead and do an npm-start. You want to make sure you're on the client. So if you're not, you can do a right click on the client here and Open in Terminal. So once you have the application running, you see that right away we have in there. So this is from the dangerously set inner HTML error. So let's go ahead and fix that right away. So the first thing we're going to do is go inside of D app right in the components right here, app dot JS and let's just remove this function that breaks our application and then go all the way down here to remove that component. And then let's save it. And then let's go back and our application is working again.…
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
-
-
-
-
-
(Locked)
Initial setup of your server6m 59s
-
(Locked)
Create your API endpoints4m 5s
-
(Locked)
Initial Auth0 setup2m 38s
-
(Locked)
Adding the files and code from Auth03m 44s
-
(Locked)
Update index for Auth0 integration4m 2s
-
(Locked)
Add connections to server5m 46s
-
(Locked)
Finalize menu with login5m 54s
-
(Locked)
-
-