All projects

Multifactor

Completed

Multi-factor authentication in TypeScript.

2023TypeScriptAuth / MFA

Overview

A multi-factor authentication implementation in TypeScript, adding a strong second layer to user sign-in. An applied study project from the period when I started pulling application security to the centre of my work — the same thread that later became my Cybersecurity specialization.

Why it exists

A password on its own is a single factor, and it's the factor that leaks. This project was my exercise in implementing the second factor end to end — secret generation, code verification with a time window, and the sign-in flow — rather than wiring up a library and trusting it.

Stack

  • TypeScript
  • Node.js
  • TOTP