Secure Authentication for Web Apps & APIs Using JWTs
Course on Master.dev by Ryan Chenkie, Lukas Ruebbelke
- 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
- 01
JSON Web Tokens
- Getting Started
- Application & API Demonstration
- Challenge: Run the Finished Application
- JSON Web Token Basics
- Challenge: Inspecting a JWT
- 02
JSON Web Tokens & Single Page Applications
- Traditional Authentication
- JWT Authentication
- Securing the Payload
- Implementing Authentication with JWT
- Challenge: Creating the Login & Signup
- Creating the Login & Signup Solution
- 03
Client Side Sessions
- Server-Side vs. Client-Side Sessions
- Q&A: JWT’s and Security
- Challenge: Expire Time
- Expire Time Solution
- 04
User Information in the Payload
- Decoding a JWT
- Payload Best Practices
- Challenge: Reading the Payload
- Reading the Payload Solution
- 05
Protecting Resources
- How JWT’s Protect Resources
- Exploring JWT Middleware
- Making Authenticated Requests
- Challenge: Protecting Resources
- Protecting Resources Challenge Solution
- 06
Protecting Routes
- Client-Side Considerations
- How Client-Side Routes are Protected
- Challenge: Protecting Routes
- Protecting Routes Solution
- Further Reading & Wrap-Up
Similar web security courses
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.