Practice / Software

Sessions vs JWTs for login

Medium · Whiteboard

Draw the login flow for a web app twice: once with server-side sessions and once with JWTs. Where is each token stored in the browser, how do you log someone out, and which would you pick for a typical web app?

Create a free account to answer it and get scored on what a strong answer covers.