This thread talks about it in detail.
I recommend you read the article above but short answer is
JWTs are stored in localStorage, but according to this article (Randall Degges - Please Stop Using Local Storage ), this is subject to XSS attacks so instead they should be stored in cookies.
instead they should be stored in cookies.