Death to cookies: Long live JSON Web Tokens

Learn how to add authentication to a Vanilla JS SPA very easily using JSON Web Tokens!

Martín Gontovnikas

Doer

Cascadia Fest

July 8th, 2015
Semiahmoo, Washington

Introduction

Cookies have been around for decades and have served us well. Nobody questions their usefulness. However, modern apps demand a better approach. This session is all about the natural successor to cookies: using a token-based design. Tokens help build apps that are assembled on multiple stacks, that use your own and 3rd party APIs, that run on-premises and the cloud. They help easily “flow” user identity across all layers and security contexts, regardless of how they authenticated. And they help you deal with CORS and XSRF. Join a code session in which we’ll implement a token-based app using AngularJs and an API.

Use Auth0 for free