Authentication & Security in TypeScript

Implement secure authentication systems with TypeScript. Type JWTs, model session shapes, build typed middleware guards, and enforce security invariants through JSDoc types. Follow the ideas in small steps: first understand the concept, then practice it in the browser, and finally connect it to a realistic coding problem. Each lesson builds on the previous one so the track becomes a skill you can explain and use, not just a list of terms.

180 interactive lessons across 6 units · 36+ hours · advanced level

What you will learn

Build practical skills in TypeScript, Authentication, Security, JWT, Types through browser-based coding exercises, guided feedback, unit quizzes, a debugging challenge, and a final project.

Course access

Unit 1, including its first 30 lessons and unit quiz, is free. The remaining 5 units require a CodeLearning365 Pro subscription.

View Pro access options

Authentication & Security in TypeScript curriculum

The curriculum progresses from foundations to applied practice and mastery. Representative topics from every unit are listed below.

Unit 1: Foundations

30 lessons covering topics such as Why Security Matters (TypeScript), Password Hashing (TypeScript), Salts and Constant-Time Comparison (TypeScript), JWT Structure (TypeScript), Signing and Verifying JWTs (TypeScript).

  • Why Security Matters (TypeScript)
  • Password Hashing (TypeScript)
  • Salts and Constant-Time Comparison (TypeScript)
  • JWT Structure (TypeScript)
  • Signing and Verifying JWTs (TypeScript)

Unit 2: Core Concepts

30 lessons covering topics such as Power Up 031: Typed Refresh Tokens (TypeScript), Power Up 032: Typed OAuth 2.0 PKCE (TypeScript), Power Up 033: Typed Session Management (TypeScript), Power Up 034: Typed CSRF Protection (TypeScript), Power Up 035: Typed Secrets and Environment Variables (TypeScript).

  • Power Up 031: Typed Refresh Tokens (TypeScript)
  • Power Up 032: Typed OAuth 2.0 PKCE (TypeScript)
  • Power Up 033: Typed Session Management (TypeScript)
  • Power Up 034: Typed CSRF Protection (TypeScript)
  • Power Up 035: Typed Secrets and Environment Variables (TypeScript)

Unit 3: Building Skills

30 lessons covering topics such as Power Up 061: Why Security Matters (TypeScript), Power Up 062: Password Hashing (TypeScript), Power Up 063: Salts and Constant-Time Comparison (TypeScript), Power Up 064: JWT Structure (TypeScript), Power Up 065: Signing and Verifying JWTs (TypeScript).

  • Power Up 061: Why Security Matters (TypeScript)
  • Power Up 062: Password Hashing (TypeScript)
  • Power Up 063: Salts and Constant-Time Comparison (TypeScript)
  • Power Up 064: JWT Structure (TypeScript)
  • Power Up 065: Signing and Verifying JWTs (TypeScript)

Unit 4: Applied Practice

30 lessons covering topics such as Power Up 091: Typed Refresh Tokens (TypeScript), Power Up 092: Typed OAuth 2.0 PKCE (TypeScript), Power Up 093: Typed Session Management (TypeScript), Power Up 094: Typed CSRF Protection (TypeScript), Power Up 095: Typed Secrets and Environment Variables (TypeScript).

  • Power Up 091: Typed Refresh Tokens (TypeScript)
  • Power Up 092: Typed OAuth 2.0 PKCE (TypeScript)
  • Power Up 093: Typed Session Management (TypeScript)
  • Power Up 094: Typed CSRF Protection (TypeScript)
  • Power Up 095: Typed Secrets and Environment Variables (TypeScript)

Unit 5: Projects

30 lessons covering topics such as Power Up 121: Why Security Matters (TypeScript), Power Up 122: Password Hashing (TypeScript), Power Up 123: Salts and Constant-Time Comparison (TypeScript), Power Up 124: JWT Structure (TypeScript), Power Up 125: Signing and Verifying JWTs (TypeScript).

  • Power Up 121: Why Security Matters (TypeScript)
  • Power Up 122: Password Hashing (TypeScript)
  • Power Up 123: Salts and Constant-Time Comparison (TypeScript)
  • Power Up 124: JWT Structure (TypeScript)
  • Power Up 125: Signing and Verifying JWTs (TypeScript)

Unit 6: Mastery

30 lessons covering topics such as Power Up 151: Typed Refresh Tokens (TypeScript), Power Up 152: Typed OAuth 2.0 PKCE (TypeScript), Power Up 153: Typed Session Management (TypeScript), Power Up 154: Typed CSRF Protection (TypeScript), Power Up 155: Typed Secrets and Environment Variables (TypeScript).

  • Power Up 151: Typed Refresh Tokens (TypeScript)
  • Power Up 152: Typed OAuth 2.0 PKCE (TypeScript)
  • Power Up 153: Typed Session Management (TypeScript)
  • Power Up 154: Typed CSRF Protection (TypeScript)
  • Power Up 155: Typed Secrets and Environment Variables (TypeScript)

Compare all coding tracks