79459824

Date: 2025-02-22 15:24:22
Score: 1.5
Natty:
Report link

Storing JWTs and other critical details in local storage is not a good practice. This has assocaited security risk.

For persisting the login details to re-examine the user logged in details can be handle by storing some sort of flat eg: isLoggedIn. The JWT token has to be in cookie, and mark that httpOnly.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Manish Kumar