JSFoo 2019

Annual conference of 800+ front-end, backend and fullstack engineers

Tickets Propose a session

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

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

Preview video

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


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) Reviewer 3 months 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 with Twitter or Google to leave a comment