Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Node: Authentication

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to let the right people in (and keep the wrong people out) with server-side Node.js code.

Syllabus

Introduction
  • Real sites need authentication
  • What you should know
  • Loading the exercise files from GitHub
1. Getting Started
  • Prepare your development environment
  • Set up MongoDB
  • Set up and understand the playground sample application
2. Registering New Users Handling Passwords
  • Registering new users
  • Why plaintext passwords are bad
  • Hashing and validating passwords with bcrypt
  • Implementing login and logout
  • Deserializing the logged in user from the database
  • Offer remember me
  • Require user verification
  • Resetting passwords
  • Implementing the password reset flow
3. Using Passport.js
  • Using Passport.js for authentication
  • Implementing local authentication with Passport.js
  • Securing routes
  • Set up and understand the ToDo list sample application
  • Authenticating API calls
  • Creating and sending JWT tokens
  • Implementing JWT authentication with passport
  • Ensuring object level authorization
4. Single Sign-On (SSO)
  • Authentication, authorization, and single sign-on (SSO)
  • The GitHub OAuth2 authorization (and authentication) flow
  • Prepare Passport.js for GitHub OAuth2
  • Extend the application for single sign-on
  • Finalize and test the single sign-on flow
Conclusion
  • Next steps

Taught by

Daniel Khan

Reviews

4.3 rating at LinkedIn Learning based on 59 ratings

Start your review of Node: Authentication

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.