auth0 / express-jwt

connect/express middleware that validates a JsonWebToken (JWT) and set the req.user with the attributes
MIT License
4.49k stars 444 forks source link

update GetVerificationKey type to match node-jwks-rsa #305

Closed kylerm42 closed 1 year ago

kylerm42 commented 2 years ago

Description

A PR was recently merged to auth0/node-jwks-rsa that changed the type of GetVerificationKey, which breaks the interaction with express-jwt. This PR updates the type here to match the change there.

References

Testing

None, does this need a test?

Checklist

manast commented 2 years ago

Whats holding this PR to be merged?

jfromaniello commented 1 year ago

Thank you, published in v8.1.0.

Note v8 is a major because of a major upgrade in jsonwebtoken, but it should not affect applications on most cases.

jfromaniello commented 1 year ago

And sorry about the delay 🙏