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.
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.
Take this course offline
Subscribe to my newsletter to get every free book and course in PDF and EPUB format.
Get the downloadsCourse 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.