From the course: Node: Authentication
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Set up and understand the ToDo list sample application
From the course: Node: Authentication
Set up and understand the ToDo list sample application
- [Instructor] For the rest of this chapter, we will take a look at how to secure single-page applications, as they are very common these days and have specific requirements when it comes to authentication. The single-page application we will be working with is a todolist implemented with Vue.js This application is fully implemented, so there is no need to understand Vue.js. All you need to know is that it utilizes an API provided by the Playground app. Also, please keep in mind that this single-page application supports multitenancy. This means that a registered user can maintain their individual todolist, in contrast to all users getting just access to a shared list. Let's look at the API routes on the Playground app the todolist app relies on. So first we have the login route. So it's a POST request to api/login and their essential credentials too, and then I expect the API to log me in in some way, and there…
Contents
-
-
-
-
-
Using Passport.js for authentication1m 55s
-
(Locked)
Implementing local authentication with Passport.js16m 18s
-
(Locked)
Securing routes4m 24s
-
(Locked)
Set up and understand the ToDo list sample application6m 9s
-
(Locked)
Authenticating API calls8m 5s
-
(Locked)
Creating and sending JWT tokens8m 3s
-
(Locked)
Implementing JWT authentication with passport15m 29s
-
(Locked)
Ensuring object level authorization4m 25s
-
-
-