Scott continues talking about the solution to exercise 12. He demonstrates the working user interface and uses the Chrome Developer Tools to show the authorization tokens in action.
(soothing music)…- So this would be working, right, so if you go.…And then it starts.…Boom, boom, boom.…That's still running.…We should be able to come in here and…have that right.…So if I go to "admin",…it will go to admin.…But this'll show you that this is working.…If I open up this, the console,…I go to resources, I get rid of the JSON web token.…
Angular is saving this, by the way,…if you're wondering how that got there.…And then I refresh,…and if I click on admin,…they're like, "No, no, you got to go sign in".…I don't have an account, so I'm going to sign up,…this is the thing that we just made,…so let's test that out, let's sign up for an account.…Cool, that worked, brought us to admin.…Now if you go look back at the resources, you'll see…that the JSON web token is there now.…It's this thing right here, that's the JSON web token.…
You see that?…And then what I want to show you is like…what is happening on every single request.…The memory's set,…the JSON web token must be sent on every single request,…and it must be on the authorization header.…
This course was created by Frontend Masters. It was originally released on 12/30/2015. We're pleased to host this training in our library.
- Executing Node.js
- Using Express
- What is middleware?
- Testing in Node.js
- Using Mongo with Node.js
- Data modeling
- Querying data with Mongoose
- Identifying sensitive routes
- Configuring the deployment
Skill Level Intermediate
Building a Slack Bot with Node.js Microserviceswith Daniel Khan2h 9m Intermediate
Building APIs Using Hapi in Node.jswith Kirsten Hunter2h 23m Intermediate
2. REST APIs
5. Organization and Configuration
7. Data Modeling
10. Securing Routes
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.