July 2018
Beginner
100 pages
2h 7m
English
In this exercise, we're going to secure all the /todo/* routes that we created so that no unauthenticated user can access them. In the Exercise 21: Implementing Authorization, we will differentiate between an unauthenticated and an unauthorized user:
npm install hapi-auth-jwt --save
const hapiAuthJwt = require('hapi-auth-jwt');
Read now
Unlock full access