amrav / restify-jwt

restify middleware that validates a JsonWebToken (JWT) and sets the req.user with the attributes
Other
83 stars 31 forks source link

jwt generation #8

Closed drasko closed 8 years ago

drasko commented 8 years ago

Can this module be used to sign (generate) jwt, or it is used for verification only (and we must install some other module like jsonwebtoken to generate jwts)?

amrav commented 8 years ago

@drasko This module only decodes a jwt. You do need to use a different module to generate jwts.