Passkey Authentication with Express.js and Docker – Web Authentication API Tutorial
By freeCodeCamp.org
Published: Jan 24, 2024
Learn about the Web Authentication API by building an app that implements passkey authentication. At the end of the tutorial, we will have a little Express.js app connected to a Postgres database, through Sequelize, in Docker container.???? Text tutorial: https://divrhino.com/articles/passkeys-express
???? Code: https://github.com/divrhino/divrhino-passkeys-express?? Course developed by @DivRhino
?? Chapters ??
?? (00:21) Introduction
?? (00:37) Prerequisites
?? (01:10) Expected end result
?? (01:25) Getting started
?? (05:18) Configure Sequelize
?? (06:54) Set up Postgres
?? (10:40) Routes and controllers
?? (12:16) Frontend views
?? (16:58) Public key credentials
?? (18:27) Configure Passport.js
?? (25:38) Sessions
?? (28:03) Passkeys overview
?? (29:11) Phase 1: attestation/registration
?? (39:11) Logout
?? (39:56) Phase 2: assertion/login
?? (46:46) Recap???? Thanks to our Champion and Sponsor supporters:
???? davthecoder
???? jedi-or-sith
???? ????
???? Agustín Kussrow
???? Nattira Maneerat
???? Heather Wcislo
???? Serhiy Kalinets
???? Justin Hual
???? Otis Morgan
???? Oscar Rahnama—
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news