I've read here and there that saving a jwt token in local/session storage might not be the best solution from the security point of view.
But what if I save an encrypted version of the jwt token into session storage and the decrypt it every time I need it in the application? Would that make a difference?
I would use for example something similar to the accepted answer to this question: JavaScript string encryption and decryption?