DEV Community

Discussion on: How to store jwt token in cookies of browser when user loggedIn?

Collapse
 
brookesb91 profile image
Brookes

You should use something like JWT for client authorisation. You would have a strategy in place that stores the token in local storage and is retrieved and sent in the header of each request.

Collapse
 
pyyding profile image
Kaspar Püüding

Storing a token in local storage is a security risk. rdegges.com/2018/please-stop-using...