Free course
Web Authentication Course
Secure a web API with password authentication, server-side sessions, authorization, CSRF defenses, OAuth and OIDC, passkeys, recovery, MFA, and operational controls.
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it. Join my free newsletter and you get this course plus every other book and course I published.
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it.
Your progress
of lessons completed.
Course completed.
What you'll learn
Design, implement, test, and operate a vendor-neutral authentication system that protects each user’s Books API resources and supports modern login and recovery paths.
Course contents
Authentication foundations
Separate identity and authorization, threat-model the system, and create secure sessions.
Password authentication
Design signup, hash passwords safely, implement login, and resist automated attacks.
Sessions and authorization
Authenticate requests, enforce ownership, prevent CSRF, and manage session trust.
Federated login and passkeys
Use OIDC, authorization code with PKCE, safe account linking, and WebAuthn.
Recovery and operations
Verify email, reset passwords, design MFA recovery, monitor, test, and respond.