amrav / restify-jwt

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

Made public key an explicit option #18

Open lukemcgregor opened 7 years ago

lukemcgregor commented 7 years ago

It's misleading to put public key into options.secret.

Existing code doing this will continue to function as expected.