YoVDO

Node: Authentication

Offered By: LinkedIn Learning

Tags

Node.Js Courses MongoDB Courses JWT Courses Password Hashing Courses bcrypt Courses

Course Description

Overview

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

Related Courses

Introduction to Modern Web Development with ASP.NET Core
EDUCBA via Coursera
Building Microservices API in Go
Packt via Coursera
Full Stack Twitter Clone – API Development
Packt via Coursera
Minimal API Development with ASP.NET Core
Packt via Coursera
Auth0 Tips and Tricks
egghead.io