DEV Community

Discussion on: Secure Your Node.js Application With JSON Web Token

Collapse
 
brokenthorn profile image
Paul-Sebastian Manole

Read some blogs but basically you need to issue JWT renewals based on previous payload or token and that way maintain a session if needed or at least maintain a chain of tokens but renewal requests need to be issued by the client before current token expires otherwise you can't have secure renewals.