Where is the user data stored after decoding it from the token? I'm using react , and the Jwt token is stored in local-storage .
CodePudding user response:
the data is stored in state and not in localstorage due to security issues.
Where is the user data stored after decoding it from the token? I'm using react , and the Jwt token is stored in local-storage .
CodePudding user response:
the data is stored in state and not in localstorage due to security issues.