Passkey Authentication with Express.js and Docker – Web Authentication API Tutorial
via freeCodeCamp
Learn Python with Generative AI - Self Paced Online
Finance Certifications Goldman Sachs & Amazon Teams Trust
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Build a passkey authentication system using the Web Authentication API in this comprehensive tutorial. Develop an Express.js application connected to a Postgres database through Sequelize, all running in a Docker container. Learn about prerequisites, setting up the development environment, configuring Sequelize and Postgres, creating routes and controllers, designing frontend views, and implementing public key credentials. Explore Passport.js configuration, session management, and gain an overview of passkeys. Master the two-phase process of attestation/registration and assertion/login, and implement a logout feature. Conclude with a recap of the entire passkey authentication implementation process.
Syllabus
⌨️ Introduction
⌨️ Prerequisites
⌨️ Expected end result
⌨️ Getting started
⌨️ Configure Sequelize
⌨️ Set up Postgres
⌨️ Routes and controllers
⌨️ Frontend views
⌨️ Public key credentials
⌨️ Configure Passport.js
⌨️ Sessions
⌨️ Passkeys overview
⌨️ Phase 1: attestation/registration
⌨️ Logout
⌨️ Phase 2: assertion/login
⌨️ Recap
Taught by
freeCodeCamp.org