Where to store a JWT token properly and safely in a web based application?
问题 I've heard about browser storage and cookies but can't figure what is the best secure way to store a token. Also don't know if other methods exists, or if any third-part libraries does the work correctly. I'd like to have an exhaustive list of available methods to do so, with advantages/inconvenients of each and the best way above all, if any. 回答1: Where to Store Your JWTs With token-based authentication, you are given the choice of where to store the JWT. We strongly recommend that you store