How To Debug JSON Web Tokens (JWTs)by@lornajane
2,346 reads

How To Debug JSON Web Tokens (JWTs)

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

Many modern web applications use JWTs (JWTs) for authentication. When things don't work, it can be tricky to work out why. This post aims to give you some tactics for understanding and correcting problems with JWT. It should be three sets of garbled-looking alphanumeric strings (technically, upper and lower case characters, numeric digits, `+` and `/` are permitted, with `=` used for padding), separated by dots. Sometimes the problem we think is the token is actually something completely different!

Company Mentioned

Mention Thumbnail
featured image - How To Debug JSON Web Tokens (JWTs)
Lorna Mitchell HackerNoon profile picture

@lornajane

Lorna Mitchell

Polyglot programmer, open source enthusiast and published author. Based in Huddersfield, UK. She/her

react to story with heart
Lorna Mitchell HackerNoon profile picture
by Lorna Mitchell @lornajane.Polyglot programmer, open source enthusiast and published author. Based in Huddersfield, UK. She/her
Read my stories

RELATED STORIES

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