DEV Community

Discussion on: Secure JSON Web Token with Unique Browser IDs

Collapse
 
crimsonmed profile image
Médéric Burlet

I would have added or used a user agent middleware on the server side. Compiling user agent information in the JWT and then checking through the middle ware. and if the user agent + headers arent the same then dont process the request.