Secure Authentication for Web Apps & APIs Using JWTs

Secure Authentication for Web Apps & APIs Using JWTs

Ryan Chenkie
Auth0
3 hours, 22 minutes

Become a Master

This course and others like it are available as part of our Frontend Masters video subscription.

Watch Free Preview Join Frontend Masters
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.
Published: March 23, 2017

Table of Contents

JSON Web Tokens

JSON Web Tokens & Single Page Applications

Client Side Sessions

User Information in the Payload

Protecting Resources

Protecting Routes