First time learning about JWTs...
I have a NodeJS/Express/Angular 2 application integrated with Auth0 Facebook login.
I'm currently storing the user profile details in localStorage and am aware that this can be edited through the dev console.
I want users to be able to make a certain post regardless of whether they've logged in or not (and associate their user account with the resulting entity in the database when they have logged in). However, I would like to verify that they haven't altered the localStorage object in any way, perhaps in an attempt to impersonate another user etc.
Is one route capable of handling this or should I split it out into two separate routes for authenticated users/guests and exclude the guest one from JWT checks?
Any general advice around this topic appreciated too