Spot on. Even better if they used a better serialization protocol than stupid JSON.
Re:JWT vs. Opaque Tokens
by fireflash38 on Thursday September 29, 2022 @01:28PM
(#33024191)
JSON really is the worst serialization, except for all the others.
Re:JWT vs. Opaque Tokens
by Sohcahtoa82 on Thursday September 29, 2022 @03:13PM
(#33025630)
What's wrong with JSON?
It requires a complex scanner with a stack to track nested data structures.
Not good for security nor speed in the use-case of a auth token!
With that they are a better choice than most homebrew/framework-specific solutions.
There are some other established (/"standardized") solutions, which might fit your use-case better though, but most of them lag behind JWT in implementations/dev familiarity.