DEV Community

Discussion on: Be careful of the JWT hype train

Collapse
 
da_lion_619 profile image
LioneL Chetty

Assuming you need the JWT for user properties because of your decoupled stateless architecture, just have another property on the JWT that holds a key.

Assuming you have a layer in your architecture that all your microservices use for config etc. Redis for example.
The value for that key in Redis could be the token.