Skip to content
JS

Secure Authentication for Web Apps & APIs Using JWTs

Course on Master.dev by Ryan Chenkie, Lukas Ruebbelke

View on Master.dev (opens in a new tab)
3 h 22 min
LengthVideo runtime
Subscription
Price modelMaster.dev plan
29
Lessons
Mar 2017
Published23 Mar 2017

About this course

Description from Master.dev

Non-trivial web applications require some form of user authentication. When it comes to implementing authentication in modern single page apps, things can get a bit tricky, and the traditional methods of session and cookie-based auth tend to get in the way. The JSON Web Token spec offers a much better way of handling authentication in a SPA and comes with many benefits.

What it covers

29 lessons
  1. 01

    JSON Web Tokens

    1. Getting Started
    2. Application & API Demonstration
    3. Challenge: Run the Finished Application
    4. JSON Web Token Basics
    5. Challenge: Inspecting a JWT
  2. 02

    JSON Web Tokens & Single Page Applications

    1. Traditional Authentication
    2. JWT Authentication
    3. Securing the Payload
    4. Implementing Authentication with JWT
    5. Challenge: Creating the Login & Signup
    6. Creating the Login & Signup Solution
  3. 03

    Client Side Sessions

    1. Server-Side vs. Client-Side Sessions
    2. Q&A: JWT’s and Security
    3. Challenge: Expire Time
    4. Expire Time Solution
  4. 04

    User Information in the Payload

    1. Decoding a JWT
    2. Payload Best Practices
    3. Challenge: Reading the Payload
    4. Reading the Payload Solution
  5. 05

    Protecting Resources

    1. How JWT’s Protect Resources
    2. Exploring JWT Middleware
    3. Making Authenticated Requests
    4. Challenge: Protecting Resources
    5. Protecting Resources Challenge Solution
  6. 06

    Protecting Routes

    1. Client-Side Considerations
    2. How Client-Side Routes are Protected
    3. Challenge: Protecting Routes
    4. Protecting Routes Solution
    5. Further Reading & Wrap-Up

Similar web security courses

  1. Secure Coding: SSDLC, OWASP & SonarQube Essentials

    Coursera · Shikhar Verma, Starweaver · Aug 2025

    Intermediate3 h 40 min
    CourseraAug 2025
  2. Web Security, v2

    Master.dev · Steve Kinney · 34 lessons · Aug 2024

    4 h 29 minSubscription
    Master.dev34Aug 2024
  3. Intermediate5 hSubscription
    Educative28Jun 2026
  4. Web Authentication APIs

    Master.dev · Maximiliano Firtman · 31 lessons · Feb 2023

    5 h 5 minSubscription
    Master.dev31Feb 2023
  5. Intermediate1 h 30 min
    CourseraApr 2020
  6. Beginner1 h 10 minSubscription
    Educative18Apr 2026
  7. Intermediate1 h
    Codecademy3Feb 2023
  8. Web Security Essentials: MITM, CSRF, and XSS

    egghead · Mike Sherov · 17 lessons · 4.8 from 17 ratings · Feb 2020

    51 minSubscription
    egghead174.8 (17)Feb 2020

A hyphen means the provider's catalogue does not state the value.

Same topic, nearest in length, up to three from any one provider.

Data read from the Master.dev catalogue on 28 Nov 2026. How the data is collected.

    Compare