paint-brush
Are you using JWTs for user sessions in the correct way?by@supertokens.io
406 reads
406 reads

Are you using JWTs for user sessions in the correct way?

by SuperTokens12mMay 13th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

JWTs were originally designed for use in OAuth - which is fundamentally different to user sessions. SuperTokens are the most secure and easy to implement solution for user session management. I will attempt to make a comprehensive list of the pros and cons of using JWT for this context. I do not intend to solve this debate, since devs (especially devs) are often strongly opinionated. However, I do offer my opinion on the best solution for session management (spoiler: it has the advantages of JWT without any of its disadvantages!)

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - Are you using JWTs for user sessions in the correct way?
SuperTokens HackerNoon profile picture
SuperTokens

SuperTokens

@supertokens.io

The most secure and easy to implement solution for user session management

L O A D I N G
. . . comments & more!

About Author

SuperTokens HackerNoon profile picture
SuperTokens@supertokens.io
The most secure and easy to implement solution for user session management

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
Learnrepo