JWT Token存储在Cookie还是LocalStorage
JWT 是将web 应用无状态化的一种方式。1. 首先拿到JWT TokenHTTP/1.1POST /tokenHost: galaxies.comContent-Type: application/x-www-form-urlencodedusername=abc&password=password服务器返回HTTP/1.1 200 OK { "access_token": "eyJhbGciOiJIUzI1NiIsI.eyJpc3MiOiJodHRwczotcGxlL.m...