How to Authorize User Roles and Permissions - Node.js & Express Authorization Tutorial

How to Authorize User Roles and Permissions - Node.js & Express Authorization Tutorial

Dave Gray via YouTube Direct link

Intro

1 of 13

1 of 13

Intro

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

How to Authorize User Roles and Permissions - Node.js & Express Authorization Tutorial

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Welcome
  3. 3 Authentication vs Authorization
  4. 4 Configure the User Roles
  5. 5 Add roles to the user data model
  6. 6 Add a user role at registration
  7. 7 Add user roles to access token at authentication
  8. 8 Add user roles to access token when refreshed
  9. 9 Update the verifyJWT middleware to include roles
  10. 10 Create the verifyRoles middleware
  11. 11 Add the verifyRoles middleware to routes
  12. 12 Test routes with Thunder Client
  13. 13 A quick note on Thunder Client

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.