JSFoo 2019

On component architecture, front-end engineering and Developer Experience (DX)

Knock knock, who's there? Authenticating your single page apps using JSON Web Tokens.

Submitted by Sam Bellen (@sambego) on May 2, 2019

Section: Full talk (40 mins) Technical level: Beginner Session type: Lecture Status: Under evaluation


When it comes to writing code, there’s nothing we take more serious than authentication and security. Modern single page applications bring along new challenges. By using solutions like the OpenID Connect protocol and JSON Web Tokens we can improve the user experience when authenticating with your apps, providing a seamless authentication process.


In this talk I will try to explain in depth, the way JSON Web Tokens work and can be used to secure your single page apps. I will explain the difference between using opaque tokens and JWTs. The talks will also give an overview of a modern authentication flow and a step by step breakdown of how it works exactly. No specific previous knowledge is required, but it helps the audience has some experience with authenticating users.

Speaker bio

I’m Google Developer Expert who works as a Developer Evangelist at Auth0. At Auth0 we’re trying to make authentication and identification as easy as possible, while still keeping it secure.

After office hours I like to play around with the web-audio API, and other “exotic” browser API’s. One of my side projects is a library to add audio effects to an audio input using JavaScript.

When I’m not behind a computer, you can me find playing the guitar, having a beer at a concert, or trying to snap the next perfect picture.



Preview video



  • Abhishek Balaji (@booleanbalaji) a year ago

    Hi Sam,

    Thank you for your proposal. We’ve already had a talk from Sid of the Auth0 team last year on JWTs. What does this proposal cover/improve over the previous talk? (https://www.youtube.com/watch?v=rCkDE2me_qk)

    Do clarify the above before 28 May, after which we’d be evaluating this proposal.

Login to leave a comment