w14 Auth

Local Auth

Agenda

2022-04-21T15:30:00-05:00

  1. Roll-your-own Auth
  2. Implementing Auth with MongoDB, Express, and Node using Passport.js

Passport

Passport.js

Node.js and Express Authentication Using Passport - Dan Arias

hey(node)

This site required that you sign up for an account, but it IMMENSELY useful and the following links will the the basis for the demos this week.

What Is the Difference Between Authorization and Authentication? (Part 1) - hey(node)

What Are Form Validation and Sanitization? (Part 2

Process a User Login Form with ExpressJS (Part 3

How to Validate and Sanitize an ExpressJS Form (Part 4

What Is the Difference Between Sessions and JSON Web Tokens (JWT) Authentication? (Part 5

Set Up ExpressJS Session Authentication for Node Applications (Part 6

Authenticate Users With Node ExpressJS and Passport.js (Part 7) - hey(node)

Node / Express Authentication

Handling Authentication in Express.js - Janith Kasun

ExpressJS - Authentication - TutorialsPoint

express-basic-auth - NPM

Notes

Third-party Auth

2022-04-19T15:30:00-05:00

Agenda

  1. Third-party Auth
  2. OAuth
  3. Social login
  4. Passport.js

Passport

Oauth

passport-oauth2

OAuth

Implementing OAuth 2.0 with Node.js - Soham Kamani

Understanding and Implementing OAuth2 in Node.js - Diogo Souza

Implementing an OAuth Server with Node.js and Express - Valeri Karpov

Express JS OAuth 2 server using oauth2-server package - Nick B. Alcala